|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.repo.web.scripts.archive.NodeTypeFilter
public class NodeTypeFilter
This class is used to filter nodes based on node type.
Constructor Summary | |
---|---|
NodeTypeFilter()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NodeTypeFilter()
Method Detail |
---|
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)
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
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |