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

  • AdminAccessGroup
  • AdminAccessGroupItem
  • AdminAccessPermission
  • AdminAccessRole
  • AdminAccessUser

Interfaces

  • AdminAccessGroupInterface
  • AdminAccessGroupItemInterface
  • AdminAccessPermissionInterface
  • AdminAccessPermissionPersistenceInterface
  • AdminAccessPermissionPresentationInterface
  • AdminAccessRoleInterface
  • AdminAccessUserInterface

Interface AdminAccessRoleInterface

Interface AdminAccessRoleInterface

Direct known implementers

AdminAccessRole

Package: AdminAccess\Entities
Category: System
Located at Services/System/AdminAccess/Entities/Interfaces/AdminAccessRoleInterface.inc.php

Methods summary

public boolean
# checkDeletingPermission( AdminAccessGroupInterface $group )

Checks deleting permission for a given group.

Checks deleting permission for a given group.

Parameters

$group
Group object.

Returns

boolean
True if role has deleting permission, false otherwise.
public boolean
# checkReadingPermission( AdminAccessGroupInterface $group )

Checks reading permission for a given group.

Checks reading permission for a given group.

Parameters

$group
Group object.

Returns

boolean
True if role has reading permission, false otherwise.
public boolean
# checkWritingPermission( AdminAccessGroupInterface $group )

Checks writing permission for a given group.

Checks writing permission for a given group.

Parameters

$group
Group object.

Returns

boolean
True if role has writing permission, false otherwise.
public boolean
# checkDeletingPermissionForUnknownGroup( )

Checks deleting permission for an unknown group.

Checks deleting permission for an unknown group.

Returns

boolean
True if deleting permission for an unknown group is granted, false otherwise.
public boolean
# checkReadingPermissionForUnknownGroup( )

Checks reading permission for an unknown group.

Checks reading permission for an unknown group.

Returns

boolean
True if reading permission for an unknown group is granted, false otherwise.
public boolean
# checkWritingPermissionForUnknownGroup( )

Checks writing permission for an unknown group.

Checks writing permission for an unknown group.

Returns

boolean
True if writing permission for an unknown group is granted, false otherwise.
public AdminAccessRoleInterface
# delete( )

Deletes an access role.

Deletes an access role.

Returns

AdminAccessRoleInterface
Returns same instance for chained method calls.
public integer
# getId( )

Returns the role id.

Returns the role id.

Returns

integer
Role ID.
public KeyValueCollection
# getName( )

Returns the role names as a collection.

Returns the role names as a collection.

Returns

KeyValueCollection
Role name in all available languages.
public KeyValueCollection
# getDescription( )

Returns the role descriptions as a collection.

Returns the role descriptions as a collection.

Returns

KeyValueCollection
Role description in all available languages.
public integer
# getSortOrder( )

Returns the role sort order.

Returns the role sort order.

Returns

integer
Sort order.
public AdminAccessRoleInterface
# setId( IdType $id )

Sets the role ID.

Sets the role ID.

Parameters

$id
Role ID.

Returns

AdminAccessRoleInterface
Returns same instance for chained method calls.
public AdminAccessRoleInterface
# setName( KeyValueCollection $name )

Sets the role names.

Sets the role names.

Parameters

$name
Role name.

Returns

AdminAccessRoleInterface
Returns same instance for chained method calls.
public AdminAccessRoleInterface
# setDescription( KeyValueCollection $description )

Sets the role description.

Sets the role description.

Parameters

$description
Role description.

Returns

AdminAccessRoleInterface
Returns same instance for chained method calls.
public AdminAccessRoleInterface
# setSortOrder( IntType $sortOrder )

Sets the role sort order.

Sets the role sort order.

Parameters

$sortOrder
Role sort order.

Returns

AdminAccessRoleInterface
Returns same instance for chained method calls.
public AdminAccessRoleInterface
# setDeletingUnknownGroupGranted( BoolType $permissionGranted )

Sets the deleting permission value for an unknown group.

Sets the deleting permission value for an unknown group.

Parameters

$permissionGranted
Value of the deleting permission for unknown groups.

Returns

AdminAccessRoleInterface
Returns same instance for chained method calls.
public AdminAccessRoleInterface
# setReadingUnknownGroupGranted( BoolType $permissionGranted )

Sets the reading permission value for an unknown group.

Sets the reading permission value for an unknown group.

Parameters

$permissionGranted
Value of the reading permission for unknown groups.

Returns

AdminAccessRoleInterface
Returns same instance for chained method calls.
public AdminAccessRoleInterface
# setWritingUnknownGroupGranted( BoolType $permissionGranted )

Sets the writing permission value for an unknown group.

Sets the writing permission value for an unknown group.

Parameters

$permissionGranted
Value of the writing permission for unknown groups.

Returns

AdminAccessRoleInterface
Returns same instance for chained method calls.
public AdminAccessRoleInterface
# store( )

Stores this role into the database.

Stores this role into the database.

Returns

AdminAccessRoleInterface
Returns same instance for chained method calls.
public AdminAccessRoleInterface
# update( )

Updates this role in the database.

Updates this role in the database.

Returns

AdminAccessRoleInterface
Returns same instance for chained method calls.
public AdminAccessPermissionPresentationInterface|AdminAccessPermissionPersistenceInterface|null
# getPermissionByGroup( AdminAccessGroupInterface $group )

Returns the a permission for this role by a given group.

Returns the a permission for this role by a given group.

Parameters

$group
Admin access group.

Returns

AdminAccessPermissionPresentationInterface|AdminAccessPermissionPersistenceInterface|null
Returns permission found or null if permission not found.
public AdminAccessPermissionCollection
# getPermissionsByGroupCollection( AdminAccessGroupCollection $groupCollection )

Returns the a permission for this role by a given group collection.

Returns the a permission for this role by a given group collection.

Parameters

$groupCollection
Collections of groups to find.

Returns

AdminAccessPermissionCollection
Returns permissions collection.
public AdminAccessRoleInterface
# setProtected( BoolType $value )

Sets the protected value.

Sets the protected value.

Parameters

$value

Returns

AdminAccessRoleInterface
Returns same instance for chained method calls.
public boolean
# getProtected( )

Returns the protected value.

Returns the protected value.

Returns

boolean
API documentation generated by ApiGen