| Modifier and Type | Method and Description |
|---|---|
void |
Dependency.addToItemProperties(PropertyArrayList props)
Add Dependency specific values to ItemProperties.
|
void |
Dependency.addToVertexProperties(CastorHashMap props)
Add Dependency specific values to VertexProperties (CastorHashMap).
|
protected Object |
DependencyMember.evaluateScript() |
void |
Dependency.updateMember(ItemPath childPath,
CastorHashMap memberNewProps) |
void |
Dependency.updateMember(ItemPath childPath,
int memberID,
CastorHashMap memberNewProps) |
| Modifier and Type | Field and Description |
|---|---|
InvalidDataException |
InvalidDataExceptionHolder.value |
| Modifier and Type | Method and Description |
|---|---|
static InvalidDataException |
InvalidDataExceptionHelper.extract(Any a) |
static InvalidDataException |
InvalidDataExceptionHelper.read(InputStream istream) |
| Modifier and Type | Method and Description |
|---|---|
static void |
InvalidDataExceptionHelper.insert(Any a,
InvalidDataException that) |
static void |
InvalidDataExceptionHelper.write(OutputStream ostream,
InvalidDataException value) |
| Constructor and Description |
|---|
InvalidDataExceptionHolder(InvalidDataException initialValue) |
| Modifier and Type | Method and Description |
|---|---|
String |
AgentPOATie.delegatedAction(SystemKey agentKey,
SystemKey delegateAgentKey,
String stepPath,
int transitionID,
String requestData,
String attachmentType,
byte[] attachment) |
String |
_ItemStub.delegatedAction(SystemKey agentKey,
SystemKey delegateAgentKey,
String stepPath,
int transitionID,
String requestData,
String attachmentType,
byte[] attachment) |
String |
TraceableEntity.delegatedAction(SystemKey agentId,
SystemKey delegateAgentId,
String stepPath,
int transitionID,
String requestData,
String attachmentType,
byte[] attachment) |
String |
ItemPOATie.delegatedAction(SystemKey agentKey,
SystemKey delegateAgentKey,
String stepPath,
int transitionID,
String requestData,
String attachmentType,
byte[] attachment) |
String |
ItemOperations.delegatedAction(SystemKey agentKey,
SystemKey delegateAgentKey,
String stepPath,
int transitionID,
String requestData,
String attachmentType,
byte[] attachment) |
String |
_AgentStub.delegatedAction(SystemKey agentKey,
SystemKey delegateAgentKey,
String stepPath,
int transitionID,
String requestData,
String attachmentType,
byte[] attachment) |
String |
ItemImplementation.delegatedAction(SystemKey agentId,
SystemKey delegateId,
String stepPath,
int transitionID,
String requestData,
String attachmentType,
byte[] attachment) |
void |
AgentPOATie.initialise(SystemKey agentKey,
String itemProps,
String workflow,
String collections,
String viewpoint,
String outcome)
Initialises a new Item.
|
void |
_ItemStub.initialise(SystemKey agentKey,
String itemProps,
String workflow,
String collections,
String viewpoint,
String outcome)
Initialises a new Item.
|
void |
TraceableEntity.initialise(SystemKey agentId,
String propString,
String initWfString,
String initCollsString,
String initViewpointString,
String initOutcomeString) |
void |
ItemPOATie.initialise(SystemKey agentKey,
String itemProps,
String workflow,
String collections,
String viewpoint,
String outcome)
Initialises a new Item.
|
void |
ItemOperations.initialise(SystemKey agentKey,
String itemProps,
String workflow,
String collections,
String viewpoint,
String outcome)
Initialises a new Item.
|
void |
_AgentStub.initialise(SystemKey agentKey,
String itemProps,
String workflow,
String collections,
String viewpoint,
String outcome)
Initialises a new Item.
|
void |
ItemImplementation.initialise(SystemKey agentId,
String propString,
String initWfString,
String initCollsString,
String initViewpointString,
String initOutcomeString) |
String |
AgentPOATie.requestAction(SystemKey agentKey,
String stepPath,
int transitionID,
String requestData,
String attachmentType,
byte[] attachment)
Requests a transition of an Activity in this Item's workflow.
|
String |
_ItemStub.requestAction(SystemKey agentKey,
String stepPath,
int transitionID,
String requestData,
String attachmentType,
byte[] attachment)
Requests a transition of an Activity in this Item's workflow.
|
String |
TraceableEntity.requestAction(SystemKey agentId,
String stepPath,
int transitionID,
String requestData,
String attachmentType,
byte[] attachment) |
String |
ItemPOATie.requestAction(SystemKey agentKey,
String stepPath,
int transitionID,
String requestData,
String attachmentType,
byte[] attachment)
Requests a transition of an Activity in this Item's workflow.
|
String |
ItemOperations.requestAction(SystemKey agentKey,
String stepPath,
int transitionID,
String requestData,
String attachmentType,
byte[] attachment)
Requests a transition of an Activity in this Item's workflow.
|
String |
_AgentStub.requestAction(SystemKey agentKey,
String stepPath,
int transitionID,
String requestData,
String attachmentType,
byte[] attachment)
Requests a transition of an Activity in this Item's workflow.
|
String |
ItemImplementation.requestAction(SystemKey agentId,
String stepPath,
int transitionID,
String requestData,
String attachmentType,
byte[] attachment) |
| Modifier and Type | Method and Description |
|---|---|
String |
ActiveEntity.delegatedAction(SystemKey agentId,
SystemKey delegateAgentId,
String stepPath,
int transitionID,
String requestData,
String attachmentType,
byte[] attachment) |
ItemProxy |
Job.getItem() |
Outcome |
Job.getLastOutcome()
Returns the Outcome instance associated with the 'last' Viewpoint
|
String |
Job.getLastView()
Returns the Outcome string associated with the 'last' Viewpoint
|
Outcome |
Job.getOutcome()
Returns the Outcome if exists otherwise tries to read and duplicate the Outcome of 'last' ViewPoint.
|
OutcomeInitiator |
Job.getOutcomeInitiator()
Retrieve the OutcomeInitiator associated with this Job.
|
String |
Job.getOutcomeString()
Returns the Outcome string.
|
Query |
Job.getQuery() |
Schema |
Job.getSchema() |
String |
Job.getSchemaName()
Deprecated.
|
int |
Job.getSchemaVersion()
Deprecated.
|
Script |
Job.getScript() |
int |
Job.getScriptVersion()
Deprecated.
|
void |
ActiveEntity.initialise(SystemKey agentId,
String propString,
String initWfString,
String initCollsString,
String initViewpointString,
String initOutcomeString) |
String |
ActiveEntity.requestAction(SystemKey agentID,
String stepPath,
int transitionID,
String requestData,
String attachmentType,
byte[] attachment) |
void |
Job.setOutcome(String outcomeData) |
| Constructor and Description |
|---|
Job(Activity act,
ItemPath itemPath,
Transition transition,
AgentPath agent,
AgentPath delegate,
String role)
Main constructor to create Job during workflow enactment
|
| Modifier and Type | Method and Description |
|---|---|
Path |
ImportItem.create(AgentPath agentPath,
boolean reset) |
protected CompositeActivity |
ImportItem.createCompositeActivity()
This method enables to use ImportItem in different bootstrap uses cases (e.g.
|
| Modifier and Type | Method and Description |
|---|---|
String |
AgentProxy.execute(ItemProxy item,
Class<?> predefStep,
C2KLocalObject obj) |
String |
AgentProxy.execute(ItemProxy item,
Class<?> predefStep,
String param) |
String |
AgentProxy.execute(ItemProxy item,
Class<?> predefStep,
String[] params) |
String |
AgentProxy.execute(ItemProxy item,
String predefStep,
C2KLocalObject obj) |
String |
AgentProxy.execute(ItemProxy item,
String predefStep,
String param)
Single parameter execution.
|
String |
AgentProxy.execute(ItemProxy item,
String predefStep,
String[] params)
Multi-parameter execution.
|
String |
AgentProxy.execute(Job job)
Standard execution of jobs.
|
String |
AgentProxy.execute(Job job,
Job errorJob)
Extended execution of jobs when the client knows that there is a Transition to be used in case of an error.
|
void |
ItemProxy.initialise(AgentPath agentId,
PropertyArrayList itemProps,
CompositeActivity workflow,
CollectionArrayList colls)
Initialise the new Item with instance data which was normally created from descriptions
|
void |
ItemProxy.initialise(AgentPath agentId,
PropertyArrayList itemProps,
CompositeActivity workflow,
CollectionArrayList colls,
Viewpoint viewpoint,
Outcome outcome)
Initialise the new Item with instance data which was normally created from descriptions
|
protected void |
ProxyManager.processMessage(ProxyMessage thisMessage) |
String |
ItemProxy.requestAction(Job thisJob)
Executes the given Job
|
void |
ItemProxy.setProperty(AgentProxy agent,
String name,
String value)
Sets the value of the given Property
|
| Constructor and Description |
|---|
ProxyManager()
Create a proxy manager to listen for proxy events and reap unused proxies
|
ProxyMessage(DatagramPacket packet) |
ProxyMessage(String line) |
| Modifier and Type | Method and Description |
|---|---|
Event |
History.addEvent(AgentPath agentPath,
AgentPath delegatePath,
String agentRole,
String stepName,
String stepPath,
String stepType,
Schema schema,
StateMachine stateMachine,
int transitionId,
String viewName,
String timeString) |
Event |
History.addEvent(AgentPath agentPath,
AgentPath delegatePath,
String agentRole,
String stepName,
String stepPath,
String stepType,
StateMachine stateMachine,
int transitionId,
String timeString) |
void |
Event.setTimeString(String time) |
| Modifier and Type | Method and Description |
|---|---|
protected Integer |
GraphableVertex.deriveVersionNumber(Object val) |
void |
GraphableVertex.setChildrenGraphModel(GraphModel childrenGraph)
Sets the childrenGraph.
|
void |
GraphableVertex.updatePropertiesFromCollection(BuiltInVertexProperties vertexProp,
CastorHashMap newProps) |
void |
GraphableVertex.updatePropertiesFromCollection(int slotID,
CastorHashMap newProps) |
| Modifier and Type | Method and Description |
|---|---|
ActivitySlotDef |
CompositeActivityDef.addExistingActivityDef(String name,
ActivityDef actDef,
GraphPoint point) |
void |
ActivityDef.configureInstance(WfVertex act) |
void |
WfVertexDef.configureInstance(WfVertex newVertex)
Copies Properties from vertex definition to vertex instance, and also set the Edges
|
void |
ActivityDef.export(Writer imports,
File dir,
boolean shallow) |
void |
CompositeActivityDef.export(Writer imports,
File dir,
boolean shallow) |
protected void |
ActivityDef.exportCollections(Writer imports,
File dir) |
ArrayList<ActivityDef> |
CompositeActivityDef.findRefActDefs(GraphModel graph) |
protected DescriptionObject[] |
ActivityDef.getBuiltInCollectionResource(BuiltInCollections collection) |
protected String |
ActivityDef.getExportAttributes(String type) |
protected String |
ActivityDef.getExportCollections() |
Query |
ActivityDef.getQuery() |
Script |
AndSplitDef.getRoutingScript() |
Schema |
ActivityDef.getSchema() |
Script |
ActivityDef.getScript() |
StateMachine |
ActivityDef.getStateMachine() |
ActivityDef |
ActivitySlotDef.getTheActivityDef() |
WfVertex |
OrSplitDef.instantiate() |
WfVertex |
LoopDef.instantiate() |
WfVertex |
JoinDef.instantiate() |
WfVertex |
ActivityDef.instantiate() |
WfVertex |
AndSplitDef.instantiate() |
WfVertex |
ActivitySlotDef.instantiate() |
WfVertex |
XOrSplitDef.instantiate() |
abstract WfVertex |
WfVertexDef.instantiate() |
WfVertex |
CompositeActivityDef.instantiate() |
WfVertex |
ActivityDef.instantiate(String name) |
WfVertex |
CompositeActivityDef.instantiate(String name) |
WfVertex[] |
CompositeActivityDef.intantiateVertices(CompositeActivity ca)
Loops through the vertices of children graph model and calls their instantiate method
|
Dependency |
CompositeActivityDef.makeActDefCollection()
Used in Script CompositeActivityDefCollSetter
|
Dependency |
ActivityDef.makeDescCollection(BuiltInCollections collection,
DescriptionObject... descs) |
CollectionArrayList |
ActivityDef.makeDescCollections() |
CollectionArrayList |
CompositeActivityDef.makeDescCollections() |
WfVertexDef |
CompositeActivityDef.newChild(String Name,
String Type,
Integer version,
GraphPoint location) |
void |
CompositeActivityDef.setChildrenGraphModel(GraphModel childrenGraph) |
| Modifier and Type | Method and Description |
|---|---|
ArrayList<Job> |
Activity.calculateAllJobs(AgentPath agent,
ItemPath itemPath,
boolean recurse) |
ArrayList<Job> |
CompositeActivity.calculateAllJobs(AgentPath agent,
ItemPath itemPath,
boolean recurse) |
ArrayList<Job> |
Activity.calculateJobs(AgentPath agent,
ItemPath itemPath,
boolean recurse)
Calculates the lists of jobs for the activity and its children (cf org.cristalise.kernel.entity.Job)
|
ArrayList<Job> |
CompositeActivity.calculateJobs(AgentPath agent,
ItemPath itemPath,
boolean recurse) |
ArrayList<Job> |
Workflow.calculateJobs(AgentPath agent,
ItemPath itemPath,
int type)
if type = 0 only domain steps will be queried if type = 1 only predefined steps will be queried else both will be queried
|
protected String[] |
Split.calculateNexts(ItemPath itemPath,
Object locker) |
Object |
WfVertex.evaluateProperty(ItemPath itemPath,
String propName,
Object locker) |
Object |
WfVertex.evaluatePropertyValue(ItemPath itemPath,
Object propValue,
Object locker) |
void |
Loop.followNext(Next activeNext,
AgentPath agent,
ItemPath itemPath,
Object locker) |
void |
XOrSplit.followNext(Next activeNext,
AgentPath agent,
ItemPath itemPath,
Object locker) |
History |
Workflow.getHistory() |
History |
Workflow.getHistory(Object locker)
Caches a History object for this Item, using the workflow as a locker.
|
int |
Activity.getState() |
StateMachine |
Activity.getStateMachine() |
String |
Activity.getStateName() |
WfVertex |
Next.getTerminusVertex() |
void |
Workflow.initialise(ItemPath itemPath,
AgentPath agent,
Object locker) |
boolean |
Activity.isFinished() |
void |
Split.reinit(int idLoop) |
void |
Activity.reinit(int idLoop)
reinitialises the Activity and propagate (for Loop)
|
void |
Loop.reinit(int idLoop) |
void |
Join.reinit(int idLoop) |
void |
CompositeActivity.reinit(int idLoop) |
abstract void |
WfVertex.reinit(int idLoop) |
String |
Activity.request(AgentPath agent,
AgentPath delegate,
ItemPath itemPath,
int transitionID,
String requestData,
String attachmentType,
byte[] attachment,
Object locker) |
String |
CompositeActivity.request(AgentPath agent,
AgentPath delegator,
ItemPath itemPath,
int transitionID,
String requestData,
String attachmentType,
byte[] attachment,
Object locker) |
String |
Workflow.requestAction(AgentPath agent,
AgentPath delegator,
String stepPath,
ItemPath itemPath,
int transitionID,
String requestData,
String attachmentType,
byte[] attachment) |
void |
Split.run(AgentPath agent,
ItemPath itemPath,
Object locker) |
void |
Activity.run(AgentPath agent,
ItemPath itemPath,
Object locker)
called by precedent Activity runNext() for setting the activity able to
be executed
|
void |
Join.run(AgentPath agent,
ItemPath item,
Object locker) |
void |
CompositeActivity.run(AgentPath agent,
ItemPath itemPath,
Object locker) |
abstract void |
WfVertex.run(AgentPath agent,
ItemPath itemPath,
Object locker) |
protected String |
Activity.runActivityLogic(AgentPath agent,
ItemPath itemPath,
int transitionID,
String requestData,
Object locker)
Overridden in predefined steps
|
void |
Split.runFirst(AgentPath agent,
ItemPath itemPath,
Object locker) |
void |
Activity.runFirst(AgentPath agent,
ItemPath itemPath,
Object locker)
sets the activity available to be executed on start of Workflow or
composite activity (when it is the first one of the (sub)process
|
void |
Join.runFirst(AgentPath agent,
ItemPath item,
Object locker) |
abstract void |
WfVertex.runFirst(AgentPath agent,
ItemPath itemPath,
Object locker)
Sets the activity available to be executed on start of Workflow or composite activity
(when it is the first one of the (sub)process)
|
void |
AndSplit.runNext(AgentPath agent,
ItemPath item,
Object locker) |
abstract void |
Split.runNext(AgentPath agent,
ItemPath itemPath,
Object locker) |
void |
Activity.runNext(AgentPath agent,
ItemPath itemPath,
Object locker)
sets the next activity available if possible
|
void |
Join.runNext(AgentPath agent,
ItemPath item,
Object locker) |
void |
CompositeActivity.runNext(AgentPath agent,
ItemPath itemPath,
Object locker) |
void |
OrSplit.runNext(AgentPath agent,
ItemPath itemPath,
Object locker) |
void |
XOrSplit.runNext(AgentPath agent,
ItemPath itemPath,
Object locker) |
abstract void |
WfVertex.runNext(AgentPath agent,
ItemPath itemPath,
Object locker) |
void |
CompositeActivity.setChildrenGraphModel(GraphModel childrenGraph) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
PredefinedStepCollectionBase.evaluateScript(ItemPath item,
String propertyValue,
CastorHashMap scriptProps,
Object locker) |
protected Aggregation |
PredefinedStepCollectionBase.getAggregation() |
protected Dependency |
PredefinedStepCollectionBase.getDependency() |
protected DependencyMember |
PredefinedStepCollectionBase.getDependencyMember() |
protected String |
WriteProperty.runActivityLogic(AgentPath agent,
ItemPath item,
int transitionID,
String requestData,
Object locker) |
protected String |
RemoveDomainPath.runActivityLogic(AgentPath agent,
ItemPath item,
int transitionID,
String requestData,
Object locker) |
protected String |
WriteViewpoint.runActivityLogic(AgentPath agent,
ItemPath item,
int transitionID,
String requestData,
Object locker)
SchemaName, name and event Id.
|
protected String |
Import.runActivityLogic(AgentPath agent,
ItemPath item,
int transitionID,
String requestData,
Object locker)
Params: Schemaname_version:Viewpoint (optional), Outcome, Timestamp (optional)
|
protected String |
ReplaceDomainWorkflow.runActivityLogic(AgentPath agent,
ItemPath item,
int transitionID,
String requestData,
Object locker) |
protected String |
AddMemberToCollection.runActivityLogic(AgentPath agent,
ItemPath item,
int transitionID,
String requestData,
Object locker) |
protected String |
ClearSlot.runActivityLogic(AgentPath agent,
ItemPath item,
int transitionID,
String requestData,
Object locker)
Params: 0 - collection name 1 - slot number
|
protected String |
ChangeName.runActivityLogic(AgentPath agent,
ItemPath item,
int transitionID,
String requestData,
Object locker) |
protected String |
UpdateDependencyMember.runActivityLogic(AgentPath agent,
ItemPath item,
int transitionID,
String requestData,
Object locker) |
protected String |
RemoveC2KObject.runActivityLogic(AgentPath agent,
ItemPath item,
int transitionID,
String requestData,
Object locker) |
protected String |
AddNewSlot.runActivityLogic(AgentPath agent,
ItemPath item,
int transitionID,
String requestData,
Object locker)
Creates a new slot in the given aggregation, that holds instances of the given item description
Params:
Collection name
Item Description key (optional)
Item Description version (optional)
|
protected String |
CreateAgentFromDescription.runActivityLogic(AgentPath agentPath,
ItemPath descItemPath,
int transitionID,
String requestData,
Object locker)
Params:
Agent name
Domain context
Comma-delimited Role names to assign to the Agent
Password (optional)
Description version to use(optional)
Initial properties to set in the new Agent (optional)
|
protected String |
CreateNewCollectionVersion.runActivityLogic(AgentPath agent,
ItemPath item,
int transitionID,
String requestData,
Object locker)
Generates a new snapshot of a collection from its current state.
|
protected String |
Erase.runActivityLogic(AgentPath agent,
ItemPath item,
int transitionID,
String requestData,
Object locker)
|
protected String |
AddDomainPath.runActivityLogic(AgentPath agent,
ItemPath item,
int transitionID,
String requestData,
Object locker) |
protected String |
RemoveViewpoint.runActivityLogic(AgentPath agent,
ItemPath item,
int transitionID,
String requestData,
Object locker)
SchemaName and Viewname
|
protected abstract String |
PredefinedStep.runActivityLogic(AgentPath agent,
ItemPath itemPath,
int transitionID,
String requestData,
Object locker)
All predefined steps must override this to implement their action
|
protected String |
AddNewCollectionDescription.runActivityLogic(AgentPath agent,
ItemPath item,
int transitionID,
String requestData,
Object locker)
Params: 0 - collection name 1 - collection type (Aggregation, Dependency)
|
protected String |
AssignItemToSlot.runActivityLogic(AgentPath agent,
ItemPath item,
int transitionID,
String requestData,
Object locker)
Params: 0 - collection name 1 - slot number 2 - target entity key
|
protected String |
AddC2KObject.runActivityLogic(AgentPath agent,
ItemPath item,
int transitionID,
String requestData,
Object locker) |
protected String |
RemoveSlotFromCollection.runActivityLogic(AgentPath agent,
ItemPath item,
int transitionID,
String requestData,
Object locker) |
protected String[] |
PredefinedStepCollectionBase.unpackParamsAndGetCollection(ItemPath item,
String requestData,
Object locker)
Unpacks parameters from requestData and retrieves cCollection instance
|
static void |
WriteViewpoint.write(ItemPath item,
String schemaName,
String viewName,
int eventId,
Object locker) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
SetAgentRoles.runActivityLogic(AgentPath agent,
ItemPath item,
int transitionID,
String requestData,
Object locker) |
protected String |
SetAgentPassword.runActivityLogic(AgentPath agent,
ItemPath item,
int transitionID,
String requestData,
Object locker) |
protected String |
RemoveAgent.runActivityLogic(AgentPath agent,
ItemPath itemPath,
int transitionID,
String requestData,
Object locker)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
CreateItemFromDescription.initialiseItem(ItemOperations newItem,
AgentPath agent,
ItemPath descItemPath,
PropertyArrayList initProps,
String outcome,
String newName,
String descVer,
DomainPath context,
ItemPath newItemPath,
Object locker) |
protected CollectionArrayList |
CreateItemFromDescription.instantiateCollections(ItemPath descItemPath,
String descVer,
PropertyArrayList newProps,
Object locker)
Copies the CollectionDescriptions of the Item requesting this predefined step.
|
protected PropertyArrayList |
CreateItemFromDescription.instantiateProperties(ItemPath descItemPath,
String descVer,
PropertyArrayList initProps,
String newName,
AgentPath agent,
Object locker) |
protected Viewpoint |
CreateItemFromDescription.instantiateViewpoint(ItemPath descItemPath,
String descVer,
Object locker) |
protected CompositeActivity |
CreateItemFromDescription.instantiateWorkflow(ItemPath descItemPath,
String descVer,
Object locker)
Retrieve the Workflow dependency for the given description version, instantiate the loaded CompositeActivityDef
|
protected String |
CreateItemFromDescription.runActivityLogic(AgentPath agent,
ItemPath descItemPath,
int transitionID,
String requestData,
Object locker)
Params:
Item name
Domain context
Description version to use(optional)
Initial properties to set in the new Agent (optional)
|
protected PropertyArrayList |
CreateItemFromDescription.unmarshallInitProperties(String initPropString)
Unmarshalls initial Properties
|
| Modifier and Type | Method and Description |
|---|---|
void |
BulkImport.importAllClusters() |
void |
BulkImport.initialise() |
protected String |
UpdateRole.runActivityLogic(AgentPath agent,
ItemPath item,
int transitionID,
String requestData,
Object locker) |
protected String |
CreateNewAgent.runActivityLogic(AgentPath agent,
ItemPath item,
int transitionID,
String requestData,
Object locker) |
protected String |
CreateNewRole.runActivityLogic(AgentPath agent,
ItemPath item,
int transitionID,
String requestData,
Object locker) |
protected String |
BulkImport.runActivityLogic(AgentPath agent,
ItemPath itemPath,
int transitionID,
String requestData,
Object locker) |
protected String |
CreateNewItem.runActivityLogic(AgentPath agent,
ItemPath item,
int transitionID,
String requestData,
Object locker) |
protected String |
AddDomainContext.runActivityLogic(AgentPath agent,
ItemPath item,
int transitionID,
String requestData,
Object locker) |
protected String |
RemoveRole.runActivityLogic(AgentPath agent,
ItemPath item,
int transitionID,
String requestData,
Object locker) |
protected String |
RemoveDomainContext.runActivityLogic(AgentPath agent,
ItemPath item,
int transitionID,
String requestData,
Object locker) |
| Modifier and Type | Method and Description |
|---|---|
void |
StateMachine.export(Writer imports,
File dir,
boolean shallow) |
Map<Transition,String> |
StateMachine.getPossibleTransitions(Activity act,
AgentPath agent) |
Query |
Transition.getQuery(CastorHashMap actProps) |
Schema |
Transition.getSchema(CastorHashMap actProps) |
Script |
Transition.getScript(CastorHashMap actProps) |
int |
Transition.getScriptVersion(CastorHashMap actProps)
Deprecated.
|
int |
StateMachine.getValidTransitionID(String transName)
Helper method to get transition ID by name
|
State |
StateMachine.traverse(Activity act,
Transition transition,
AgentPath agent) |
| Modifier and Type | Method and Description |
|---|---|
static Object |
DataHelperUtility.evaluateValue(ItemPath itemPath,
Object value,
String actContext,
Object locker)
If the
|
String |
ActivityDataHelper.get(ItemPath itemPath,
String actContext,
String dataPath,
Object locker)
Retrieves the Workflow of the given Item, searches the Activity using the activity path and
retrieves a single value based on XPath
|
String |
ViewpointDataHelper.get(ItemPath itemPath,
String actContext,
String dataPath,
Object locker)
dataPath syntax is used for search : viewpoint:/xpath/to/field
|
String |
DataHelper.get(ItemPath itemPath,
String actContext,
String dataPath,
Object locker)
Data helpers are a mechanism that allows easy referencing of different types of data
within an Item, in order to use that data for process control or generating new data.
|
String |
PropertyDataHelper.get(ItemPath itemPath,
String actContext,
String dataPath,
Object locker)
Syntax of search: PropertyName
|
static DataHelper |
DataHelperUtility.getDataHelper(String id)
First checks the configuration properties to instantiate the requested Datahelper.
|
| Modifier and Type | Method and Description |
|---|---|
Node |
Outcome.appendXmlFragment(String xpath,
String xmlFragment)
Append the new Node created from xmlFragment as a child of the Node selected by the XPath
|
Event |
Viewpoint.getEvent() |
Event |
OutcomeAttachment.getEvent() |
String |
Outcome.getFieldByXPath(String xpath)
Retrieves the text, CDATA or attribute value of the Node selected by the XPath
|
String |
Outcome.getNodeValue(Node node)
Gets the value of the given TEXT, CDATA, ATTRIBUTE or ELEMENT Node
|
static OutcomeValidator |
OutcomeValidator.getValidator(Outcome o) |
static OutcomeValidator |
OutcomeValidator.getValidator(Schema schema) |
String |
OutcomeInitiator.initOutcome(Job job)
Constructs and initialises the Outcome string (XML)
|
String |
QueryOutcomeInitiator.initOutcome(Job job) |
Outcome |
OutcomeInitiator.initOutcomeInstance(Job job)
Constructs and initialises the Outcome object
|
Outcome |
QueryOutcomeInitiator.initOutcomeInstance(Job job) |
Node |
Outcome.removeNodeByXPath(String xpathExpr)
Removes the node selected by the xpath
|
static String |
Outcome.serialize(Node node,
boolean prettyPrint)
Serialize the Given Document
|
void |
Outcome.setAttribute(Element element,
String name,
String data)
Sets an Attribute value by name of the given Element.
|
void |
Outcome.setAttribute(Element element,
String name,
String data,
boolean remove)
Sets an Attribute value by name of the given Element.
|
void |
Outcome.setAttribute(String name,
String data)
Sets an Attribute value by name of the root Element.
|
void |
Outcome.setAttribute(String name,
String data,
boolean remove)
Sets the value of an attribute in the root Element.
|
void |
Outcome.setAttributeOfField(String field,
String name,
String data)
Sets the value of an attribute in a given Field, i.e.
|
void |
Outcome.setAttributeOfField(String field,
String name,
String data,
boolean remove)
Sets the value of an attribute in a given Field, i.e.
|
void |
Outcome.setField(Element element,
String name,
String data)
Sets the textNode value of the named Element of the given Element.
|
void |
Outcome.setField(Element element,
String name,
String data,
boolean remove)
Sets the textNode value of the named Element of the given Element.
|
void |
Outcome.setField(String name,
String data)
Sets the textNode value of the named Element of the root Element.
|
void |
Outcome.setField(String name,
String data,
boolean remove)
Sets the textNode value of the named Element of the root Element.
|
void |
Outcome.setFieldByXPath(String xpath,
String data)
Sets the text, CDATA or attribute value of the Node selected by the XPath.
|
void |
Outcome.setFieldByXPath(String xpath,
String data,
boolean remove)
Sets the text, CDATA or attribute value of the Node selected by the XPath.
|
protected void |
Outcome.setMetaDataFromPath(String path)
Retrieves the SchemaName, Version, EevetnId triplet from the path.
|
void |
Outcome.setNodeValue(Node node,
String value)
Sets the value of the given TEXT, CDATA, ATTRIBUTE or ELEMENT Node
|
void |
Outcome.setNodeValue(Node node,
String value,
boolean useCdata)
Sets the value of the given TEXT, CDATA, ATTRIBUTE or ELEMENT Node
|
void |
Outcome.setRecord(Element element,
Map<String,String> record)
Sets the values of Attributes and child Element of given Element.
|
void |
Outcome.setRecord(Map<String,String> record)
Sets the values of Attributes and child Element of the root Element.
|
void |
Outcome.setRecord(String xpath,
Map<String,String> record)
Sets the values of Attributes and child Element of the Element selected by xpath.
|
String |
Outcome.validate()
Validates the actual XML Document against the provided Schema
|
void |
Outcome.validateAndCheck()
Validates the actual XML Document against the provided Schema
|
| Constructor and Description |
|---|
Outcome(int id,
String xml,
Schema schema)
Use this constructor to manipulate, validate and store this outcome
|
Outcome(String xml)
Use this constructor for XML manipulation only.
|
Outcome(String path,
Document data)
The constructor derives all the meta data (ID and Schema) from the path
|
Outcome(String xml,
Schema schema)
Use this constructor for XML manipulation and validation.
|
Outcome(String path,
String xml)
The constructor derives all the meta data (ID and Schema) from the path
|
OutcomeValidator(Schema schema) |
| Modifier and Type | Method and Description |
|---|---|
static Authenticator |
Gateway.connect()
Connects to the Lookup server in an administrative context - using the admin username and
password available in the implementation of the Authenticator.
|
static AgentProxy |
Gateway.connect(String agentName,
String agentPassword)
Log in with the given username and password, and initialises the
Lookup,
TransactionManager and ProxyManager. |
static AgentProxy |
Gateway.connect(String agentName,
String agentPassword,
String resource)
Log in with the given username and password, and initialises the
Lookup,
TransactionManager and ProxyManager. |
static Authenticator |
Gateway.getAuthenticator() |
static StateMachine |
Bootstrap.getPredefSM()
Get the StateMachine of a Predefined Step
|
protected static StateMachine |
StandardClient.getRequiredStateMachine(String propPrefix,
String namesSpaceDefault,
String bootfileDefault)
CRISTAL-iSE clients should use the StateMachine information to implement application logic.
|
static void |
Gateway.init(Properties props)
Initialises the Gateway and all of the client objects it holds, with
the exception of the Lookup, which is initialised during connect()
|
static void |
Gateway.init(Properties props,
ResourceLoader res)
Initialises the Gateway and all of the client objects it holds, with
the exception of the Lookup, which is initialised during connect()
|
protected void |
StandardClient.login(String agentName,
String agentPass,
String resource) |
static AgentProxy |
Gateway.login(String agentName,
String agentPassword,
String resource)
Deprecated.
|
void |
UserCodeProcess.runUserCodeLogic(Job job,
Job errorJob)
Override this mehod to implement application specific (business) logic
Default implementation - the agent execute any scripts, query or both defined
|
void |
UserCodeProcess.start(Job thisJob,
String jobKey)
Method called to handle the Start transition.
|
static void |
Gateway.startServer()
Makes this process capable of creating and managing server entities.
|
static void |
Gateway.startServer(Authenticator auth)
Deprecated.
|
| Constructor and Description |
|---|
UserCodeProcess()
Default constructor set up the user code with default setting
|
UserCodeProcess(String propPrefix)
Constructor set up the user code
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
Authenticator.authenticate(String resource)
Authenticates a superuser connection for the server.
|
boolean |
Authenticator.authenticate(String agentName,
String password,
String resource)
Authenticates a CRISTAL agent.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Module.addImports(Collection<?> contents)
Adds the members of this Collection recursively to the imports of this Module.
|
Path |
ModuleResource.create(AgentPath agentPath,
boolean reset) |
Path |
ModuleActivity.create(AgentPath agentPath,
boolean reset) |
abstract Path |
ModuleImport.create(AgentPath agentPath,
boolean reset) |
ModuleDescRef |
ModuleActivity.getDescRef(ItemProxy child,
BuiltInCollections collection) |
void |
Module.setImports(Collection<?> contents)
Overwrites the imports with the content of this Collection
|
| Constructor and Description |
|---|
ModuleActivity(ItemProxy child,
Integer version) |
ModulePropertyDescription(ItemProxy child,
Integer version) |
ModuleQuery(ItemProxy child,
Integer version) |
ModuleSchema(ItemProxy child,
Integer version) |
ModuleScript(ItemProxy child,
Integer version) |
ModuleStateMachine(ItemProxy child,
Integer version) |
ModuleWorkflow(ItemProxy child,
Integer version) |
| Modifier and Type | Method and Description |
|---|---|
void |
Resource.addModuleBaseURL(String ns,
String newBaseURL) |
void |
ResourceLoader.addModuleBaseURL(String ns,
String newBaseURL) |
| Constructor and Description |
|---|
Resource() |
| Modifier and Type | Method and Description |
|---|---|
void |
PropertyDescriptionList.export(Writer imports,
File dir,
boolean shallow) |
PropertyArrayList |
PropertyDescriptionList.instantiate(PropertyArrayList initProps)
Before instantiating checks that supplied initial Properties exist in description list
|
CollectionArrayList |
PropertyDescriptionList.makeDescCollections() |
| Modifier and Type | Method and Description |
|---|---|
void |
Query.export(Writer imports,
File dir,
boolean shallow) |
CollectionArrayList |
Query.makeDescCollections() |
void |
Query.validateXML(String xml) |
| Modifier and Type | Method and Description |
|---|---|
static Script |
Script.getScript(String name,
Integer version)
Resolves the Script object using its name and version.
|
CollectionArrayList |
Script.makeDescCollections() |
void |
Script.setIncludes(ArrayList<Include> includes)
Method for castor unmarshall
|
| Modifier and Type | Method and Description |
|---|---|
void |
SecurityManager.authenticate() |
AgentProxy |
SecurityManager.authenticate(String agentName,
String agentPassword,
String resource) |
| Constructor and Description |
|---|
SecurityManager() |
| Modifier and Type | Method and Description |
|---|---|
Schema |
SchemaCache.buildObject(String name,
int version,
ItemPath path,
String data) |
Script |
ScriptCache.buildObject(String name,
int version,
ItemPath path,
String data) |
ActivityDef |
ActDefCache.buildObject(String name,
int version,
ItemPath path,
String data) |
PropertyDescriptionList |
PropertyDescriptionCache.buildObject(String name,
int version,
ItemPath path,
String data) |
Query |
QueryCache.buildObject(String name,
int version,
ItemPath path,
String data) |
StateMachine |
StateMachineCache.buildObject(String name,
int version,
ItemPath path,
String data) |
abstract D |
DescriptionObjectCache.buildObject(String name,
int version,
ItemPath path,
String data) |
static Integer |
LocalObjectLoader.deriveVersionNumber(Object value)
Converts Object to an Integer representing a version number.
|
Object |
CastorHashMap.evaluateProperty(ItemPath itemPath,
String propName,
String actContext,
Object locker) |
void |
DescriptionObject.export(Writer imports,
File dir,
boolean shallow) |
ItemPath |
DescriptionObjectCache.findItem(String name) |
D |
DescriptionObjectCache.get(String name,
int version) |
static ActivityDef |
LocalObjectLoader.getActDef(String actName,
int actVersion)
Retrieves a named version of ActivityDef from the database
|
static CompositeActivityDef |
LocalObjectLoader.getCompActDef(String actName,
int actVersion)
Retrieves a named version of CompositeActivityDef from the database
|
static ActivityDef |
LocalObjectLoader.getElemActDef(String actName,
int actVersion)
Retrieves a named version of ActivityDef from the database
|
static PropertyDescriptionList |
LocalObjectLoader.getPropertyDescriptionList(CastorHashMap properties) |
static PropertyDescriptionList |
LocalObjectLoader.getPropertyDescriptionList(String name,
int version) |
static Query |
LocalObjectLoader.getQuery(CastorHashMap properties)
Retrieves a query from the database finding data in the Vertex properties
|
static Query |
LocalObjectLoader.getQuery(String queryName,
int queryVersion)
Retrieves a named version of a query from the database
|
static Schema |
LocalObjectLoader.getSchema(CastorHashMap properties)
Retrieves a schema from the database finding data in the Vertex properties
|
static Schema |
LocalObjectLoader.getSchema(String schemaName,
int schemaVersion)
Retrieves a named version of a schema from the database
|
static Script |
LocalObjectLoader.getScript(CastorHashMap properties)
Retrieves a script from the database finding data in the Vertex properties
|
static Script |
LocalObjectLoader.getScript(String scriptName,
int scriptVersion)
Retrieves a named version of a script from the database
|
static StateMachine |
LocalObjectLoader.getStateMachine(CastorHashMap properties) |
static StateMachine |
LocalObjectLoader.getStateMachine(String smName,
int smVersion)
Retrieves a named version of a StateMachine from the database
|
ActivityDef |
ActDefCache.loadObject(String name,
int version,
ItemProxy proxy) |
D |
DescriptionObjectCache.loadObject(String name,
int version,
ItemProxy proxy) |
D |
DescriptionObjectCache.loadObjectFromBootstrap(String name) |
CollectionArrayList |
DescriptionObject.makeDescCollections() |
static GTimeStamp |
DateUtility.parseTimeString(String time) |
| Constructor and Description |
|---|
CastorXMLUtility(ResourceLoader aResourceLoader,
Properties aAppProperties,
URL mapURL)
Looks for a file called 'index' at the given URL, and loads every file listed in there by relative path
|
Copyright © 1997–2019 CRISTAL-iSE. All rights reserved.