eZPublishCommunityProject  2013.9
eZ\Publish\Core\Persistence\Legacy\User\Role\LimitationHandler\ObjectStateHandler Class Reference

Limitation Handler. More...

+ Inheritance diagram for eZ\Publish\Core\Persistence\Legacy\User\Role\LimitationHandler\ObjectStateHandler:
+ Collaboration diagram for eZ\Publish\Core\Persistence\Legacy\User\Role\LimitationHandler\ObjectStateHandler:

Public Member Functions

 toLegacy (Policy $policy)
 Translate API STATE limitation to Legacy StateGroup_<identifier> limitations. More...
 
 toSPI (Policy $policy)
 Translate Legacy StateGroup_<identifier> limitations to API STATE limitation. More...
 
- Public Member Functions inherited from eZ\Publish\Core\Persistence\Legacy\User\Role\LimitationHandler
 __construct (EzcDbHandler $dbHandler)
 Creates a new criterion handler. More...
 
 toLegacy (Policy $policy)
 
 toSPI (Policy $policy)
 

Public Attributes

const STATE_GROUP = 'StateGroup_'
 

Protected Member Functions

 getGroupMap (array $limitIds=null)
 Query for groups identifiers and id's. More...
 

Additional Inherited Members

- Protected Attributes inherited from eZ\Publish\Core\Persistence\Legacy\User\Role\LimitationHandler
 $dbHandler
 

Detailed Description

Limitation Handler.

Takes care of Converting a Policy limitation from Legacy value to spi value accepted by API.

Member Function Documentation

eZ\Publish\Core\Persistence\Legacy\User\Role\LimitationHandler\ObjectStateHandler::getGroupMap ( array  $limitIds = null)
protected
eZ\Publish\Core\Persistence\Legacy\User\Role\LimitationHandler\ObjectStateHandler::toLegacy ( Policy  $policy)

Translate API STATE limitation to Legacy StateGroup_<identifier> limitations.

Parameters
Policy$policy
eZ\Publish\Core\Persistence\Legacy\User\Role\LimitationHandler\ObjectStateHandler::toSPI ( Policy  $policy)

Translate Legacy StateGroup_<identifier> limitations to API STATE limitation.

Parameters
Policy$policy

Member Data Documentation

const eZ\Publish\Core\Persistence\Legacy\User\Role\LimitationHandler\ObjectStateHandler::STATE_GROUP = 'StateGroup_'

The documentation for this class was generated from the following file: