org.xcmis.spi.model
Class AllowableActions
java.lang.Object
org.xcmis.spi.model.AllowableActions
public class AllowableActions
- extends Object
- Version:
- $Id: $
- Author:
- Andrey Parfonov
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CAN_GET_DESCENDENTS
public static final String CAN_GET_DESCENDENTS
- See Also:
- Constant Field Values
CAN_GET_FOLDER_TREE
public static final String CAN_GET_FOLDER_TREE
- See Also:
- Constant Field Values
CAN_GET_CHILDREN
public static final String CAN_GET_CHILDREN
- See Also:
- Constant Field Values
CAN_GET_OBJECT_PARENTS
public static final String CAN_GET_OBJECT_PARENTS
- See Also:
- Constant Field Values
CAN_GET_FOLDER_PARENT
public static final String CAN_GET_FOLDER_PARENT
- See Also:
- Constant Field Values
CAN_CREATE_DOCUMENT
public static final String CAN_CREATE_DOCUMENT
- See Also:
- Constant Field Values
CAN_CREATE_FOLDER
public static final String CAN_CREATE_FOLDER
- See Also:
- Constant Field Values
CAN_CREATE_RELATIONSHIP
public static final String CAN_CREATE_RELATIONSHIP
- See Also:
- Constant Field Values
CAN_GET_PROPERTIES
public static final String CAN_GET_PROPERTIES
- See Also:
- Constant Field Values
CAN_GET_CONTENT_STREAM
public static final String CAN_GET_CONTENT_STREAM
- See Also:
- Constant Field Values
CAN_UPDATE_PROPERTIES
public static final String CAN_UPDATE_PROPERTIES
- See Also:
- Constant Field Values
CAN_MOVE_OBJECT
public static final String CAN_MOVE_OBJECT
- See Also:
- Constant Field Values
CAN_DELETE
public static final String CAN_DELETE
- See Also:
- Constant Field Values
CAN_DELETE_TREE
public static final String CAN_DELETE_TREE
- See Also:
- Constant Field Values
CAN_SET_CONTENT_STREAM
public static final String CAN_SET_CONTENT_STREAM
- See Also:
- Constant Field Values
CAN_DELETE_CONTENT_STREAM
public static final String CAN_DELETE_CONTENT_STREAM
- See Also:
- Constant Field Values
CAN_GET_RENDITIONS
public static final String CAN_GET_RENDITIONS
- See Also:
- Constant Field Values
CAN_ADD_TO_FOLDER
public static final String CAN_ADD_TO_FOLDER
- See Also:
- Constant Field Values
CAN_REMOVE_OBJECT_FROM_FOLDER
public static final String CAN_REMOVE_OBJECT_FROM_FOLDER
- See Also:
- Constant Field Values
CAN_CHECKOUT
public static final String CAN_CHECKOUT
- See Also:
- Constant Field Values
CAN_CANCEL_CHECKOUT
public static final String CAN_CANCEL_CHECKOUT
- See Also:
- Constant Field Values
CAN_CHECKIN
public static final String CAN_CHECKIN
- See Also:
- Constant Field Values
CAN_GET_ALL_VERSIONS
public static final String CAN_GET_ALL_VERSIONS
- See Also:
- Constant Field Values
CAN_GET_OBJECT_RELATIONSHIPS
public static final String CAN_GET_OBJECT_RELATIONSHIPS
- See Also:
- Constant Field Values
CAN_ADD_POLICY
public static final String CAN_ADD_POLICY
- See Also:
- Constant Field Values
CAN_REMOVE_POLICY
public static final String CAN_REMOVE_POLICY
- See Also:
- Constant Field Values
CAN_GET_APPLIED_POLICIES
public static final String CAN_GET_APPLIED_POLICIES
- See Also:
- Constant Field Values
CAN_GET_ACL
public static final String CAN_GET_ACL
- See Also:
- Constant Field Values
CAN_APPLY_ACL
public static final String CAN_APPLY_ACL
- See Also:
- Constant Field Values
DEFAULT
public static final Collection<String> DEFAULT
AllowableActions
public AllowableActions()
ALL
public static final AllowableActions ALL()
addAction
public void addAction(String action)
- Add
action in allowed actions list.
- Parameters:
action - action to be add in list
isActionAllowed
public boolean isActionAllowed(String action)
- Check is
action is in allowed actions list.
- Parameters:
action - action
- Returns:
true if action is allowed and
false otherwise
isCanAddObjectToFolder
public boolean isCanAddObjectToFolder()
isCanApplyACL
public boolean isCanApplyACL()
isCanApplyPolicy
public boolean isCanApplyPolicy()
isCanCancelCheckOut
public boolean isCanCancelCheckOut()
isCanCheckIn
public boolean isCanCheckIn()
isCanCheckOut
public boolean isCanCheckOut()
isCanCreateDocument
public boolean isCanCreateDocument()
isCanCreateFolder
public boolean isCanCreateFolder()
isCanCreateRelationship
public boolean isCanCreateRelationship()
isCanDeleteContentStream
public boolean isCanDeleteContentStream()
isCanDeleteObject
public boolean isCanDeleteObject()
isCanDeleteTree
public boolean isCanDeleteTree()
isCanGetACL
public boolean isCanGetACL()
isCanGetAllVersions
public boolean isCanGetAllVersions()
isCanGetAppliedPolicies
public boolean isCanGetAppliedPolicies()
isCanGetChildren
public boolean isCanGetChildren()
isCanGetContentStream
public boolean isCanGetContentStream()
isCanGetDescendants
public boolean isCanGetDescendants()
isCanGetFolderParent
public boolean isCanGetFolderParent()
isCanGetFolderTree
public boolean isCanGetFolderTree()
isCanGetObjectParents
public boolean isCanGetObjectParents()
isCanGetObjectRelationships
public boolean isCanGetObjectRelationships()
isCanGetProperties
public boolean isCanGetProperties()
isCanGetRenditions
public boolean isCanGetRenditions()
isCanMoveObject
public boolean isCanMoveObject()
isCanRemoveObjectFromFolder
public boolean isCanRemoveObjectFromFolder()
isCanRemovePolicy
public boolean isCanRemovePolicy()
isCanSetContentStream
public boolean isCanSetContentStream()
isCanUpdateProperties
public boolean isCanUpdateProperties()
removeAction
public void removeAction(String action)
- Remove
action from allowed actions list.
- Parameters:
action - action to be removed from the list
setCanAddObjectToFolder
public void setCanAddObjectToFolder(boolean canAddObjectToFolder)
setCanApplyACL
public void setCanApplyACL(boolean canApplyACL)
setCanApplyPolicy
public void setCanApplyPolicy(boolean canApplyPolicy)
setCanCancelCheckOut
public void setCanCancelCheckOut(boolean canCancelCheckOut)
setCanCheckIn
public void setCanCheckIn(boolean canCheckIn)
setCanCheckOut
public void setCanCheckOut(boolean canCheckOut)
setCanCreateDocument
public void setCanCreateDocument(boolean canCreateDocument)
setCanCreateFolder
public void setCanCreateFolder(boolean canCreateFolder)
setCanCreateRelationship
public void setCanCreateRelationship(boolean canCreateRelationship)
setCanDeleteContentStream
public void setCanDeleteContentStream(boolean canDeleteContentStream)
setCanDeleteObject
public void setCanDeleteObject(boolean canDeleteObject)
setCanDeleteTree
public void setCanDeleteTree(boolean canDeleteTree)
setCanGetACL
public void setCanGetACL(boolean canGetACL)
setCanGetAllVersions
public void setCanGetAllVersions(boolean canGetAllVersions)
setCanGetAppliedPolicies
public void setCanGetAppliedPolicies(boolean canGetAppliedPolicies)
setCanGetChildren
public void setCanGetChildren(boolean canGetChildren)
setCanGetContentStream
public void setCanGetContentStream(boolean canGetContentStream)
setCanGetDescendants
public void setCanGetDescendants(boolean canGetDescendants)
setCanGetFolderParent
public void setCanGetFolderParent(boolean canGetFolderParent)
setCanGetFolderTree
public void setCanGetFolderTree(boolean canGetFolderTree)
setCanGetObjectParents
public void setCanGetObjectParents(boolean canGetObjectParents)
setCanGetObjectRelationships
public void setCanGetObjectRelationships(boolean canGetObjectRelationships)
setCanGetProperties
public void setCanGetProperties(boolean canGetProperties)
setCanGetRenditions
public void setCanGetRenditions(boolean canGetRenditions)
setCanMoveObject
public void setCanMoveObject(boolean canMoveObject)
setCanRemoveObjectFromFolder
public void setCanRemoveObjectFromFolder(boolean canRemoveObjectFromFolder)
setCanRemovePolicy
public void setCanRemovePolicy(boolean canRemovePolicy)
setCanSetContentStream
public void setCanSetContentStream(boolean canSetContentStream)
setCanUpdateProperties
public void setCanUpdateProperties(boolean canUpdateProperties)
Copyright © 2003-2013 eXo Platform SAS. All Rights Reserved.