‪TYPO3CMS  10.4
BackendInterface.php
Go to the documentation of this file.
1 <?php
2 
3 /*
4  * This file is part of the TYPO3 CMS project.
5  *
6  * It is free software; you can redistribute it and/or modify it under
7  * the terms of the GNU General Public License, either version 2
8  * of the License, or any later version.
9  *
10  * For the full copyright and license information, please read the
11  * LICENSE.txt file that was distributed with this source code.
12  *
13  * The TYPO3 project - inspiring people to share!
14  */
15 
17 
21 
26 {
32  public function ‪setPersistenceManager(‪PersistenceManagerInterface $persistenceManager);
33 
39  public function ‪setAggregateRootObjects(‪ObjectStorage $objects);
40 
46  public function ‪setDeletedEntities(‪ObjectStorage $entities);
47 
53  public function ‪setChangedEntities(‪ObjectStorage $entities);
54 
58  public function ‪commit();
59 
60  // @todo refactor towards being closer to the Flow backend interface again
61 
69  public function ‪getIdentifierByObject($object);
70 
79  public function ‪getObjectByIdentifier($identifier, $className);
80 
87  public function ‪isNewObject($object);
88 
96 
104 }
‪TYPO3\CMS\Extbase\Persistence\PersistenceManagerInterface
Definition: PersistenceManagerInterface.php:22
‪TYPO3\CMS\Extbase\Persistence\QueryInterface
Definition: QueryInterface.php:29
‪TYPO3\CMS\Extbase\Persistence\Generic\BackendInterface\getObjectDataByQuery
‪array getObjectDataByQuery(QueryInterface $query)
‪TYPO3\CMS\Extbase\Persistence\Generic\BackendInterface\getIdentifierByObject
‪string null getIdentifierByObject($object)
‪TYPO3\CMS\Extbase\Persistence\Generic\BackendInterface\setDeletedEntities
‪setDeletedEntities(ObjectStorage $entities)
‪TYPO3\CMS\Extbase\Persistence\ObjectStorage
Definition: ObjectStorage.php:28
‪TYPO3\CMS\Extbase\Persistence\Generic\BackendInterface\getObjectByIdentifier
‪object null getObjectByIdentifier($identifier, $className)
‪TYPO3\CMS\Extbase\Persistence\Generic\BackendInterface
Definition: BackendInterface.php:26
‪TYPO3\CMS\Extbase\Persistence\Generic\BackendInterface\setPersistenceManager
‪setPersistenceManager(PersistenceManagerInterface $persistenceManager)
‪TYPO3\CMS\Extbase\Persistence\Generic
Definition: Backend.php:16
‪TYPO3\CMS\Extbase\Persistence\Generic\BackendInterface\commit
‪commit()
‪TYPO3\CMS\Extbase\Persistence\Generic\BackendInterface\setChangedEntities
‪setChangedEntities(ObjectStorage $entities)
‪TYPO3\CMS\Extbase\Persistence\Generic\BackendInterface\getObjectCountByQuery
‪int getObjectCountByQuery(QueryInterface $query)
‪TYPO3\CMS\Extbase\Persistence\Generic\BackendInterface\setAggregateRootObjects
‪setAggregateRootObjects(ObjectStorage $objects)
‪TYPO3\CMS\Extbase\Persistence\Generic\BackendInterface\isNewObject
‪bool isNewObject($object)