Interface AuthServiceInterface
category |
System |
---|---|
package |
AdminAccess |
subpackage |
Interfaces |
addItemToGroup(\IdType $groupId, \NonEmptyStringType $identifier, \NonEmptyStringType $type) : \AdminAccessGroupInterface
addRoleToUserByCustomerId(\IdType $roleId, \IdType $customerId) : \AdminAccessServiceInterface
checkDeletingPermissionForAjaxHandler(\NonEmptyStringType $identifier, \IdType $customerId) : boolean
boolean
True if customer has a deleting permission for the ajax handler, false otherwise.
checkDeletingPermissionForController(\NonEmptyStringType $identifier, \IdType $customerId) : boolean
boolean
True if customer has a deleting permission for the controller, false otherwise.
checkDeletingPermissionForPage(\NonEmptyStringType $identifier, \IdType $customerId) : boolean
boolean
True if customer has a deleting permission for the page, false otherwise.
checkReadingPermissionForAjaxHandler(\NonEmptyStringType $identifier, \IdType $customerId) : boolean
boolean
True if customer has a reading permission for the ajax handler, false otherwise.
checkReadingPermissionForController(\NonEmptyStringType $identifier, \IdType $customerId) : boolean
boolean
True if customer has a reading permission for the controller, false otherwise.
checkReadingPermissionForPage(\NonEmptyStringType $identifier, \IdType $customerId) : boolean
boolean
True if customer has a reading permission for the page, false otherwise.
checkWritingPermissionForAjaxHandler(\NonEmptyStringType $identifier, \IdType $customerId) : boolean
boolean
True if customer has a writing permission for the ajax handler, false otherwise.
checkWritingPermissionForController(\NonEmptyStringType $identifier, \IdType $customerId) : boolean
boolean
True if customer has a writing permission for the controller, false otherwise.
checkWritingPermissionForPage(\NonEmptyStringType $identifier, \IdType $customerId) : boolean
boolean
True if customer has a writing permission for the page, false otherwise.
createNewGroup(\KeyValueCollection $name, \KeyValueCollection $description, \IdType $parentId, \IntType $sortOrder) : \AdminAccessGroupInterface
Throws |
|
---|
\KeyValueCollection
Collection with the group names. Index of a group name must be his language code.
\KeyValueCollection
Collection with the group descriptions. Index of a group name must be his language code.
\AdminAccessGroupInterface
Returns the create role.
createNewRole(\KeyValueCollection $name, \KeyValueCollection $description, \IntType $sortOrder, \BoolType $unknownReadingGranted, \BoolType $unknownWritingGranted, \BoolType $unknownDeletingGranted) : \AdminAccessRoleInterface
\KeyValueCollection
Collection with the role names. Index of a role name must be his language code.
\KeyValueCollection
Collection with the role descriptions. Index of a role name must be his language code.
\AdminAccessRoleInterface
Returns the create role.
deleteGroupById(\IdType $id) : \AdminAccessServiceInterface
Throws |
|
---|
\AdminAccessServiceInterface
Returns same instance for chained method calls.
deleteRoleById(\IdType $roleId) : \AdminAccessServiceInterface
deleteUserByCustomerId(\IdType $customerId) : \AdminAccessServiceInterface
getAllGroups() : \AdminAccessGroupCollection
getAllRoles() : \AdminAccessRoleCollection
getGroupByAjaxHandler(\NonEmptyStringType $identifier) : \AdminAccessGroupInterface
getGroupByController(\NonEmptyStringType $identifier) : \AdminAccessGroupInterface
getGroupById(\IdType $id) : \AdminAccessGroupInterface
getGroupByPage(\NonEmptyStringType $identifier) : \AdminAccessGroupInterface
getPermissionsByGroupCollection(\IdType $roleId, \AdminAccessGroupCollection $groupCollection) : \AdminAccessPermissionCollection
\AdminAccessPermissionCollection
Permission collection object with all role permissions.
getPermissionsByRoleId(\IdType $roleId) : \AdminAccessPermissionCollection
\AdminAccessPermissionCollection
Permission collection object with all role permissions.
getRoleById(\IdType $roleId) : \AdminAccessRoleInterface
getRolesByCustomerId(\idType $id) : \AdminAccessRoleCollection
\idType
User ID.
\AdminAccessRoleCollection
Collection of all roles that certain user has.
grantDeletingPermissionToRole(\IdType $groupId, \IdType $roleId) : \AdminAccessServiceInterface
grantReadingPermissionToRole(\IdType $groupId, \IdType $roleId) : \AdminAccessServiceInterface
grantWritingPermissionToRole(\IdType $groupId, \IdType $roleId) : \AdminAccessServiceInterface
removeDeletingPermissionFromRole(\IdType $groupId, \IdType $roleId) : \AdminAccessServiceInterface
removeItemFromGroup(\IdType $groupId, \NonEmptyStringType $identifier, \NonEmptyStringType $type) : \AdminAccessGroupInterface
Throws |
|
---|
\AdminAccessGroupInterface
Group object.
removeReadingPermissionFromRole(\IdType $groupId, \IdType $roleId) : \AdminAccessServiceInterface
removeRoleFromUserByCustomerId(\IdType $roleId, \IdType $customerId) : \AdminAccessServiceInterface
removeWritingPermissionFromRole(\IdType $groupId, \IdType $roleId) : \AdminAccessServiceInterface
updateGroup(\IdType $id, \KeyValueCollection $newName, \KeyValueCollection $newDescription, \IdType $newParentId, \IntType $newSortOrder) : \AdminAccessServiceInterface
Throws |
|
---|
\IdType
\KeyValueCollection
Collection with the group names. Index of a group name must be his language code.
\KeyValueCollection
Collection with the group descriptions. Index of a group name must be his language code.
\AdminAccessServiceInterface
Returns same instance for chained method calls.
updateRoleById(\IdType $roleId, \KeyValueCollection $newName, \KeyValueCollection $newDescription, \IntType $newSortOrder, \BoolType $unknownReadingGranted, \BoolType $unknownWritingGranted, \BoolType $unknownDeletingGranted) : \AdminAccessServiceInterface
\KeyValueCollection
Collection with the new role names. Index of a role name must be his language code.
\KeyValueCollection
Collection with the new role descriptions. Index of a role name must be his language code.
\AdminAccessServiceInterface
Returns same instance for chained method calls.