Метод |
Описание |
|
__construct ( Doctrine\CouchDB\CouchDBClient $couchClient, Configuration $config = null, Doctrine\Common\EventManager $evm = null ) |
|
|
clear ( string $objectName = null ) |
Clears the ObjectManager. All objects that are currently managed
by this ObjectManager become detached. |
|
contains ( object $document ) : boolean |
|
|
create ( array | Doctrine\CouchDB\CouchDBClient $couchParams, Configuration $config = null, Doctrine\Common\EventManager $evm = null ) : DocumentManager |
Factory method for a Document Manager. |
|
createLuceneQuery ( string $designDocName, string $viewName ) : ODMLuceneQuery |
Create a CouchDB-Lucene Query. |
|
createNativeQuery ( string $designDocName, string $viewName ) : Doctrine\CouchDB\View\Query |
Create a Native query for the view of the specified design document. |
|
createQuery ( string $designDocName, string $viewName ) : ODMQuery |
Create a Query for the view in the specified design document. |
|
detach ( $document ) |
|
|
find ( string $documentName, string $id ) : object |
Find the Document with the given id. |
|
flush ( ) |
|
|
getClassMetadata ( string $class ) : ClassMetadata |
|
|
getClassMetadataFactory ( ) : ClassMetadataFactory |
|
|
getConfiguration ( ) : Configuration |
|
|
getCouchDBClient ( ) : Doctrine\CouchDB\CouchDBClient |
|
|
getDatabase ( ) |
|
|
getEventManager ( ) : Doctrine\Common\EventManager |
|
|
getHttpClient ( ) |
|
|
getMetadataFactory ( ) : ClassMetadataFactory |
|
|
getProxyFactory ( ) : ProxyFactory |
|
|
getReference ( string $documentName, mixed $identifier ) : object |
Gets a reference to the entity identified by the given type and identifier
without actually loading it, if the entity is not yet loaded. |
|
getRepository ( string $documentName ) : DocumentRepository |
|
|
getUnitOfWork ( ) : UnitOfWork |
|
|
initializeObject ( object $obj ) |
Initialize an object that is a lazy load proxy, or do nothing. |
|
merge ( $document ) |
|
|
persist ( $object ) |
|
|
refresh ( object $document ) |
Refresh the given document by querying the CouchDB to get the current state. |
|
remove ( $object ) |
|
|