‪TYPO3CMS  9.5
PersistenceManagerInterface.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 {
26  public function ‪persistAll();
27 
34  public function ‪clearState();
35 
42  public function ‪isNewObject($object);
43 
44  // @todo realign with Flow PersistenceManager again
45 
57  public function ‪getIdentifierByObject($object);
58 
68  public function ‪getObjectByIdentifier($identifier, $objectType = null, $useLazyLoading = false);
69 
79 
88  public function ‪getObjectDataByQuery(‪QueryInterface $query);
89 
97  public function ‪registerRepositoryClassName($className);
98 
104  public function ‪add($object);
105 
111  public function remove($object);
112 
119  public function ‪update($object);
120 
126  public function ‪injectSettings(array $settings);
127 
135  public function ‪convertObjectToIdentityArray($object);
136 
146  public function ‪convertObjectsToIdentityArrays(array $array);
147 
154  public function ‪createQueryForType($type);
155 }
‪TYPO3\CMS\Extbase\Persistence\PersistenceManagerInterface
Definition: PersistenceManagerInterface.php:21
‪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:26
‪TYPO3\CMS\Extbase\Persistence\PersistenceManagerInterface\getObjectCountByQuery
‪int getObjectCountByQuery(QueryInterface $query)
‪TYPO3\CMS\Extbase\Persistence\PersistenceManagerInterface\convertObjectToIdentityArray
‪array convertObjectToIdentityArray($object)
‪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
‪TYPO3\CMS\Extbase\Persistence\PersistenceManagerInterface\injectSettings
‪injectSettings(array $settings)
‪TYPO3\CMS\Extbase\Persistence\PersistenceManagerInterface\persistAll
‪persistAll()
‪TYPO3\CMS\Extbase\Persistence\PersistenceManagerInterface\getIdentifierByObject
‪mixed getIdentifierByObject($object)
‪TYPO3\CMS\Extbase\Persistence\PersistenceManagerInterface\isNewObject
‪bool isNewObject($object)
‪TYPO3\CMS\Extbase\Persistence\PersistenceManagerInterface\getObjectByIdentifier
‪object getObjectByIdentifier($identifier, $objectType=null, $useLazyLoading=false)
‪TYPO3\CMS\Extbase\Persistence\PersistenceManagerInterface\convertObjectsToIdentityArrays
‪array convertObjectsToIdentityArrays(array $array)
‪TYPO3\CMS\Extbase\Persistence\PersistenceManagerInterface\add
‪add($object)