eZPublishCommunityProject  2013.6
eZ\Publish\Core\Persistence\Legacy\Content\Type\Update\Handler\DeferredLegacy Class Reference

DeferredLegacy based type update handler. More...

+ Inheritance diagram for eZ\Publish\Core\Persistence\Legacy\Content\Type\Update\Handler\DeferredLegacy:
+ Collaboration diagram for eZ\Publish\Core\Persistence\Legacy\Content\Type\Update\Handler\DeferredLegacy:

Public Member Functions

 __construct (Gateway $contentTypeGateway)
 Creates a new content type update handler. More...
 
 deleteOldType ($fromType)
 Deletes $fromType and all of its field definitions. More...
 
 publishNewType ($toType, $newStatus)
 Publishes $toType to $newStatus. More...
 
 updateContentObjects ($fromType, $toType)
 Updates existing content objects from $fromType to $toType. More...
 
- Public Member Functions inherited from eZ\Publish\Core\Persistence\Legacy\Content\Type\Update\Handler
 deleteOldType ($fromType)
 Deletes $fromType and all of its field definitions. More...
 
 publishNewType ($toType, $newStatus)
 Publishes $toType to $newStatus. More...
 
 updateContentObjects ($fromType, $toType)
 Updates existing content objects from $fromType to $toType. More...
 

Protected Attributes

 $contentTypeGateway
 

Detailed Description

DeferredLegacy based type update handler.

Constructor & Destructor Documentation

eZ\Publish\Core\Persistence\Legacy\Content\Type\Update\Handler\DeferredLegacy::__construct ( Gateway  $contentTypeGateway)

Creates a new content type update handler.

Parameters
\eZ\Publish\Core\Persistence\Legacy\Content\Type\Gateway$contentTypeGateway

Member Function Documentation

eZ\Publish\Core\Persistence\Legacy\Content\Type\Update\Handler\DeferredLegacy::deleteOldType (   $fromType)

Deletes $fromType and all of its field definitions.

Parameters
\eZ\Publish\SPI\Persistence\Content\Type$fromType
Returns
void
eZ\Publish\Core\Persistence\Legacy\Content\Type\Update\Handler\DeferredLegacy::publishNewType (   $toType,
  $newStatus 
)

Publishes $toType to $newStatus.

Parameters
\eZ\Publish\SPI\Persistence\Content\Type$toType
int$newStatus
Returns
void
eZ\Publish\Core\Persistence\Legacy\Content\Type\Update\Handler\DeferredLegacy::updateContentObjects (   $fromType,
  $toType 
)

Updates existing content objects from $fromType to $toType.

Parameters
\eZ\Publish\SPI\Persistence\Content\Type$fromType
\eZ\Publish\SPI\Persistence\Content\Type$toType
Returns
void

Member Data Documentation

eZ\Publish\Core\Persistence\Legacy\Content\Type\Update\Handler\DeferredLegacy::$contentTypeGateway
protected

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