public class NodeTypeFilter extends java.lang.Object implements ArchivedNodesFilter
| Constructor and Description |
|---|
NodeTypeFilter() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(org.alfresco.service.cmr.repository.NodeRef nodeRef)
This method checks whether or not the specified
NodeRef should be included,
as defined by the concrete filter implementation. |
void |
setExcludedTypes(java.util.List excludedTypesStg)
Sets the List of node types to exclude.
|
void |
setNamespaceService(org.alfresco.service.namespace.NamespaceService namespaceService)
This method sets the NamespaceService object.
|
void |
setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
This method sets the NodeService object.
|
public void setNamespaceService(org.alfresco.service.namespace.NamespaceService namespaceService)
namespaceService - the namespaceService.public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
nodeService - the node service.public void setExcludedTypes(java.util.List excludedTypesStg)
excludedTypesStg - a List of node types which are to be excluded.public boolean accept(org.alfresco.service.cmr.repository.NodeRef nodeRef)
ArchivedNodesFilterNodeRef should be included,
as defined by the concrete filter implementation.accept in interface ArchivedNodesFilternodeRef - the NodeRef to be checked for filtering.true if the NodeRef is acceptable, else false.Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.