Méthode | Description | |
---|---|---|
commit ( ) : void | Commits the current persistence session | |
getObjectCountByQuery ( Neos\Flow\Persistence\QueryInterface $query ) : integer | Returns the number of items matching the query. | |
getObjectDataByIdentifier ( string $identifier, string $objectType = null ) : array | Returns the object data for the given identifier. | |
getObjectDataByQuery ( Neos\Flow\Persistence\QueryInterface $query ) : array | Returns the object data matching the $query. | |
initialize ( array $options ) : void | Initializes the backend | |
isConnected ( ) : boolean | Returns TRUE, if an active connection to the persistence backend has been established, e.g. entities can be persisted. | |
setAggregateRootObjects ( SplObjectStorage $objects ) : void | Sets the aggregate root objects | |
setChangedEntities ( SplObjectStorage $entities ) : void | Sets the changed objects | |
setDeletedEntities ( SplObjectStorage $entities ) : void | Sets the deleted entities | |
setPersistenceManager ( Neos\Flow\Persistence\PersistenceManagerInterface $persistenceManager ) : void | Set a PersistenceManager instance. |
public getObjectCountByQuery ( Neos\Flow\Persistence\QueryInterface $query ) : integer | ||
$query | Neos\Flow\Persistence\QueryInterface | |
Résultat | integer |
public getObjectDataByQuery ( Neos\Flow\Persistence\QueryInterface $query ) : array | ||
$query | Neos\Flow\Persistence\QueryInterface | |
Résultat | array |
public initialize ( array $options ) : void | ||
$options | array | |
Résultat | void |
public isConnected ( ) : boolean | ||
Résultat | boolean | TRUE, if an connection has been established, FALSE if add object will not be persisted by the backend |
public setAggregateRootObjects ( SplObjectStorage $objects ) : void | ||
$objects | SplObjectStorage | |
Résultat | void |
public setChangedEntities ( SplObjectStorage $entities ) : void | ||
$entities | SplObjectStorage | |
Résultat | void |
public setDeletedEntities ( SplObjectStorage $entities ) : void | ||
$entities | SplObjectStorage | |
Résultat | void |
public setPersistenceManager ( Neos\Flow\Persistence\PersistenceManagerInterface $persistenceManager ) : void | ||
$persistenceManager | Neos\Flow\Persistence\PersistenceManagerInterface | |
Résultat | void |