Class

eZ\Publish\Core\Persistence\Cache\Handler

class Handler implements Handler

Persistence Cache Handler class.

Methods

__construct(Handler $persistenceHandler, SectionHandler $sectionHandler, LocationHandler $locationHandler, ContentHandler $contentHandler, ContentLanguageHandler $contentLanguageHandler, ContentTypeHandler $contentTypeHandler, UserHandler $userHandler, TransactionHandler $transactionHandler, TrashHandler $trashHandler, UrlAliasHandler $urlAliasHandler, ObjectStateHandler $objectStateHandler, URLHandler $urlHandler, PersistenceLogger $logger)

Construct the class.

Handler contentHandler()

Handler contentTypeHandler()

Handler contentLanguageHandler()

Handler locationHandler()

Handler objectStateHandler()

Handler userHandler()

Handler sectionHandler()

Handler trashHandler()

Handler urlAliasHandler()

Handler urlWildcardHandler()

TransactionHandler transactionHandler()

URLHandler urlHandler()

beginTransaction()

Begin transaction.

commit()

Commit transaction.

rollback()

Rollback transaction.

Details

at line 109
public __construct(Handler $persistenceHandler, SectionHandler $sectionHandler, LocationHandler $locationHandler, ContentHandler $contentHandler, ContentLanguageHandler $contentLanguageHandler, ContentTypeHandler $contentTypeHandler, UserHandler $userHandler, TransactionHandler $transactionHandler, TrashHandler $trashHandler, UrlAliasHandler $urlAliasHandler, ObjectStateHandler $objectStateHandler, URLHandler $urlHandler, PersistenceLogger $logger)

Construct the class.

Parameters

Handler $persistenceHandler Must be factory for inner persistence, ie: legacy
SectionHandler $sectionHandler
LocationHandler $locationHandler
ContentHandler $contentHandler
ContentLanguageHandler $contentLanguageHandler
ContentTypeHandler $contentTypeHandler
UserHandler $userHandler
TransactionHandler $transactionHandler
TrashHandler $trashHandler
UrlAliasHandler $urlAliasHandler
ObjectStateHandler $objectStateHandler
URLHandler $urlHandler
PersistenceLogger $logger

at line 142
public Handler contentHandler()

Return Value

Handler

at line 150
public Handler contentTypeHandler()

Return Value

Handler

at line 158
public Handler contentLanguageHandler()

Return Value

Handler

at line 166
public Handler locationHandler()

Return Value

Handler

at line 174
public Handler objectStateHandler()

Return Value

Handler

at line 182
public Handler userHandler()

Return Value

Handler

at line 190
public Handler sectionHandler()

Return Value

Handler

at line 198
public Handler trashHandler()

Return Value

Handler

at line 206
public Handler urlAliasHandler()

Return Value

Handler

at line 216
public Handler urlWildcardHandler()

Return Value

Handler

at line 226
public TransactionHandler transactionHandler()

Return Value

TransactionHandler

at line 234
public URLHandler urlHandler()

Return Value

URLHandler

at line 242
public beginTransaction()

Begin transaction.

Begins an transaction, make sure you'll call commit or rollback when done, otherwise work will be lost.

at line 250
public commit()

Commit transaction.

Commit transaction, or throw exceptions if no transactions has been started.

Exceptions

RuntimeException If no transaction has been started

at line 258
public rollback()

Rollback transaction.

Rollback transaction, or throw exceptions if no transactions has been started.

Exceptions

RuntimeException If no transaction has been started