‪TYPO3CMS  ‪main
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 {
30  public function ‪setPersistenceManager(‪PersistenceManagerInterface $persistenceManager);
31 
35  public function ‪setAggregateRootObjects(‪ObjectStorage $objects);
36 
40  public function ‪setDeletedEntities(‪ObjectStorage $entities);
41 
45  public function ‪setChangedEntities(‪ObjectStorage $entities);
46 
50  public function ‪commit();
51 
52  // @todo refactor towards being closer to the Flow backend interface again
53 
61  public function ‪getIdentifierByObject($object);
62 
71  public function ‪getObjectByIdentifier(‪$identifier, $className);
72 
79  public function ‪isNewObject($object);
80 
87 
93  public function ‪getObjectDataByQuery(‪QueryInterface $query);
94 }
‪TYPO3\CMS\Extbase\Persistence\PersistenceManagerInterface
Definition: PersistenceManagerInterface.php:24
‪TYPO3\CMS\Extbase\Persistence\QueryInterface
Definition: QueryInterface.php:30
‪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:34
‪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:18
‪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)
‪TYPO3\CMS\Webhooks\Message\$identifier
‪identifier readonly string $identifier
Definition: FileAddedMessage.php:37