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 ActivityDef |
getActDef(String actName,
int actVersion,
TransactionKey transactionKey) |
static CompositeActivityDef |
getCompActDef(String actName,
int actVersion)
Retrieves a named version of CompositeActivityDef from the database
|
static CompositeActivityDef |
getCompActDef(String actName,
int actVersion,
TransactionKey transactionKey) |
static ActivityDef |
getElemActDef(String actName,
int actVersion)
Retrieves a named version of ActivityDef from the database
|
static ActivityDef |
getElemActDef(String actName,
int actVersion,
TransactionKey transactionKey) |
static PropertyDescriptionList |
getPropertyDescriptionList(CastorHashMap properties) |
static PropertyDescriptionList |
getPropertyDescriptionList(CastorHashMap properties,
TransactionKey transactionKey) |
static PropertyDescriptionList |
getPropertyDescriptionList(String name,
int version) |
static PropertyDescriptionList |
getPropertyDescriptionList(String name,
int version,
TransactionKey transactionKey) |
static Query |
getQuery(CastorHashMap properties)
Retrieves a query from the database finding data in the Vertex properties
|
static Query |
getQuery(CastorHashMap properties,
TransactionKey transactionKey) |
static Query |
getQuery(String queryName,
int queryVersion)
Retrieves a named version of a query from the database
|
static Query |
getQuery(String queryName,
int queryVersion,
TransactionKey transactionKey) |
static Schema |
getSchema(CastorHashMap properties)
Retrieves a schema from the database finding data in the Vertex properties
|
static Schema |
getSchema(CastorHashMap properties,
TransactionKey transactionKey) |
static Schema |
getSchema(String schemaName,
int schemaVersion)
Retrieves a named version of a schema from the database
|
static Schema |
getSchema(String schemaName,
int schemaVersion,
TransactionKey transactionKey) |
static Script |
getScript(CastorHashMap properties)
Retrieves a script from the database finding data in the Vertex properties
|
static Script |
getScript(CastorHashMap properties,
TransactionKey transactionKey) |
static Script |
getScript(String scriptName,
int scriptVersion)
Retrieves a named version of a script from the database
|
static Script |
getScript(String scriptName,
int scriptVersion,
TransactionKey transactionKey) |
static StateMachine |
getStateMachine(CastorHashMap properties) |
static StateMachine |
getStateMachine(CastorHashMap properties,
TransactionKey transactionKey) |
static StateMachine |
getStateMachine(String smName,
int smVersion)
Retrieves a named version of a StateMachine from the database
|
static StateMachine |
getStateMachine(String smName,
int smVersion,
TransactionKey transactionKey) |
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(String scriptName, int scriptVersion, TransactionKey transactionKey) throws ObjectNotFoundException, InvalidDataException
public static Script getScript(CastorHashMap properties) throws InvalidDataException, ObjectNotFoundException
properties - vertex propertiesInvalidDataExceptionObjectNotFoundExceptionpublic static Script getScript(CastorHashMap properties, TransactionKey transactionKey) throws InvalidDataException, ObjectNotFoundException
public 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(String queryName, int queryVersion, TransactionKey transactionKey) throws ObjectNotFoundException, InvalidDataException
public static Query getQuery(CastorHashMap properties) throws InvalidDataException, ObjectNotFoundException
properties - vertex propertiesInvalidDataExceptionObjectNotFoundExceptionpublic static Query getQuery(CastorHashMap properties, TransactionKey transactionKey) throws InvalidDataException, ObjectNotFoundException
public 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(String schemaName, int schemaVersion, TransactionKey transactionKey) throws ObjectNotFoundException, InvalidDataException
public static Schema getSchema(CastorHashMap properties) throws InvalidDataException, ObjectNotFoundException
properties - vertex propertiesInvalidDataExceptionObjectNotFoundExceptionpublic static Schema getSchema(CastorHashMap properties, TransactionKey transactionKey) throws InvalidDataException, ObjectNotFoundException
public 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 ActivityDef getActDef(String actName, int actVersion, TransactionKey transactionKey) throws ObjectNotFoundException, InvalidDataException
public 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 CompositeActivityDef getCompActDef(String actName, int actVersion, TransactionKey transactionKey) throws ObjectNotFoundException, InvalidDataException
public 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 ActivityDef getElemActDef(String actName, int actVersion, TransactionKey transactionKey) throws ObjectNotFoundException, InvalidDataException
public 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(String smName, int smVersion, TransactionKey transactionKey) throws ObjectNotFoundException, InvalidDataException
public static StateMachine getStateMachine(CastorHashMap properties) throws InvalidDataException, ObjectNotFoundException
properties - InvalidDataExceptionObjectNotFoundExceptionpublic static StateMachine getStateMachine(CastorHashMap properties, TransactionKey transactionKey) throws InvalidDataException, ObjectNotFoundException
public static PropertyDescriptionList getPropertyDescriptionList(String name, int version) throws ObjectNotFoundException, InvalidDataException
name - version - ObjectNotFoundExceptionInvalidDataExceptionpublic static PropertyDescriptionList getPropertyDescriptionList(String name, int version, TransactionKey transactionKey) throws ObjectNotFoundException, InvalidDataException
public static PropertyDescriptionList getPropertyDescriptionList(CastorHashMap properties) throws InvalidDataException, ObjectNotFoundException
properties - InvalidDataExceptionObjectNotFoundExceptionpublic static PropertyDescriptionList getPropertyDescriptionList(CastorHashMap properties, TransactionKey transactionKey) throws InvalidDataException, ObjectNotFoundException
public static Integer deriveVersionNumber(Object value) throws InvalidDataException
value - the Object containing a version numberInvalidDataExceptionCopyright © 1997–2022 CRISTAL-iSE. All rights reserved.