info.magnolia.cms.security.operations
Interface OperationPermissionDefinition

All Known Implementing Classes:
ConfiguredOperationPermissionDefinition

public interface OperationPermissionDefinition

Definition for getting/resolving actions permissions.


Field Summary
static String ADDIBLE
           
static String DELETABLE
           
static String EXECUTABLE
           
static String MOVEABLE
           
static String READABLE
           
static String WRITABLE
           
 
Method Summary
 boolean canAdd(User user)
           
 boolean canDelete(User user)
           
 boolean canExecute(User user)
           
 boolean canMove(User user)
           
 boolean canRead(User user)
           
 boolean canWrite(User user)
           
 AccessDefinition getAdd()
           
 AccessDefinition getDelete()
           
 AccessDefinition getExecute()
           
 AccessDefinition getMove()
           
 AccessDefinition getRead()
           
 AccessDefinition getWrite()
           
 

Field Detail

DELETABLE

static final String DELETABLE
See Also:
Constant Field Values

WRITABLE

static final String WRITABLE
See Also:
Constant Field Values

READABLE

static final String READABLE
See Also:
Constant Field Values

EXECUTABLE

static final String EXECUTABLE
See Also:
Constant Field Values

MOVEABLE

static final String MOVEABLE
See Also:
Constant Field Values

ADDIBLE

static final String ADDIBLE
See Also:
Constant Field Values
Method Detail

getRead

AccessDefinition getRead()

getWrite

AccessDefinition getWrite()

getDelete

AccessDefinition getDelete()

getExecute

AccessDefinition getExecute()

getMove

AccessDefinition getMove()

getAdd

AccessDefinition getAdd()

canRead

boolean canRead(User user)

canWrite

boolean canWrite(User user)

canDelete

boolean canDelete(User user)

canExecute

boolean canExecute(User user)

canMove

boolean canMove(User user)

canAdd

boolean canAdd(User user)


Copyright © 2003-2014 Magnolia International Ltd.. All Rights Reserved.