org.gcube.portlets.user.homelibrary.home.workspace.events.filter
Class WorkspaceEventFilterByParentId
java.lang.Object
org.gcube.portlets.user.homelibrary.home.workspace.events.filter.WorkspaceEventFilterByParentId
- All Implemented Interfaces:
- WorkspaceEventFilterCriteria
public class WorkspaceEventFilterByParentId
- extends Object
- implements WorkspaceEventFilterCriteria
Filter the event by parent item id.
- Author:
- Federico De Faveri defaveri@isti.cnr.it
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
acceptedParentIds
protected List<String> acceptedParentIds
WorkspaceEventFilterByParentId
public WorkspaceEventFilterByParentId()
addParentId
public void addParentId(String parentId)
- Add a parent id.
- Parameters:
parentId - the parent id to add.
removeParentId
public void removeParentId(String parentId)
- Remove a parent id.
- Parameters:
parentId - the parent id to remove.
accept
public boolean accept(WorkspaceEvent event)
- Accept or reject a event.
- Specified by:
accept in interface WorkspaceEventFilterCriteria
- Parameters:
event - the event.
- Returns:
true if the event is accepted, false otherwise.
Copyright © 2013. All Rights Reserved.