AdminAccessPermissionWriterInterface

Extends

Interface AdminAccessPermissionWriterInterface

category

System

package

AdminAccess

subpackage

Writers

Methods

Stores a permission into the database.

insert(\AdminAccessPermission $permission) : \AdminAccessPermissionWriterInterface

Arguments

$permission

\AdminAccessPermission

Permission.

Response

\AdminAccessPermissionWriterInterface

Returns same instance for chained method calls.

Updates a permission in the database.

update(\AdminAccessPermission $permission) : \AdminAccessPermissionWriterInterface

Arguments

$permission

\AdminAccessPermission

Permission.

Response

\AdminAccessPermissionWriterInterface

Returns same instance for chained method calls.

Updates the deleting permission flag of a permission in the database.

updateDeletingPermission(\IdType $roleId, \IdType $groupId, \BoolType $deletingGranted) : \AdminAccessPermissionWriterInterface

Arguments

$roleId

\IdType

Role ID.

$groupId

\IdType

Group ID.

$deletingGranted

\BoolType

Value for the deleting permission flag.

Response

\AdminAccessPermissionWriterInterface

Returns same instance for chained method calls.

Updates the reading permission flag of a permission in the database.

updateReadingPermission(\IdType $roleId, \IdType $groupId, \BoolType $readingGranted) : \AdminAccessPermissionWriterInterface

Arguments

$roleId

\IdType

Role ID.

$groupId

\IdType

Group ID.

$readingGranted

\BoolType

Value for the reading permission flag.

Response

\AdminAccessPermissionWriterInterface

Returns same instance for chained method calls.

Updates the writing permission flag of a permission in the database.

updateWritingPermission(\IdType $roleId, \IdType $groupId, \BoolType $writingGranted) : \AdminAccessPermissionWriterInterface

Arguments

$roleId

\IdType

Role ID.

$groupId

\IdType

Group ID.

$writingGranted

\BoolType

Value for the writing permission flag.

Response

\AdminAccessPermissionWriterInterface

Returns same instance for chained method calls.