REPO-1459: Make NodesImpl.isSpecialNode protected

- changed isSpecialNode method signature to protected and updated Java doc

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131893 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Cristian Turlica
2016-10-31 13:05:57 +00:00
parent 9fd17791ff
commit c70a9f960e

View File

@@ -2032,9 +2032,16 @@ public class NodesImpl implements Nodes
}
}
// special case: additional node validation (pending common lower-level service support)
// for blacklist of system nodes that should not be deleted or locked, eg. Company Home, Sites, Data Dictionary
private boolean isSpecialNode(NodeRef nodeRef, QName type)
/**
* Check for special case: additional node validation (pending common lower-level service support)
* for blacklist of system nodes that should not be deleted or locked, eg. Company Home, Sites, Data Dictionary
*
* @param nodeRef
* @param type
* @return
*/
protected boolean isSpecialNode(NodeRef nodeRef, QName type)
{
// Check for Company Home, Sites and Data Dictionary (note: must be tenant-aware)