TYPO3 CMS  TYPO3_6-2
PersistenceManagerInterface.php
Go to the documentation of this file.
1 <?php
3 
20 
28  public function persistAll();
29 
38  public function clearState();
39 
47  public function isNewObject($object);
48 
49  // TODO realign with Flow PersistenceManager again
50 
63  public function getIdentifierByObject($object);
64 
75  public function getObjectByIdentifier($identifier, $objectType = NULL, $useLazyLoading = FALSE);
76 
86  public function getObjectCountByQuery(QueryInterface $query);
87 
97  public function getObjectDataByQuery(QueryInterface $query);
98 
107  public function registerRepositoryClassName($className);
108 
116  public function add($object);
117 
125  public function remove($object);
126 
135  public function update($object);
136 
144  public function injectSettings(array $settings);
145 
154  public function convertObjectToIdentityArray($object);
155 
166  public function convertObjectsToIdentityArrays(array $array);
167 
175  public function createQueryForType($type);
176 }
getObjectByIdentifier($identifier, $objectType=NULL, $useLazyLoading=FALSE)