public class LocalObjectLoader extends Object
| Constructor and Description |
|---|
LocalObjectLoader() |
| Modifier and Type | Method and Description |
|---|---|
static ActivityDef |
getActDef(String actName,
int actVersion)
Retrieves a named version of activity def from the database
|
static CompositeActivityDef |
getCompActDef(String actName,
int actVersion) |
static ActivityDef |
getElemActDef(String actName,
int actVersion) |
static Schema |
getSchema(String schemaName,
int schemaVersion)
Retrieves a named version of a schema from the database
|
static Script |
getScript(String scriptName,
int scriptVersion)
Retrieves a named version of a script from the database
|
static StateMachine |
getStateMachine(String smName,
int smVersion)
Retrieves a named version of a state machine 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 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 ActivityDef getActDef(String actName, int actVersion) throws ObjectNotFoundException, InvalidDataException
actName - - activity nameversion - - 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
public static ActivityDef getElemActDef(String actName, int actVersion) 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 invalidCopyright © 1997–2016 CRISTAL-iSE. All rights reserved.