storage
Summary
Storage is a global context for the core.
Item Index
Methods
- getConfiguration static
- getDatabase static
- getEntities static
- getMenu static
- getPermissions static
- getServerConfiguration static
- getWebServiceScopes static
- setConfiguration static
- setDatabase static
- setEntities static
- setMenu static
- setPermissions static
- setServerConfiguration static
- setWebServiceScopes static
Methods
getConfiguration
Syntax
Summary
Gets OpenVeo configuration.
Returns:
The OpenVeo configuration
getDatabase
Syntax
getDatabase
()
Database
static
Summary
Gets the current database instance.
Returns:
A Database object
getMenu
Syntax
Summary
Gets the computed back end menu with all links.
Returns:
The list of back end links
getPermissions
Syntax
Summary
Gets the list of permissions defined by plugins.
Returns:
permissions
getServerConfiguration
Syntax
Summary
Gets the application server configuration.
Returns:
The server configuration
getWebServiceScopes
Syntax
Summary
Gets the list of web service scopes defined by plugins.
Returns:
scopes
setConfiguration
Syntax
setConfiguration
-
conf
Summary
Sets the OpenVeo configuration.
Parameters:
-
conf
ObjectThe OpenVeo configuration
setDatabase
Syntax
setDatabase
-
newDatabase
Summary
Sets a new database instance as the current database.
Parameters:
-
newDatabase
DatabaseThe new database of the application
setEntities
Syntax
setEntities
-
newEntities
Summary
Sets the list of entities.
Parameters:
-
newEntities
ObjectThe list of entities
setMenu
Syntax
setMenu
-
newMenu
Summary
Sets the back end menu list of links.
Parameters:
-
newMenu
ArrayThe list of back end menu links
setPermissions
Syntax
setPermissions
-
permissions
Summary
Sets the list of permissions.
Parameters:
-
permissions
ObjectThe new list of permissions
setServerConfiguration
Syntax
setServerConfiguration
-
configuration
Summary
Sets the application server configuration.
Parameters:
-
configuration
ObjectThe server configuration
setWebServiceScopes
Syntax
setWebServiceScopes
-
newScopes
Summary
Sets the web service list of scopes.
Parameters:
-
newScopes
ObjectThe new list of scopes for the web service