mediatekformation

NonStrictReadWriteCachedEntityPersister extends AbstractEntityPersister
in package

Specific non-strict read/write cached entity persister

Table of Contents

$cache  : Cache
$cacheLogger  : CacheLogger|null
$class  : ClassMetadata
$hydrator  : EntityHydrator
$joinedAssociations  : array<string|int, string>|null
Associations configured as FETCH_EAGER, as well as all inverse one-to-one associations.
$metadataFactory  : ClassMetadataFactory
$persister  : EntityPersister
$queuedCache  : array<string|int, mixed>
$region  : Region
$regionName  : string
$timestampKey  : TimestampCacheKey
$timestampRegion  : TimestampRegion
$uow  : UnitOfWork
__construct()  : mixed
addInsert()  : mixed
{@inheritdoc}
afterTransactionComplete()  : mixed
{@inheritdoc}
afterTransactionRolledBack()  : mixed
{@inheritdoc}
count()  : mixed
{@inheritDoc}
delete()  : mixed
{@inheritdoc}
executeInserts()  : mixed
{@inheritdoc}
exists()  : mixed
{@inheritdoc}
expandCriteriaParameters()  : mixed
{@inheritdoc}
expandParameters()  : mixed
{@inheritdoc}
getCacheRegion()  : mixed
{@inheritdoc}
getClassMetadata()  : mixed
{@inheritdoc}
getCountSQL()  : mixed
{@inheritDoc}
getEntityHydrator()  : EntityHydrator
getInserts()  : mixed
{@inheritdoc}
getInsertSQL()  : mixed
{@inheritdoc}
getManyToManyCollection()  : mixed
{@inheritdoc}
getOneToManyCollection()  : mixed
{@inheritdoc}
getOwningTable()  : mixed
{@inheritdoc}
getResultSetMapping()  : mixed
{@inheritdoc}
getSelectConditionStatementSQL()  : mixed
{@inheritdoc}
getSelectSQL()  : mixed
{@inheritdoc}
load()  : mixed
{@inheritdoc}
loadAll()  : mixed
{@inheritdoc}
loadById()  : mixed
{@inheritdoc}
loadCriteria()  : mixed
{@inheritdoc}
loadManyToManyCollection()  : mixed
{@inheritdoc}
loadOneToManyCollection()  : mixed
{@inheritdoc}
loadOneToOneEntity()  : mixed
{@inheritdoc}
lock()  : mixed
{@inheritdoc}
refresh()  : mixed
{@inheritdoc}
storeEntityCache()  : bool
update()  : mixed
{@inheritdoc}
buildCollectionCacheKey()  : CollectionCacheKey
getHash()  : string
Generates a string of currently query
storeJoinedAssociations()  : void
updateCache()  : bool

Properties

$joinedAssociations

Associations configured as FETCH_EAGER, as well as all inverse one-to-one associations.

protected array<string|int, string>|null $joinedAssociations

Methods

addInsert()

{@inheritdoc}

public addInsert(mixed $entity) : mixed
Parameters
$entity : mixed
Return values
mixed

count()

{@inheritDoc}

public count([mixed $criteria = [] ]) : mixed
Parameters
$criteria : mixed = []
Return values
mixed

exists()

{@inheritdoc}

public exists(mixed $entity[, Criteria|null $extraConditions = null ]) : mixed
Parameters
$entity : mixed
$extraConditions : Criteria|null = null
Return values
mixed

expandParameters()

{@inheritdoc}

public expandParameters(mixed $criteria) : mixed
Parameters
$criteria : mixed
Return values
mixed

getCountSQL()

{@inheritDoc}

public getCountSQL([mixed $criteria = [] ]) : mixed
Parameters
$criteria : mixed = []
Return values
mixed

getManyToManyCollection()

{@inheritdoc}

public getManyToManyCollection(array<string|int, mixed> $assoc, mixed $sourceEntity[, mixed $offset = null ][, mixed $limit = null ]) : mixed
Parameters
$assoc : array<string|int, mixed>
$sourceEntity : mixed
$offset : mixed = null
$limit : mixed = null
Return values
mixed

getOneToManyCollection()

{@inheritdoc}

public getOneToManyCollection(array<string|int, mixed> $assoc, mixed $sourceEntity[, mixed $offset = null ][, mixed $limit = null ]) : mixed
Parameters
$assoc : array<string|int, mixed>
$sourceEntity : mixed
$offset : mixed = null
$limit : mixed = null
Return values
mixed

getOwningTable()

{@inheritdoc}

public getOwningTable(mixed $fieldName) : mixed
Parameters
$fieldName : mixed
Return values
mixed

getSelectConditionStatementSQL()

{@inheritdoc}

public getSelectConditionStatementSQL(mixed $field, mixed $value[, mixed $assoc = null ][, mixed $comparison = null ]) : mixed
Parameters
$field : mixed
$value : mixed
$assoc : mixed = null
$comparison : mixed = null
Return values
mixed

getSelectSQL()

{@inheritdoc}

public getSelectSQL(mixed $criteria[, mixed $assoc = null ][, mixed $lockMode = null ][, mixed $limit = null ][, mixed $offset = null ][, array<string|int, mixed>|null $orderBy = null ]) : mixed
Parameters
$criteria : mixed
$assoc : mixed = null
$lockMode : mixed = null
$limit : mixed = null
$offset : mixed = null
$orderBy : array<string|int, mixed>|null = null
Return values
mixed

load()

{@inheritdoc}

public load(array<string|int, mixed> $criteria[, mixed $entity = null ][, mixed $assoc = null ][, array<string|int, mixed> $hints = [] ][, mixed $lockMode = null ][, mixed $limit = null ][, array<string|int, mixed>|null $orderBy = null ]) : mixed
Parameters
$criteria : array<string|int, mixed>
$entity : mixed = null
$assoc : mixed = null
$hints : array<string|int, mixed> = []
$lockMode : mixed = null
$limit : mixed = null
$orderBy : array<string|int, mixed>|null = null
Return values
mixed

loadAll()

{@inheritdoc}

public loadAll([array<string|int, mixed> $criteria = [] ][, array<string|int, mixed>|null $orderBy = null ][, mixed $limit = null ][, mixed $offset = null ]) : mixed
Parameters
$criteria : array<string|int, mixed> = []
$orderBy : array<string|int, mixed>|null = null
$limit : mixed = null
$offset : mixed = null
Return values
mixed

loadById()

{@inheritdoc}

public loadById(array<string|int, mixed> $identifier[, mixed $entity = null ]) : mixed
Parameters
$identifier : array<string|int, mixed>
$entity : mixed = null
Return values
mixed

loadOneToOneEntity()

{@inheritdoc}

public loadOneToOneEntity(array<string|int, mixed> $assoc, mixed $sourceEntity[, array<string|int, mixed> $identifier = [] ]) : mixed
Parameters
$assoc : array<string|int, mixed>
$sourceEntity : mixed
$identifier : array<string|int, mixed> = []
Return values
mixed

lock()

{@inheritdoc}

public lock(array<string|int, mixed> $criteria, mixed $lockMode) : mixed
Parameters
$criteria : array<string|int, mixed>
$lockMode : mixed
Return values
mixed

refresh()

{@inheritdoc}

public refresh(array<string|int, mixed> $id, mixed $entity[, mixed $lockMode = null ]) : mixed
Parameters
$id : array<string|int, mixed>
$entity : mixed
$lockMode : mixed = null
Return values
mixed

getHash()

Generates a string of currently query

protected getHash(string $query, array<string|int, string>|Criteria $criteria[, array<string|int, string> $orderBy = null ][, int $limit = null ][, int $offset = null ]) : string
Parameters
$query : string
$criteria : array<string|int, string>|Criteria
$orderBy : array<string|int, string> = null
$limit : int = null
$offset : int = null
Return values
string

storeJoinedAssociations()

private storeJoinedAssociations(object $entity) : void
Parameters
$entity : object
Return values
void

Search results