NullMapper Class Reference

Detailed Description

NullMapper acts as there is no mapper.

Author
ingo herwig ingo@.nosp@m.wemo.nosp@m.ve.co.nosp@m.m

Definition at line 27 of file NullMapper.php.

+ Inheritance diagram for NullMapper:

Public Member Functions

 getType ()
 
 getTypeDisplayName (Message $message)
 
 getTypeDescription (Message $message)
 
 getPkNames ()
 
 getRelations ($hierarchyType='all')
 
 hasRelation ($roleName)
 
 getRelation ($roleName)
 
 getRelationsByType ($type)
 
 getAttributes (array $tags=[], $matchMode='all')
 
 hasAttribute ($name)
 
 getAttribute ($name)
 
 getReferences ()
 
 getAttributeDisplayName ($name, Message $message)
 
 getAttributeDescription ($name, Message $message)
 
 getProperties ()
 
 isSortable ($roleName=null)
 
 getSortkey ($roleName=null)
 
 getDefaultOrder ($roleName=null)
 
 load (ObjectId $oid, $buildDepth=BuildDepth::SINGLE)
 
 create ($type, $buildDepth=BuildDepth::SINGLE)
 
 save (PersistentObject $object)
 
 delete (PersistentObject $object)
 
 getOIDs ($type, $criteria=null, $orderby=null, PagingInfo $pagingInfo=null)
 
 loadObjects ($type, $buildDepth=BuildDepth::SINGLE, $criteria=null, $orderby=null, PagingInfo $pagingInfo=null)
 
 loadRelation (array $objects, $role, $buildDepth=BuildDepth::SINGLE, $criteria=null, $orderby=null, PagingInfo $pagingInfo=null)
 
 executeOperation (PersistenceOperation $operation)
 
 beginTransaction ()
 
 commitTransaction ()
 
 rollbackTransaction ()
 
 getStatements ()
 

Member Function Documentation

◆ getType()

getType ( )
See also
PersistenceMapper::getType()

Implements PersistenceMapper.

Definition at line 32 of file NullMapper.php.

◆ getTypeDisplayName()

getTypeDisplayName ( Message  $message)
See also
PersistenceMapper::getTypeDisplayName()

Implements PersistenceMapper.

Definition at line 39 of file NullMapper.php.

◆ getTypeDescription()

getTypeDescription ( Message  $message)
See also
PersistenceMapper::getTypeDescription()

Implements PersistenceMapper.

Definition at line 46 of file NullMapper.php.

◆ getPkNames()

getPkNames ( )
See also
PersistenceMapper::getPkNames()

Implements PersistenceMapper.

Definition at line 53 of file NullMapper.php.

◆ getRelations()

getRelations (   $hierarchyType = 'all')
See also
PersistenceMapper::getRelations()

Implements PersistenceMapper.

Definition at line 60 of file NullMapper.php.

◆ hasRelation()

hasRelation (   $roleName)
See also
PersistenceMapper::hasRelation()

Implements PersistenceMapper.

Definition at line 67 of file NullMapper.php.

◆ getRelation()

getRelation (   $roleName)
See also
PersistenceMapper::getRelation()

Implements PersistenceMapper.

Definition at line 74 of file NullMapper.php.

◆ getRelationsByType()

getRelationsByType (   $type)
See also
PersistenceMapper::getRelationsByType()

Implements PersistenceMapper.

Definition at line 81 of file NullMapper.php.

◆ getAttributes()

getAttributes ( array  $tags = [],
  $matchMode = 'all' 
)
See also
PersistenceMapper::getAttributes()

Implements PersistenceMapper.

Definition at line 88 of file NullMapper.php.

◆ hasAttribute()

hasAttribute (   $name)
See also
PersistenceMapper::hasAttribute()

Implements PersistenceMapper.

Definition at line 95 of file NullMapper.php.

◆ getAttribute()

getAttribute (   $name)
See also
PersistenceMapper::getAttribute()

Implements PersistenceMapper.

Definition at line 102 of file NullMapper.php.

◆ getReferences()

getReferences ( )
See also
PersistenceMapper::getReferences()

Implements PersistenceMapper.

Definition at line 109 of file NullMapper.php.

◆ getAttributeDisplayName()

getAttributeDisplayName (   $name,
Message  $message 
)
See also
PersistenceMapper::getAttributeDisplayName()

Implements PersistenceMapper.

Definition at line 116 of file NullMapper.php.

◆ getAttributeDescription()

getAttributeDescription (   $name,
Message  $message 
)
See also
PersistenceMapper::getAttributeDescription()

Implements PersistenceMapper.

Definition at line 123 of file NullMapper.php.

◆ getProperties()

getProperties ( )
See also
PersistenceMapper::getProperties()

Implements PersistenceMapper.

Definition at line 130 of file NullMapper.php.

◆ isSortable()

isSortable (   $roleName = null)
See also
PersistenceMapper::isSortable()

Implements PersistenceMapper.

Definition at line 137 of file NullMapper.php.

◆ getSortkey()

getSortkey (   $roleName = null)
See also
PersistenceMapper::getSortkey()

Implements PersistenceMapper.

Definition at line 144 of file NullMapper.php.

◆ getDefaultOrder()

getDefaultOrder (   $roleName = null)
See also
PersistenceMapper::getDefaultOrder()

Implements PersistenceMapper.

Definition at line 151 of file NullMapper.php.

◆ load()

load ( ObjectId  $oid,
  $buildDepth = BuildDepth::SINGLE 
)
See also
PersistenceMapper::load()

Implements PersistenceMapper.

Definition at line 158 of file NullMapper.php.

◆ create()

create (   $type,
  $buildDepth = BuildDepth::SINGLE 
)
See also
PersistenceMapper::create()

Implements PersistenceMapper.

Definition at line 165 of file NullMapper.php.

◆ save()

save ( PersistentObject  $object)
See also
PersistenceMapper::save()

Implements PersistenceMapper.

Definition at line 172 of file NullMapper.php.

◆ delete()

delete ( PersistentObject  $object)
See also
PersistenceMapper::delete()

Implements PersistenceMapper.

Definition at line 177 of file NullMapper.php.

◆ getOIDs()

getOIDs (   $type,
  $criteria = null,
  $orderby = null,
PagingInfo  $pagingInfo = null 
)
See also
PersistenceFacade::getOIDs()

Implements PersistenceMapper.

Definition at line 182 of file NullMapper.php.

◆ loadObjects()

loadObjects (   $type,
  $buildDepth = BuildDepth::SINGLE,
  $criteria = null,
  $orderby = null,
PagingInfo  $pagingInfo = null 
)
See also
PersistenceFacade::loadObjects()

Implements PersistenceMapper.

Definition at line 189 of file NullMapper.php.

◆ loadRelation()

loadRelation ( array  $objects,
  $role,
  $buildDepth = BuildDepth::SINGLE,
  $criteria = null,
  $orderby = null,
PagingInfo  $pagingInfo = null 
)
See also
PersistenceMapper::loadRelation()

Implements PersistenceMapper.

Definition at line 197 of file NullMapper.php.

◆ executeOperation()

executeOperation ( PersistenceOperation  $operation)
See also
PersistenceMapper::executeOperation()

Implements PersistenceMapper.

Definition at line 205 of file NullMapper.php.

◆ beginTransaction()

beginTransaction ( )
See also
PersistenceMapper::beginTransaction()

Implements PersistenceMapper.

Definition at line 212 of file NullMapper.php.

◆ commitTransaction()

commitTransaction ( )
See also
PersistenceMapper::commitTransaction()

Implements PersistenceMapper.

Definition at line 217 of file NullMapper.php.

◆ rollbackTransaction()

rollbackTransaction ( )
See also
PersistenceMapper::rollbackTransaction()

Implements PersistenceMapper.

Definition at line 222 of file NullMapper.php.

◆ getStatements()

getStatements ( )
See also
PersistenceMapper::getStatements()

Implements PersistenceMapper.

Definition at line 227 of file NullMapper.php.