PHP Интерфейс AppserverIo\Appserver\Core\Api\Node\PersistenceUnitNodeInterface

Автор: Tim Wagner ([email protected])
Наследование: extends AppserverIo\Configuration\Interfaces\NodeInterface
Показать файл Открыть проект Примеры использования интерфейса

Открытые методы

Метод Описание
getAnnotationRegistries ( ) : array Returns the entity managers annotation registries configuration.
getDatasource ( ) : AppserverIo\Appserver\Core\Api\Node\DatasourceNode Returns the entity manager's datasource configuration.
getDirectories ( ) : DirectoryNode[] Array with the directories.
getDirectoriesAsArray ( string $prepend = null ) : The Returns an array with the directories as string value, each prepended with the passed value.
getFactory ( ) : string Returns the entity manager's factory class name.
getInterface ( ) : string Returns the entity manager's interface.
getMetadataCacheConfiguration ( ) : AppserverIo\Appserver\Core\Api\Node\MetadataCacheConfigurationNode Returns the entity manager's metadata cache configuration.
getMetadataConfiguration ( ) : AppserverIo\Appserver\Core\Api\Node\MetadataConfigurationNode Returns the entity manager's metadata configuration.
getName ( ) : string Returns the entity manager's name.
getParam ( string $name ) : mixed Returns the param with the passed name casted to the specified type.
getParams ( ) : array Array with the handler params to use.
getParamsAsArray ( ) : array Returns the params casted to the defined type as associative array.
getQueryCacheConfiguration ( ) : AppserverIo\Appserver\Core\Api\Node\MetadataConfigurationNode Returns the entity manager's query cache configuration.
getResultCacheConfiguration ( ) : AppserverIo\Appserver\Core\Api\Node\MetadataConfigurationNode Returns the entity manager's result cache configuration.
getType ( ) : string Returns the entity manager's class name.

Описание методов

getAnnotationRegistries() публичный Метод

Returns the entity managers annotation registries configuration.
public getAnnotationRegistries ( ) : array
Результат array The entity managers annotation registries configuration

getDatasource() публичный Метод

Returns the entity manager's datasource configuration.
public getDatasource ( ) : AppserverIo\Appserver\Core\Api\Node\DatasourceNode
Результат AppserverIo\Appserver\Core\Api\Node\DatasourceNode The entity manager's datasource configuration

getDirectories() публичный Метод

Array with the directories.
public getDirectories ( ) : DirectoryNode[]
Результат DirectoryNode[]

getDirectoriesAsArray() публичный Метод

Returns an array with the directories as string value, each prepended with the passed value.
public getDirectoriesAsArray ( string $prepend = null ) : The
$prepend string Prepend to each directory
Результат The array with the directories as string

getFactory() публичный Метод

Returns the entity manager's factory class name.
public getFactory ( ) : string
Результат string The entity manager's factory class name

getInterface() публичный Метод

Returns the entity manager's interface.
public getInterface ( ) : string
Результат string The entity manager's interface

getMetadataCacheConfiguration() публичный Метод

Returns the entity manager's metadata cache configuration.
public getMetadataCacheConfiguration ( ) : AppserverIo\Appserver\Core\Api\Node\MetadataCacheConfigurationNode
Результат AppserverIo\Appserver\Core\Api\Node\MetadataCacheConfigurationNode The entity manager's metadata cache configuration

getMetadataConfiguration() публичный Метод

Returns the entity manager's metadata configuration.
public getMetadataConfiguration ( ) : AppserverIo\Appserver\Core\Api\Node\MetadataConfigurationNode
Результат AppserverIo\Appserver\Core\Api\Node\MetadataConfigurationNode The entity manager's metadata configuration

getName() публичный Метод

Returns the entity manager's name.
public getName ( ) : string
Результат string The entity manager's name

getParam() публичный Метод

Returns the param with the passed name casted to the specified type.
public getParam ( string $name ) : mixed
$name string The name of the param to be returned
Результат mixed The requested param casted to the specified type

getParams() публичный Метод

Array with the handler params to use.
public getParams ( ) : array
Результат array

getParamsAsArray() публичный Метод

Returns the params casted to the defined type as associative array.
public getParamsAsArray ( ) : array
Результат array The array with the casted params

getQueryCacheConfiguration() публичный Метод

Returns the entity manager's query cache configuration.
public getQueryCacheConfiguration ( ) : AppserverIo\Appserver\Core\Api\Node\MetadataConfigurationNode
Результат AppserverIo\Appserver\Core\Api\Node\MetadataConfigurationNode The entity manager's query cache configuration

getResultCacheConfiguration() публичный Метод

Returns the entity manager's result cache configuration.
public getResultCacheConfiguration ( ) : AppserverIo\Appserver\Core\Api\Node\MetadataConfigurationNode
Результат AppserverIo\Appserver\Core\Api\Node\MetadataConfigurationNode The entity manager's result cache configuration

getType() публичный Метод

Returns the entity manager's class name.
public getType ( ) : string
Результат string The entity manager's class name