|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.nuxeo.ecm.webapp.security.SecurityData
public class SecurityData
Holds the formatted security data, ready to be displayed. Holds the data on
each map on the following structure:
current doc grants:
user 1 - perm1, perm2
user 2 - perm1, perm2
user 3 - perm2
current doc denies:
...
parent doc grants:
...
parent doc denies:
...
Also has methods that allow manipulation of the contained data, such as add/remove security privileges. The end result after add/remove has been called will be converted to a backend security DTO and then submitted on backend.
Constructor Summary | |
---|---|
SecurityData()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SecurityData()
Method Detail |
---|
public void setNeedSave(boolean needSave)
public boolean getNeedSave()
public Map<String,List<String>> getCurrentDocDeny()
public void setCurrentDocDeny(Map<String,List<String>> deny)
public Map<String,List<String>> getCurrentDocGrant()
public void setCurrentDocGrant(Map<String,List<String>> grant)
public Map<String,List<String>> getParentDocsDenyLabels()
public Map<String,List<String>> getParentDocsDeny()
public void setParentDocsDeny(Map<String,List<String>> parentDocsDeny)
public Map<String,List<String>> getParentDocsGrant()
public Map<String,List<String>> getParentDocsGrantLabels()
public void setParentDocsGrant(Map<String,List<String>> parentDocsGrant)
public List<String> getCurrentDocumentUsers()
public List<String> getParentDocumentsUsers()
public void rebuildUserLists()
public void addModifiablePrivilege(String principalName, String permissionName, boolean grant)
public boolean removeModifiablePrivilege(String principalName, String permissionName, boolean grant)
public void removeModifiablePrivilege(String principalName)
public void addUnModifiablePrivilege(String principalName, String permissionName, boolean grant)
public void clear()
public String getDocumentType()
public void setDocumentType(String documentType)
|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |