public class NodeTypeFilter extends 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(List<String> 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(List<String> excludedTypesStg)
excludedTypesStg
- a List of node types which are to be excluded.public boolean accept(org.alfresco.service.cmr.repository.NodeRef nodeRef)
ArchivedNodesFilter
NodeRef
should be included,
as defined by the concrete filter implementation.accept
in interface ArchivedNodesFilter
nodeRef
- the NodeRef to be checked for filtering.true
if the NodeRef
is acceptable, else false
.Copyright © 2005–2017 Alfresco Software. All rights reserved.