|
Field Summary | ||
HIDDEN_PROPERTIES |
Constructor Summary | ||
HiddenAspect() |
Method Summary | ||
boolean |
checkHidden(FileInfo fileInfo, boolean both, boolean checkChildren) Checks whether the file should be hidden and applies the hidden and not indexed aspects if so. |
|
boolean |
checkHidden(NodeRef nodeRef, boolean both, boolean checkChildren) Checks whether the file should be hidden and applies the hidden and not indexed aspects to it and its children (if cascadeHidden == true). |
|
void |
checkHidden(StoreRef storeRef) Searches for nodes in the given store that should be hidden (i.e. |
|
org.alfresco.util.FileFilterMode.Client[] |
getClients() | |
int |
getClientVisibilityMask(org.alfresco.util.FileFilterMode.Client client, org.alfresco.repo.model.filefolder.HiddenAspect.Visibility visibility) getClientVisibilityMap |
|
List<org.alfresco.repo.model.filefolder.HiddenFileInfo> |
getPatterns() | |
org.alfresco.repo.model.filefolder.HiddenAspect.Visibility |
getVisibility(org.alfresco.util.FileFilterMode.Client client, NodeRef nodeRef) Gets the visibility constraint for the given client on the given node. |
|
boolean |
hasHiddenAspect(NodeRef nodeRef) | |
void |
hideNode(org.alfresco.repo.model.filefolder.FileInfoImpl fileInfo, int visibilityMask, boolean cascadeHiddenAspect, boolean cascadeIndexControlAspect, boolean clientControlled) Hides the node by applying the hidden and not indexed aspects. |
|
void |
hideNode(NodeRef nodeRef, boolean cascadeHiddenAspect, boolean cascadeIndexControlAspect, boolean clientControlled) Hides the node by applying the hidden and not indexed aspects. |
|
void |
hideNode(NodeRef nodeRef, int clientVisibilityMask, boolean cascadeHiddenAspect, boolean cascadeIndexControlAspect, boolean clientControlled) Hides the node by applying the hidden and not indexed aspects. |
|
void |
hideNodeExplicit(NodeRef nodeRef) Mark this node as hidden regardless of any name/pattern/matching rules. |
|
void |
init() | |
boolean |
isClientControlled(NodeRef nodeRef) | |
org.alfresco.repo.model.filefolder.HiddenFileInfo |
onHiddenPath(NodeRef nodeRef) Checks whether the node is on a hidden path |
|
void |
removeHidden(NodeRef nodeRef) | |
void |
removeHiddenAspect(NodeRef nodeRef) | |
void |
setBehaviourFilter(BehaviourFilter behaviourFilter) | |
void |
setFileFolderService(FileFolderService fileFolderService) | |
void |
setNodeService(NodeService nodeService) | |
void |
setPatterns(List<org.alfresco.repo.model.filefolder.HiddenFileFilter> filters) | |
void |
setPolicyComponent(PolicyComponent policyComponent) | |
void |
setSearchService(SearchService searchService) | |
void |
showNode(NodeRef nodeRef, boolean cascade) Removes the hidden and index contol aspect. |
|
void |
unhideExplicit(NodeRef nodeRef) Remove the explicit hiding of a node. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Can optionally remove the hidden and index control aspects if the name of a node no longer matches the filter.
|