TYPO3
7.6
|
Public Member Functions | |
setPersistenceManager (\TYPO3\CMS\Extbase\Persistence\PersistenceManagerInterface $persistenceManager) | |
setAggregateRootObjects (\TYPO3\CMS\Extbase\Persistence\ObjectStorage $objects) | |
setDeletedEntities (\TYPO3\CMS\Extbase\Persistence\ObjectStorage $entities) | |
setChangedEntities (\TYPO3\CMS\Extbase\Persistence\ObjectStorage $entities) | |
commit () | |
getIdentifierByObject ($object) | |
getObjectByIdentifier ($identifier, $className) | |
isNewObject ($object) | |
getObjectCountByQuery (\TYPO3\CMS\Extbase\Persistence\QueryInterface $query) | |
getObjectDataByQuery (\TYPO3\CMS\Extbase\Persistence\QueryInterface $query) | |
A persistence backend interface
Definition at line 20 of file extbase/Classes/Persistence/Generic/BackendInterface.php.
commit | ( | ) |
getIdentifierByObject | ( | $object | ) |
Returns the (internal) identifier for the object, if it is known to the backend. Otherwise NULL is returned.
object | $object |
Implemented in Backend.
getObjectByIdentifier | ( | $identifier, | |
$className | |||
) |
Returns the object with the (internal) identifier, if it is known to the backend. Otherwise NULL is returned.
string | $identifier | |
string | $className |
Implemented in Backend.
getObjectCountByQuery | ( | \TYPO3\CMS\Extbase\Persistence\QueryInterface | $query | ) |
Returns the number of records matching the query.
\TYPO3\CMS\Extbase\Persistence\QueryInterface | $query |
Implemented in Backend.
getObjectDataByQuery | ( | \TYPO3\CMS\Extbase\Persistence\QueryInterface | $query | ) |
Returns the object data matching the $query.
\TYPO3\CMS\Extbase\Persistence\QueryInterface | $query |
Implemented in Backend.
isNewObject | ( | $object | ) |
Checks if the given object has ever been persisted.
object | $object | The object to check |
Implemented in Backend.
setAggregateRootObjects | ( | \TYPO3\CMS\Extbase\Persistence\ObjectStorage | $objects | ) |
Sets the aggregate root objects
\TYPO3\CMS\Extbase\Persistence\ObjectStorage | $objects |
Implemented in Backend.
setChangedEntities | ( | \TYPO3\CMS\Extbase\Persistence\ObjectStorage | $entities | ) |
Sets the changed objects
\TYPO3\CMS\Extbase\Persistence\ObjectStorage | $entities |
Implemented in Backend.
setDeletedEntities | ( | \TYPO3\CMS\Extbase\Persistence\ObjectStorage | $entities | ) |
Sets the deleted entities
\TYPO3\CMS\Extbase\Persistence\ObjectStorage | $entities |
Implemented in Backend.
setPersistenceManager | ( | \TYPO3\CMS\Extbase\Persistence\PersistenceManagerInterface | $persistenceManager | ) |
Set a PersistenceManager instance.
\TYPO3\CMS\Extbase\Persistence\PersistenceManagerInterface | $persistenceManager |
Implemented in Backend.