Method |
Description |
|
__construct ( Gateway $innerGateway ) |
Creates a new exception conversion gateway around $innerGateway. |
|
addPolicy ( mixed $roleId, eZ\Publish\SPI\Persistence\User\Policy $policy ) |
Adds a policy to a role. |
|
addPolicyLimitations ( integer $policyId, array $limitations ) |
Adds limitations to an existing policy. |
|
createRole ( eZ\Publish\SPI\Persistence\User\Role $role ) : eZ\Publish\SPI\Persistence\User\Role |
Create new role. |
|
deleteRole ( mixed $roleId, integer $status = Role::STATUS_DEFINED ) |
Delete the specified role (draft). |
|
loadPoliciesByUserId ( mixed $userId ) : UserPolicy[] |
Returns the user policies associated with the user. |
|
loadRole ( mixed $roleId, integer $status = Role::STATUS_DEFINED ) : array |
Loads a specified role by $roleId. |
|
loadRoleAssignment ( mixed $roleAssignmentId ) : array |
Loads role assignment for specified assignment ID. |
|
loadRoleAssignmentsByGroupId ( mixed $groupId, boolean $inherited = false ) : array |
Loads role assignments for specified content ID. |
|
loadRoleAssignmentsByRoleId ( mixed $roleId ) : array |
Loads role assignments for given role ID. |
|
loadRoleByIdentifier ( string $identifier, integer $status = Role::STATUS_DEFINED ) : array |
Loads a specified role by $identifier. |
|
loadRoleDraftByRoleId ( mixed $roleId ) : array |
Loads a role draft by the original role ID. |
|
loadRoles ( integer $status = Role::STATUS_DEFINED ) : array |
Loads all roles. |
|
loadRolesForContentObjects ( array $contentIds, integer $status = Role::STATUS_DEFINED ) : array |
Loads all roles associated with the given content objects. |
|
publishRoleDraft ( mixed $roleDraftId, mixed | null $originalRoleId = null ) |
Publish the specified role draft. |
|
removePolicy ( mixed $policyId ) |
Removes a policy from a role. |
|
removePolicyLimitations ( mixed $policyId ) |
Removes a policy from a role. |
|
updateRole ( eZ\Publish\SPI\Persistence\User\RoleUpdateStruct $role ) |
Update role (draft). |
|