‪TYPO3CMS  ‪main
PersistenceManagerInterface.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 
22 {
27  public function ‪persistAll();
28 
35  public function ‪clearState();
36 
43  public function ‪isNewObject($object);
44 
45  // @todo realign with Flow PersistenceManager again
46 
58  public function ‪getIdentifierByObject($object);
59 
69  public function ‪getObjectByIdentifier(‪$identifier, $objectType = null, $useLazyLoading = false);
70 
77 
83  public function ‪getObjectDataByQuery(‪QueryInterface $query);
84 
90  public function ‪registerRepositoryClassName($className);
91 
97  public function ‪add($object);
98 
104  public function remove($object);
105 
112  public function ‪update($object);
113 
123  public function ‪createQueryForType($type);
124 }
‪TYPO3\CMS\Extbase\Persistence\PersistenceManagerInterface
Definition: PersistenceManagerInterface.php:22
‪TYPO3\CMS\Extbase\Persistence\PersistenceManagerInterface\update
‪update($object)
‪TYPO3\CMS\Extbase\Persistence\PersistenceManagerInterface\getObjectDataByQuery
‪array getObjectDataByQuery(QueryInterface $query)
‪TYPO3\CMS\Extbase\Persistence\QueryInterface
Definition: QueryInterface.php:30
‪TYPO3\CMS\Extbase\Persistence\PersistenceManagerInterface\getObjectCountByQuery
‪int getObjectCountByQuery(QueryInterface $query)
‪TYPO3\CMS\Extbase\Persistence\PersistenceManagerInterface\clearState
‪clearState()
‪TYPO3\CMS\Extbase\Persistence\PersistenceManagerInterface\registerRepositoryClassName
‪registerRepositoryClassName($className)
‪TYPO3\CMS\Extbase\Persistence\PersistenceManagerInterface\createQueryForType
‪QueryInterface createQueryForType($type)
‪TYPO3\CMS\Extbase\Persistence
Definition: ClassesConfiguration.php:18
‪TYPO3\CMS\Extbase\Persistence\PersistenceManagerInterface\persistAll
‪persistAll()
‪TYPO3\CMS\Extbase\Persistence\PersistenceManagerInterface\getObjectByIdentifier
‪object null getObjectByIdentifier($identifier, $objectType=null, $useLazyLoading=false)
‪TYPO3\CMS\Extbase\Persistence\PersistenceManagerInterface\getIdentifierByObject
‪mixed getIdentifierByObject($object)
‪TYPO3\CMS\Extbase\Persistence\PersistenceManagerInterface\isNewObject
‪bool isNewObject($object)
‪TYPO3\CMS\Extbase\Persistence\PersistenceManagerInterface\add
‪add($object)
‪TYPO3\CMS\Webhooks\Message\$identifier
‪identifier readonly string $identifier
Definition: FileAddedMessage.php:37