Interface AdminAccessRoleInterface
category |
System |
---|---|
package |
AdminAccess |
subpackage |
Entities |
checkDeletingPermission(\AdminAccessGroupInterface $group) : boolean
boolean
True if role has deleting permission, false otherwise.
checkDeletingPermissionForUnknownGroup() : boolean
boolean
True if deleting permission for an unknown group is granted, false otherwise.
checkReadingPermission(\AdminAccessGroupInterface $group) : boolean
boolean
True if role has reading permission, false otherwise.
checkReadingPermissionForUnknownGroup() : boolean
boolean
True if reading permission for an unknown group is granted, false otherwise.
checkWritingPermission(\AdminAccessGroupInterface $group) : boolean
boolean
True if role has writing permission, false otherwise.
checkWritingPermissionForUnknownGroup() : boolean
boolean
True if writing permission for an unknown group is granted, false otherwise.
delete() : \AdminAccessRoleInterface
getDescription() : \KeyValueCollection
getId() : integer
integer
Role ID.
getName() : \KeyValueCollection
getPermissionByGroup( $group) : \AdminAccessPermissionPresentationInterface|\AdminAccessPermissionPersistenceInterface|null
AdminAccessGroupInterface Admin access group.
\AdminAccessPermissionPresentationInterface|\AdminAccessPermissionPersistenceInterface|null
Returns permission found or null if permission not found.
getPermissionsByGroupCollection( $groupCollection) : \AdminAccessPermissionCollection
AdminAccessGroupCollection Collections of groups to find.
\AdminAccessPermissionCollection
Returns permissions collection.
getProtected() : boolean
boolean
getSortOrder() : integer
integer
Sort order.
setDeletingUnknownGroupGranted(\BoolType $permissionGranted) : \AdminAccessRoleInterface
setDescription(\KeyValueCollection $description) : \AdminAccessRoleInterface
setId(\IdType $id) : \AdminAccessRoleInterface
setName(\KeyValueCollection $name) : \AdminAccessRoleInterface
setProtected(\BoolType $value) : \AdminAccessRoleInterface
\BoolType
\AdminAccessRoleInterface
Returns same instance for chained method calls.
setReadingUnknownGroupGranted(\BoolType $permissionGranted) : \AdminAccessRoleInterface
setSortOrder(\IntType $sortOrder) : \AdminAccessRoleInterface
setWritingUnknownGroupGranted(\BoolType $permissionGranted) : \AdminAccessRoleInterface
store() : \AdminAccessRoleInterface
update() : \AdminAccessRoleInterface