mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
REPO-1138 / REPO-983: Add support for the isLocked property
- can optionally "include" when getting node info, listing children, ... git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129711 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -73,6 +73,7 @@ public class Node implements Comparable<Node>
|
||||
protected Boolean isFolder;
|
||||
protected Boolean isFile;
|
||||
protected Boolean isLink;
|
||||
protected Boolean isLocked;
|
||||
|
||||
protected NodeRef parentNodeRef;
|
||||
protected PathInfo pathInfo;
|
||||
@@ -305,6 +306,16 @@ public class Node implements Comparable<Node>
|
||||
this.isLink = isLink;
|
||||
}
|
||||
|
||||
public Boolean getIsLocked()
|
||||
{
|
||||
return isLocked;
|
||||
}
|
||||
|
||||
public void setIsLocked(Boolean isLocked)
|
||||
{
|
||||
this.isLocked = isLocked;
|
||||
}
|
||||
|
||||
public List<String> getAllowableOperations()
|
||||
{
|
||||
return allowableOperations;
|
||||
|
Reference in New Issue
Block a user