‪TYPO3CMS  9.5
BackendInterface.php
Go to the documentation of this file.
1 <?php
3 
4 /*
5  * This file is part of the TYPO3 CMS project.
6  *
7  * It is free software; you can redistribute it and/or modify it under
8  * the terms of the GNU General Public License, either version 2
9  * of the License, or any later version.
10  *
11  * For the full copyright and license information, please read the
12  * LICENSE.txt file that was distributed with this source code.
13  *
14  * The TYPO3 project - inspiring people to share!
15  */
16 
21 {
27  public function ‪setPersistenceManager(\‪TYPO3\CMS\‪Extbase\Persistence\‪PersistenceManagerInterface $persistenceManager);
28 
34  public function ‪setAggregateRootObjects(\‪TYPO3\CMS\‪Extbase\Persistence\‪ObjectStorage $objects);
35 
41  public function ‪setDeletedEntities(\‪TYPO3\CMS\‪Extbase\Persistence\‪ObjectStorage $entities);
42 
48  public function ‪setChangedEntities(\‪TYPO3\CMS\‪Extbase\Persistence\‪ObjectStorage $entities);
49 
53  public function ‪commit();
54 
55  // @todo refactor towards being closer to the Flow backend interface again
56 
64  public function ‪getIdentifierByObject($object);
65 
74  public function ‪getObjectByIdentifier($identifier, $className);
75 
82  public function ‪isNewObject($object);
83 
90  public function ‪getObjectCountByQuery(\‪TYPO3\CMS\‪Extbase\Persistence\‪QueryInterface $query);
91 
98  public function ‪getObjectDataByQuery(\‪TYPO3\CMS\‪Extbase\Persistence\‪QueryInterface $query);
99 }
‪TYPO3\CMS\Extbase\Persistence\PersistenceManagerInterface
Definition: PersistenceManagerInterface.php:21
‪TYPO3\CMS\Extbase\Annotation
Definition: IgnoreValidation.php:4
‪TYPO3\CMS\Extbase\Persistence\QueryInterface
Definition: QueryInterface.php:26
‪TYPO3
‪TYPO3\CMS\Extbase\Persistence\Generic\BackendInterface\getIdentifierByObject
‪string null getIdentifierByObject($object)
‪TYPO3\CMS\Extbase\Persistence\ObjectStorage
Definition: ObjectStorage.php:26
‪TYPO3\CMS\Extbase\Persistence\Generic\BackendInterface\setChangedEntities
‪setChangedEntities(\TYPO3\CMS\Extbase\Persistence\ObjectStorage $entities)
‪TYPO3\CMS\Extbase\Persistence\Generic\BackendInterface\setDeletedEntities
‪setDeletedEntities(\TYPO3\CMS\Extbase\Persistence\ObjectStorage $entities)
‪TYPO3\CMS\Extbase\Persistence\Generic\BackendInterface\getObjectByIdentifier
‪object null getObjectByIdentifier($identifier, $className)
‪TYPO3\CMS\Extbase\Persistence\Generic\BackendInterface\getObjectDataByQuery
‪array getObjectDataByQuery(\TYPO3\CMS\Extbase\Persistence\QueryInterface $query)
‪TYPO3\CMS\Extbase\Persistence\Generic\BackendInterface
Definition: BackendInterface.php:21
‪TYPO3\CMS\Extbase\Persistence\Generic\BackendInterface\setAggregateRootObjects
‪setAggregateRootObjects(\TYPO3\CMS\Extbase\Persistence\ObjectStorage $objects)
‪TYPO3\CMS\Extbase\Persistence\Generic
Definition: Backend.php:2
‪TYPO3\CMS\Extbase\Persistence\Generic\BackendInterface\commit
‪commit()
‪TYPO3\CMS\Extbase\Persistence\Generic\BackendInterface\getObjectCountByQuery
‪int getObjectCountByQuery(\TYPO3\CMS\Extbase\Persistence\QueryInterface $query)
‪TYPO3\CMS\Extbase\Persistence\Generic\BackendInterface\setPersistenceManager
‪setPersistenceManager(\TYPO3\CMS\Extbase\Persistence\PersistenceManagerInterface $persistenceManager)
‪TYPO3\CMS\Extbase\Persistence\Generic\BackendInterface\isNewObject
‪bool isNewObject($object)