‪TYPO3CMS  10.4
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 
78 
85  public function ‪getObjectDataByQuery(‪QueryInterface $query);
86 
92  public function ‪registerRepositoryClassName($className);
93 
99  public function ‪add($object);
100 
106  public function remove($object);
107 
114  public function ‪update($object);
115 
121  public function ‪injectSettings(array $settings);
122 
130  public function ‪convertObjectToIdentityArray($object);
131 
141  public function ‪convertObjectsToIdentityArrays(array $array);
142 
149  public function ‪createQueryForType($type);
150 }
‪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:29
‪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
Definition: ClassesConfiguration.php:18
‪TYPO3\CMS\Extbase\Persistence\PersistenceManagerInterface\injectSettings
‪injectSettings(array $settings)
‪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\convertObjectsToIdentityArrays
‪array convertObjectsToIdentityArrays(array $array)
‪TYPO3\CMS\Extbase\Persistence\PersistenceManagerInterface\add
‪add($object)