AdminAccessPermissionPersistenceInterface

Extends

Interface AdminAccessPermissionPersistenceInterface

category

System

package

AdminAccess

subpackage

Entities

Methods

Deletes a permission.

delete() : \AdminAccessPermissionPersistenceInterface

Response

\AdminAccessPermissionPersistenceInterface

Returns same instance for chained method calls.

Grants deleting access.

grantDeleting() : \AdminAccessPermissionPersistenceInterface

Response

\AdminAccessPermissionPersistenceInterface

Returns same instance for chained method calls.

Grants reading access.

grantReading() : \AdminAccessPermissionPersistenceInterface

Response

\AdminAccessPermissionPersistenceInterface

Returns same instance for chained method calls.

Grants writing access.

grantWriting() : \AdminAccessPermissionPersistenceInterface

Response

\AdminAccessPermissionPersistenceInterface

Returns same instance for chained method calls.

Removes deleting access.

removeDeleting() : \AdminAccessPermissionPersistenceInterface

Response

\AdminAccessPermissionPersistenceInterface

Returns same instance for chained method calls.

Removes reading access.

removeReading() : \AdminAccessPermissionPersistenceInterface

Response

\AdminAccessPermissionPersistenceInterface

Returns same instance for chained method calls.

Removes writing access.

removeWriting() : \AdminAccessPermissionPersistenceInterface

Response

\AdminAccessPermissionPersistenceInterface

Returns same instance for chained method calls.

Sets the group of this permission.

setGroup(\AdminAccessGroupInterface $accessGroup) : \AdminAccessPermissionPresentationInterface|\AdminAccessPermissionPersistenceInterface

Arguments

$accessGroup

\AdminAccessGroupInterface

Group object.

Response

\AdminAccessPermissionPresentationInterface|\AdminAccessPermissionPersistenceInterface

Returns same instance for chained method calls.

Sets group ID.

setGroupId(\IdType $groupId) : \AdminAccessPermissionPersistenceInterface

Arguments

$groupId

\IdType

Group ID.

Response

\AdminAccessPermissionPersistenceInterface

Returns same instance for chained method calls.

Sets the role of this permission.

setRole(\AdminAccessRoleInterface $accessRole) : \AdminAccessPermissionPresentationInterface|\AdminAccessPermissionPersistenceInterface

Arguments

$accessRole

\AdminAccessRoleInterface

Role object.

Response

\AdminAccessPermissionPresentationInterface|\AdminAccessPermissionPersistenceInterface

Returns same instance for chained method calls.

Stores a permission into the database.

store() : \AdminAccessPermissionPersistenceInterface

Response

\AdminAccessPermissionPersistenceInterface

Returns same instance for chained method calls.

Updates a permission in the database.

update() : \AdminAccessPermissionPersistenceInterface

Response

\AdminAccessPermissionPersistenceInterface

Returns same instance for chained method calls.