Package fr.becpg.repo.security.data
Class PermissionModel
java.lang.Object
fr.becpg.repo.security.data.PermissionModel
PermissionModel class.
- Version:
- $Id: $Id
- Author:
- matthieu
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPermissionModel(String permission, List<org.alfresco.service.cmr.repository.NodeRef> groups, Boolean isEnforceACL) Constructor for PermissionModel. -
Method Summary
Modifier and TypeMethodDescriptionList<org.alfresco.service.cmr.repository.NodeRef>Getter for the fieldgroups.Getter for the fieldisEnforceACL.Getter for the fieldpermission.booleanisExclusiveRead.booleanisWrite()isWrite.voidSetter for the fieldgroups.voidsetIsEnforceACL(Boolean isEnforceACL) Setter for the fieldisEnforceACL.voidsetPermission(String permission) Setter for the fieldpermission.toString()
-
Field Details
-
READ_ONLY
ConstantREAD_ONLY="read"- See Also:
-
READ_WRITE
ConstantREAD_WRITE="write"- See Also:
-
READ_READANDWRITE
ConstantREAD_READANDWRITE="readandwrite"- See Also:
-
isEnforceACL
-
permission
-
groups
-
-
Constructor Details
-
Method Details
-
getIsEnforceACL
Getter for the field
isEnforceACL.- Returns:
- a
Booleanobject
-
setIsEnforceACL
Setter for the field
isEnforceACL.- Parameters:
isEnforceACL- aBooleanobject
-
getPermission
Getter for the field
permission.- Returns:
- a
Stringobject
-
setPermission
Setter for the field
permission.- Parameters:
permission- aStringobject
-
getGroups
Getter for the field
groups.- Returns:
- a
Listobject
-
setGroups
Setter for the field
groups.- Parameters:
groups- aListobject
-
isExclusiveRead
public boolean isExclusiveRead()isExclusiveRead.
- Returns:
- a boolean
-
isWrite
public boolean isWrite()isWrite.
- Returns:
- a boolean
-
toString
-