eZPublishCommunityProject  2013.9
eZ\Publish\Core\Persistence\Solr\Slot Class Reference

General slot implementation for Solr slots. More...

+ Inheritance diagram for eZ\Publish\Core\Persistence\Solr\Slot:
+ Collaboration diagram for eZ\Publish\Core\Persistence\Solr\Slot:

Public Member Functions

 __construct (Repository $repository, Handler $handler)
 
- Public Member Functions inherited from eZ\Publish\Core\SignalSlot\Slot
 receive (Signal $signal)
 Receive the given $signal and react on it. More...
 

Protected Member Functions

 enqueueDeletion ($contentId, $versionNo=null)
 Enqueue the deletion of content. More...
 
 enqueueDeletionLocation ($locationId)
 Enqueue the deletion of location. More...
 
 enqueueIndexing ($content)
 Enqueue the indexing of content. More...
 

Protected Attributes

 $persistenceHandler
 
 $repository
 

Detailed Description

General slot implementation for Solr slots.

Constructor & Destructor Documentation

eZ\Publish\Core\Persistence\Solr\Slot::__construct ( Repository  $repository,
Handler  $handler 
)

Member Function Documentation

eZ\Publish\Core\Persistence\Solr\Slot::enqueueDeletion (   $contentId,
  $versionNo = null 
)
protected

Enqueue the deletion of content.

Parameters
mixed$contentId
int | null$versionNo

Referenced by eZ\Publish\Core\Persistence\Solr\Slot\DeleteContent\receive(), and eZ\Publish\Core\Persistence\Solr\Slot\DeleteVersion\receive().

eZ\Publish\Core\Persistence\Solr\Slot::enqueueDeletionLocation (   $locationId)
protected

Enqueue the deletion of location.

Parameters
mixed$locationId

Referenced by eZ\Publish\Core\Persistence\Solr\Slot\DeleteLocation\receive(), and eZ\Publish\Core\Persistence\Solr\Slot\Trash\receive().

Member Data Documentation

eZ\Publish\Core\Persistence\Solr\Slot::$persistenceHandler
protected
eZ\Publish\Core\Persistence\Solr\Slot::$repository
protected

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