Overview
  • Package
  • Class
  • Tree
  • Todo

Packages

  • AddonValue
    • Interfaces
  • AdminAccess
    • Collections
    • Deleters
    • Entities
    • Exceptions
    • Factories
    • Interfaces
    • Managers
    • Readers
    • Writers
  • AdminHttpViewControllers
  • ApiV2Controllers
  • Authentication
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Strategies
  • Category
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Providers
    • Repositories
    • Storages
  • Customer
    • Address
    • Country
    • CountryZone
    • Interfaces
    • Storages
    • Validation
    • ValueObjects
  • CustomerGroup
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Serializers
    • Services
    • ValueObjects
  • Email
    • Collections
    • Entities
    • Exceptions
    • Interfaces
    • Repository
    • ValueObjects
  • Extensions
    • Customers
    • Emails
    • Geschaeftskundenversand
    • Helpers
    • Invoices
    • Orders
    • ParcelShopFinder
    • QuickEdit
    • Serializers
    • Templates
  • Geschaeftskundenversand
    • Exceptions
  • Http
    • Collections
    • Exceptions
    • Factories
    • Interfaces
    • ValueObjects
  • HttpViewControllers
  • InfoBox
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
  • Invoice
    • Interfaces
    • ValueObjects
  • Loaders
    • CrossCuttingLoader
    • GXCoreLoader
    • Interfaces
  • Manufacturer
    • Entities
    • Factories
    • Interfaces
    • Repositories
  • Modules
    • Collections
    • Controllers
    • Interfaces
  • None
  • Order
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Storages
    • ValueObjects
  • OrderStatus
    • Collections
    • Entities
    • Exceptions
    • Factories
    • Interfaces
    • Repositories
  • Precheck
  • Product
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Providers
    • Repositories
    • Storages
  • ProductModule
    • Collections
    • Deleter
    • Entities
    • Factories
    • Interface
    • Interfaces
    • Reader
    • Repositories
    • Writer
  • QuantityUnit
    • Entities
    • Factories
    • Repositories
  • QuickEdit
    • Interfaces
    • Repositories
  • Review
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Services
    • ValueObjects
  • Shared
    • ClassFinder
    • Exceptions
    • FileSystem
    • Interfaces
    • Storage
    • Types
  • SharedShoppingCart
    • Interfaces
  • Slider
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Storages
  • Smarty
    • plugins
  • StaticSeoUrl
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
  • StaticSeoUrls
  • Statistics
    • Interfaces
  • UserConfiguration
    • Interfaces
    • Repository
  • VersionInfo
    • Factories
    • Reader
    • ValueObjects
  • VPE
    • Entities
    • Factories
    • Repositories
  • Withdrawal
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Services
    • ValueObjects

Classes

  • AdminAccessGroupManager
  • AdminAccessPermissionManager
  • AdminAccessRoleManager
  • AdminAccessUserManager

Interfaces

  • AdminAccessGroupManagerInterface
  • AdminAccessPermissionManagerInterface
  • AdminAccessRoleManagerInterface
  • AdminAccessUserManagerInterface

Class AdminAccessRoleManager

Class AdminAccessRoleManager

AdminAccessRoleManager implements AdminAccessRoleManagerInterface
Package: AdminAccess\Managers
Category: System
Located at Services/System/AdminAccess/Managers/AdminAccessRoleManager.inc.php

Methods summary

public
# __construct( AdminAccessRoleFactoryInterface $roleFactory, AdminAccessRoleReaderInterface $roleReader )

AdminAccessRoleManager constructor.

AdminAccessRoleManager constructor.

Parameters

$roleFactory
Role factory.
$roleReader
Role reader.
public AdminAccessRoleCollection
# getAllRoles( )

Returns a collection of all roles.

Returns a collection of all roles.

Returns

AdminAccessRoleCollection
Role collection with all available roles.

Implementation of

AdminAccessRoleManagerInterface::getAllRoles()
public AdminAccessRoleInterface
# createNewRole( KeyValueCollection $name, KeyValueCollection $description, IntType $sortOrder, BoolType $unknownReadingGranted, BoolType $unknownWritingGranted, BoolType $unknownDeletingGranted )

Creates a new role.

Creates a new role.

Parameters

$name

Collection with the role names. Index of a role name must be his language code.

$description

Collection with the role descriptions. Index of a role name must be his language code.

$sortOrder
Roles sort order.
$unknownReadingGranted
Value of the reading permission for unknown groups.
$unknownWritingGranted
Value of the writing permission for unknown groups.
$unknownDeletingGranted
Value of the deleting permission for unknown groups.

Returns

AdminAccessRoleInterface
Returns the create role.

Implementation of

AdminAccessRoleManagerInterface::createNewRole()
public AdminAccessRoleManager
# updateRole( IdType $id, KeyValueCollection $newName, KeyValueCollection $newDescription, IntType $newSortOrder, BoolType $unknownReadingGranted, BoolType $unknownWritingGranted, BoolType $unknownDeletingGranted )

Updates a role by a given role ID.

Updates a role by a given role ID.

Parameters

$id
Role ID to remove permission from.
$newName

Collection with the new role names. Index of a role name must be his language code.

$newDescription

Collection with the new role descriptions. Index of a role name must be his language code.

$newSortOrder
New roles sort order.
$unknownReadingGranted
Value of the reading permission for unknown groups.
$unknownWritingGranted
Value of the writing permission for unknown groups.
$unknownDeletingGranted
Value of the deleting permission for unknown groups.

Returns

AdminAccessRoleManager
Returns same instance for chained method calls.

Implementation of

AdminAccessRoleManagerInterface::updateRole()
public AdminAccessRoleManager
# deleteRole( IdType $id )

Deletes role by a given role ID.

Deletes role by a given role ID.

Parameters

$id
ID of the role that should be deleted.

Returns

AdminAccessRoleManager
Returns same instance for chained method calls.

Implementation of

AdminAccessRoleManagerInterface::deleteRole()
public AdminAccessRoleInterface
# getRoleById( IdType $id )

Returns a role by a given role ID.

Returns a role by a given role ID.

Parameters

$id
ID of the requested role.

Returns

AdminAccessRoleInterface

Implementation of

AdminAccessRoleManagerInterface::getRoleById()

Properties summary

protected AdminAccessRoleFactoryInterface $roleFactory
#
protected AdminAccessRoleReaderInterface $roleReader
#
API documentation generated by ApiGen