PHP 인터페이스 Neos\Flow\Persistence\Generic\Backend\BackendInterface

파일 보기 프로젝트 열기: neos/flow-development-collection 0 사용 예제들

공개 메소드들

메소드 설명
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.

메소드 상세

commit() 공개 메소드

Commits the current persistence session
public commit ( ) : void
리턴 void

getObjectCountByQuery() 공개 메소드

Returns the number of items matching the query.
public getObjectCountByQuery ( Neos\Flow\Persistence\QueryInterface $query ) : integer
$query Neos\Flow\Persistence\QueryInterface
리턴 integer

getObjectDataByIdentifier() 공개 메소드

Returns the object data for the given identifier.
public getObjectDataByIdentifier ( string $identifier, string $objectType = null ) : array
$identifier string The UUID or Hash of the object
$objectType string
리턴 array

getObjectDataByQuery() 공개 메소드

Returns the object data matching the $query.
public getObjectDataByQuery ( Neos\Flow\Persistence\QueryInterface $query ) : array
$query Neos\Flow\Persistence\QueryInterface
리턴 array

initialize() 공개 메소드

Initializes the backend
public initialize ( array $options ) : void
$options array
리턴 void

isConnected() 공개 메소드

Returns TRUE, if an active connection to the persistence backend has been established, e.g. entities can be persisted.
public isConnected ( ) : boolean
리턴 boolean TRUE, if an connection has been established, FALSE if add object will not be persisted by the backend

setAggregateRootObjects() 공개 메소드

Sets the aggregate root objects
public setAggregateRootObjects ( SplObjectStorage $objects ) : void
$objects SplObjectStorage
리턴 void

setChangedEntities() 공개 메소드

Sets the changed objects
public setChangedEntities ( SplObjectStorage $entities ) : void
$entities SplObjectStorage
리턴 void

setDeletedEntities() 공개 메소드

Sets the deleted entities
public setDeletedEntities ( SplObjectStorage $entities ) : void
$entities SplObjectStorage
리턴 void

setPersistenceManager() 공개 메소드

Set a PersistenceManager instance.
public setPersistenceManager ( Neos\Flow\Persistence\PersistenceManagerInterface $persistenceManager ) : void
$persistenceManager Neos\Flow\Persistence\PersistenceManagerInterface
리턴 void