Class AdminAccessPermission
A permission is the bridge element between a group and a role. It assigns these two elements a values for a reading, writing and deleting (permission).
category |
System |
---|---|
package |
AdminAccess |
subpackage |
Entities |
__construct(\AdminAccessPermissionDeleterInterface $permissionDeleter, \AdminAccessPermissionWriterInterface $permissionWriter, \AdminAccessGroupReaderInterface $groupReader, \AdminAccessPermissionReaderInterface $permissionReader)
delete() : \AdminAccessPermissionPresentationInterface|\AdminAccessPermissionPersistenceInterface
\AdminAccessPermissionPresentationInterface|\AdminAccessPermissionPersistenceInterface
Returns same instance for chained method calls.
getGroup() : \AdminAccessGroupInterface
getRole() : \AdminAccessRoleInterface
grantDeleting() : \AdminAccessPermissionPresentationInterface|\AdminAccessPermissionPersistenceInterface
\AdminAccessPermissionPresentationInterface|\AdminAccessPermissionPersistenceInterface
Returns same instance for chained method calls.
grantReading() : \AdminAccessPermissionPresentationInterface|\AdminAccessPermissionPersistenceInterface
\AdminAccessPermissionPresentationInterface|\AdminAccessPermissionPersistenceInterface
Returns same instance for chained method calls.
grantWriting() : \AdminAccessPermissionPresentationInterface|\AdminAccessPermissionPersistenceInterface
\AdminAccessPermissionPresentationInterface|\AdminAccessPermissionPersistenceInterface
Returns same instance for chained method calls.
isDeletingGranted() : boolean
boolean
True if deleting is granted, false otherwise.
isReadingGranted() : boolean
boolean
True if reading is granted, false otherwise.
isWritingGranted() : boolean
boolean
True if writing is granted, false otherwise.
removeDeleting() : \AdminAccessPermissionPresentationInterface|\AdminAccessPermissionPersistenceInterface
\AdminAccessPermissionPresentationInterface|\AdminAccessPermissionPersistenceInterface
Returns same instance for chained method calls.
removeReading() : \AdminAccessPermissionPresentationInterface|\AdminAccessPermissionPersistenceInterface
\AdminAccessPermissionPresentationInterface|\AdminAccessPermissionPersistenceInterface
Returns same instance for chained method calls.
removeWriting() : \AdminAccessPermissionPresentationInterface|\AdminAccessPermissionPersistenceInterface
\AdminAccessPermissionPresentationInterface|\AdminAccessPermissionPersistenceInterface
Returns same instance for chained method calls.
setGroup(\AdminAccessGroupInterface $accessGroup) : \AdminAccessPermissionPresentationInterface|\AdminAccessPermissionPersistenceInterface
\AdminAccessPermissionPresentationInterface|\AdminAccessPermissionPersistenceInterface
Returns same instance for chained method calls.
setGroupId(\IdType $groupId) : \AdminAccessPermissionPresentationInterface|\AdminAccessPermissionPersistenceInterface
\AdminAccessPermissionPresentationInterface|\AdminAccessPermissionPersistenceInterface
Returns same instance for chained method calls.
setRole(\AdminAccessRoleInterface $accessRole) : \AdminAccessPermissionPresentationInterface|\AdminAccessPermissionPersistenceInterface
\AdminAccessPermissionPresentationInterface|\AdminAccessPermissionPersistenceInterface
Returns same instance for chained method calls.
store() : \AdminAccessPermissionPresentationInterface|\AdminAccessPermissionPersistenceInterface
\AdminAccessPermissionPresentationInterface|\AdminAccessPermissionPersistenceInterface
Returns same instance for chained method calls.
update() : \AdminAccessPermissionPresentationInterface|\AdminAccessPermissionPersistenceInterface
\AdminAccessPermissionPresentationInterface|\AdminAccessPermissionPersistenceInterface
Returns same instance for chained method calls.
groupReader : \AdminAccessGroupReaderInterface
groupId : integer
var |
---|
integer
readingGranted : boolean
var |
---|
boolean
writingGranted : boolean
var |
---|
boolean
deletingGranted : boolean
var |
---|
boolean