/*
* (C) Copyright 2006-2007 Nuxeo SA (http://nuxeo.com/) and others.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* Contributors:
* Nuxeo - initial API and implementation
*
* $Id: AbstractActionFilter.java 28491 2008-01-04 19:04:30Z sfermigier $
*/
package org.nuxeo.ecm.platform.actions;
/**
* @author <a href="mailto:bs@nuxeo.com">Bogdan Stefanescu</a>
* @deprecated since 5.6: not used expect in tests
*/
@Deprecated
public abstract class AbstractActionFilter implements ActionFilter {
private static final long serialVersionUID = 6863014001035976681L;
protected String id;
protected String[] actions;
protected AbstractActionFilter(String id, String[] actions) {
this.id = id;
this.actions = actions;
}
protected AbstractActionFilter() {
this(null, null);
}
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
@Override
public String toString() {
return id;
}
public AbstractActionFilter clone() {
throw new UnsupportedOperationException();
}
}