public class LocalObjectLoader extends Object
| Constructor and Description |
|---|
LocalObjectLoader() |
| Modifier and Type | Method and Description |
|---|---|
static Integer |
deriveVersionNumber(Object value)
Converts Object to an Integer representing a version number.
|
static ActivityDef |
getActDef(String actName,
int actVersion)
Retrieves a named version of ActivityDef from the database
|
static CompositeActivityDef |
getCompActDef(String actName,
int actVersion)
Retrieves a named version of CompositeActivityDef from the database
|
static ActivityDef |
getElemActDef(String actName,
int actVersion)
Retrieves a named version of ActivityDef from the database
|
static PropertyDescriptionList |
getPropertyDescriptionList(CastorHashMap properties) |
static PropertyDescriptionList |
getPropertyDescriptionList(String name,
int version) |
static Query |
getQuery(CastorHashMap properties)
Retrieves a query from the database finding data in the Vertex properties
|
static Query |
getQuery(String queryName,
int queryVersion)
Retrieves a named version of a query from the database
|
static Schema |
getSchema(CastorHashMap properties)
Retrieves a schema from the database finding data in the Vertex properties
|
static Schema |
getSchema(String schemaName,
int schemaVersion)
Retrieves a named version of a schema from the database
|
static Script |
getScript(CastorHashMap properties)
Retrieves a script from the database finding data in the Vertex properties
|
static Script |
getScript(String scriptName,
int scriptVersion)
Retrieves a named version of a script from the database
|
static StateMachine |
getStateMachine(CastorHashMap properties) |
static StateMachine |
getStateMachine(String smName,
int smVersion)
Retrieves a named version of a StateMachine from the database
|
public static Script getScript(String scriptName, int scriptVersion) throws ObjectNotFoundException, InvalidDataException
scriptName - - script namescriptVersion - - integer script versionObjectNotFoundException - - When script or version does not existInvalidDataException - - When the stored script data was invalidpublic static Script getScript(CastorHashMap properties) throws InvalidDataException, ObjectNotFoundException
properties - vertex propertiesInvalidDataExceptionObjectNotFoundExceptionpublic static Query getQuery(String queryName, int queryVersion) throws ObjectNotFoundException, InvalidDataException
queryName - - query namequeryVersion - - integer query versionObjectNotFoundException - - When query or version does not existInvalidDataException - - When the stored query data was invalidpublic static Query getQuery(CastorHashMap properties) throws InvalidDataException, ObjectNotFoundException
properties - vertex propertiesInvalidDataExceptionObjectNotFoundExceptionpublic static Schema getSchema(String schemaName, int schemaVersion) throws ObjectNotFoundException, InvalidDataException
schemaName - - schema nameschemaVersion - - integer schema versionObjectNotFoundException - - When schema or version does not existInvalidDataException - - When the stored schema data was invalidpublic static Schema getSchema(CastorHashMap properties) throws InvalidDataException, ObjectNotFoundException
properties - vertex propertiesInvalidDataExceptionObjectNotFoundExceptionpublic static ActivityDef getActDef(String actName, int actVersion) throws ObjectNotFoundException, InvalidDataException
actName - - activity nameactVersion - - integer activity versionObjectNotFoundException - - When activity or version does not existInvalidDataException - - When the stored script data was invalidpublic static CompositeActivityDef getCompActDef(String actName, int actVersion) throws ObjectNotFoundException, InvalidDataException
actName - - activity nameactVersion - - integer activity versionObjectNotFoundException - - When activity or version does not existInvalidDataException - - When the stored script data was invalidpublic static ActivityDef getElemActDef(String actName, int actVersion) throws ObjectNotFoundException, InvalidDataException
actName - - activity nameactVersion - - integer activity versionObjectNotFoundException - - When activity or version does not existInvalidDataException - - When the stored script data was invalidpublic static StateMachine getStateMachine(String smName, int smVersion) throws ObjectNotFoundException, InvalidDataException
smName - - state machine namesmVersion - - integer state machine versionObjectNotFoundException - - When state machine or version does not existInvalidDataException - - When the stored state machine data was invalidpublic static StateMachine getStateMachine(CastorHashMap properties) throws InvalidDataException, ObjectNotFoundException
properties - InvalidDataExceptionObjectNotFoundExceptionpublic static PropertyDescriptionList getPropertyDescriptionList(String name, int version) throws ObjectNotFoundException, InvalidDataException
name - version - ObjectNotFoundExceptionInvalidDataExceptionpublic static PropertyDescriptionList getPropertyDescriptionList(CastorHashMap properties) throws InvalidDataException, ObjectNotFoundException
properties - InvalidDataExceptionObjectNotFoundExceptionpublic static Integer deriveVersionNumber(Object value) throws InvalidDataException
value - the Object containing a version numberInvalidDataExceptionCopyright © 1997–2019 CRISTAL-iSE. All rights reserved.