TYPO3 CMS  TYPO3_6-2
BackendInterface.php
Go to the documentation of this file.
1 <?php
3 
19 interface BackendInterface {
20 
27  public function setPersistenceManager(\TYPO3\CMS\Extbase\Persistence\PersistenceManagerInterface $persistenceManager);
28 
35  public function setAggregateRootObjects(\TYPO3\CMS\Extbase\Persistence\ObjectStorage $objects);
36 
44  public function setDeletedEntities(\TYPO3\CMS\Extbase\Persistence\ObjectStorage $entities);
45 
52  public function setChangedEntities(\TYPO3\CMS\Extbase\Persistence\ObjectStorage $entities);
53 
59  public function commit();
60 
61  // TODO refactor towards being closer to the Flow backend interface again
62 
70  public function getIdentifierByObject($object);
71 
80  public function getObjectByIdentifier($identifier, $className);
81 
88  public function isNewObject($object);
89 
97  public function getObjectCountByQuery(\TYPO3\CMS\Extbase\Persistence\QueryInterface $query);
98 
106  public function getObjectDataByQuery(\TYPO3\CMS\Extbase\Persistence\QueryInterface $query);
107 }
setPersistenceManager(\TYPO3\CMS\Extbase\Persistence\PersistenceManagerInterface $persistenceManager)
setDeletedEntities(\TYPO3\CMS\Extbase\Persistence\ObjectStorage $entities)
getObjectCountByQuery(\TYPO3\CMS\Extbase\Persistence\QueryInterface $query)
setChangedEntities(\TYPO3\CMS\Extbase\Persistence\ObjectStorage $entities)
setAggregateRootObjects(\TYPO3\CMS\Extbase\Persistence\ObjectStorage $objects)
getObjectDataByQuery(\TYPO3\CMS\Extbase\Persistence\QueryInterface $query)