Merged 5.2.N (5.2.1) to HEAD (5.2)

131893 cturlica: 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/HEAD/root@132315 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Alan Davis
2016-11-03 14:01:00 +00:00
parent 887d066424
commit 687ebdf223

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)