eZPublishCommunityProject  2013.5
eZ\Publish\Core\Persistence\Cache\Handler Class Reference

Persistence Cache Handler class. More...

+ Inheritance diagram for eZ\Publish\Core\Persistence\Cache\Handler:
+ Collaboration diagram for eZ\Publish\Core\Persistence\Cache\Handler:

Public Member Functions

 __construct (PersistenceFactory $persistenceFactory, CacheSectionHandler $sectionHandler, CacheLocationHandler $locationHandler, CacheContentHandler $contentHandler, CacheContentLanguageHandler $contentLanguageHandler, CacheContentTypeHandler $contentTypeHandler, CacheUserHandler $userHandler, CacheSearchHandler $searchHandler, CacheUrlAliasHandler $urlAliasHandler, PersistenceLogger $logger)
 Construct the class. More...
 
 beginTransaction ()
 Begin transaction. More...
 
 commit ()
 Commit transaction. More...
 
 contentHandler ()
 
 contentLanguageHandler ()
 
 contentTypeHandler ()
 
 locationHandler ()
 
 objectStateHandler ()
 
 rollback ()
 Rollback transaction. More...
 
 searchHandler ()
 
 sectionHandler ()
 
 trashHandler ()
 
 urlAliasHandler ()
 
 urlWildcardHandler ()
 
 userHandler ()
 

Protected Attributes

 $contentHandler
 
 $contentLanguageHandler
 
 $contentTypeHandler
 
 $locationHandler
 
 $logger
 
 $persistenceFactory
 
 $searchHandler
 
 $sectionHandler
 
 $urlAliasHandler
 
 $userHandler
 

Detailed Description

Constructor & Destructor Documentation

eZ\Publish\Core\Persistence\Cache\Handler::__construct ( PersistenceFactory  $persistenceFactory,
CacheSectionHandler  $sectionHandler,
CacheLocationHandler  $locationHandler,
CacheContentHandler  $contentHandler,
CacheContentLanguageHandler  $contentLanguageHandler,
CacheContentTypeHandler  $contentTypeHandler,
CacheUserHandler  $userHandler,
CacheSearchHandler  $searchHandler,
CacheUrlAliasHandler  $urlAliasHandler,
PersistenceLogger  $logger 
)

Construct the class.

Parameters
\eZ\Publish\Core\Persistence\Factory$persistenceFactoryMust be factory for inner persistence, ie: legacy
SectionHandler$sectionHandler
LocationHandler$locationHandler
ContentHandler$contentHandler
ContentLanguageHandler$contentLanguageHandler
ContentTypeHandler$contentTypeHandler
UserHandler$userHandler
SearchHandler$searchHandler
UrlAliasHandler$urlAliasHandler
PersistenceLogger$logger

Member Function Documentation

eZ\Publish\Core\Persistence\Cache\Handler::beginTransaction ( )

Begin transaction.

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

Implements eZ\Publish\SPI\Persistence\Handler.

eZ\Publish\Core\Persistence\Cache\Handler::commit ( )

Commit transaction.

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

Exceptions
\RuntimeExceptionIf no transaction has been started

Implements eZ\Publish\SPI\Persistence\Handler.

eZ\Publish\Core\Persistence\Cache\Handler::contentHandler ( )
eZ\Publish\Core\Persistence\Cache\Handler::contentLanguageHandler ( )
eZ\Publish\Core\Persistence\Cache\Handler::contentTypeHandler ( )
eZ\Publish\Core\Persistence\Cache\Handler::locationHandler ( )
eZ\Publish\Core\Persistence\Cache\Handler::objectStateHandler ( )
eZ\Publish\Core\Persistence\Cache\Handler::rollback ( )

Rollback transaction.

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

Exceptions
\RuntimeExceptionIf no transaction has been started

Implements eZ\Publish\SPI\Persistence\Handler.

eZ\Publish\Core\Persistence\Cache\Handler::searchHandler ( )
eZ\Publish\Core\Persistence\Cache\Handler::sectionHandler ( )
eZ\Publish\Core\Persistence\Cache\Handler::trashHandler ( )
eZ\Publish\Core\Persistence\Cache\Handler::urlAliasHandler ( )
eZ\Publish\Core\Persistence\Cache\Handler::urlWildcardHandler ( )
eZ\Publish\Core\Persistence\Cache\Handler::userHandler ( )

Member Data Documentation

eZ\Publish\Core\Persistence\Cache\Handler::$contentHandler
protected
eZ\Publish\Core\Persistence\Cache\Handler::$contentLanguageHandler
protected
eZ\Publish\Core\Persistence\Cache\Handler::$contentTypeHandler
protected
eZ\Publish\Core\Persistence\Cache\Handler::$locationHandler
protected
eZ\Publish\Core\Persistence\Cache\Handler::$logger
protected
eZ\Publish\Core\Persistence\Cache\Handler::$persistenceFactory
protected
eZ\Publish\Core\Persistence\Cache\Handler::$searchHandler
protected
eZ\Publish\Core\Persistence\Cache\Handler::$sectionHandler
protected
eZ\Publish\Core\Persistence\Cache\Handler::$urlAliasHandler
protected
eZ\Publish\Core\Persistence\Cache\Handler::$userHandler
protected

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