| 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() |
E |
Collection.getMember(int memberId)
Find collection member by integer ID
|
Collection<DependencyMember> |
DependencyDescription.newInstance() |
Aggregation |
AggregationDescription.newInstance()
For each member get the
PropertyDescriptionList of the member item and look for an explicit version |
Collection<E> |
CollectionDescription.newInstance()
Create a new instance of this collection.
|
abstract void |
Collection.removeMember(int memberId)
Removes the slot with the given ID from the collection.
|
void |
Aggregation.removeMember(int memberId) |
void |
Dependency.removeMember(int memberId) |
ItemProxy |
DependencyMember.resolveItem() |
ItemProxy |
CollectionMember.resolveItem()
Resolve the Item currently assigned
|
ItemProxy |
AggregationMember.resolveItem() |
List<E> |
Collection.resolveMembers(int slotID,
ItemPath childPath)
Helper method to find all the members with the combination of the input parameters.
|
List<E> |
Collection.resolveMembers(ItemPath childPath)
Helper method to find all the members for the given item.
|
void |
Dependency.updateMember(ItemPath childPath,
CastorHashMap memberNewProps) |
void |
Dependency.updateMember(ItemPath childPath,
int memberID,
CastorHashMap memberNewProps) |
void |
DependencyMember.updatePropertieFromDescription(CastorHashMap propDesc,
DependencyMember newMember) |
void |
DependencyMember.updateProperties(CastorHashMap newProps)
Only update existing properties otherwise throw an exception
|
| Modifier and Type | Field and Description |
|---|---|
ObjectNotFoundException |
ObjectNotFoundExceptionHolder.value |
| Modifier and Type | Method and Description |
|---|---|
static ObjectNotFoundException |
ObjectNotFoundExceptionHelper.extract(Any a) |
static ObjectNotFoundException |
ObjectNotFoundExceptionHelper.read(InputStream istream) |
| Modifier and Type | Method and Description |
|---|---|
static void |
ObjectNotFoundExceptionHelper.insert(Any a,
ObjectNotFoundException that) |
static void |
ObjectNotFoundExceptionHelper.write(OutputStream ostream,
ObjectNotFoundException value) |
| Constructor and Description |
|---|
ObjectNotFoundExceptionHolder(ObjectNotFoundException initialValue) |
| Modifier and Type | Method and Description |
|---|---|
void |
AgentPOATie.addRole(String roleName)
Add this Agent to the given role
|
void |
_AgentStub.addRole(String roleName)
Add this Agent to the given role
|
void |
AgentOperations.addRole(String roleName)
Add this Agent to the given role
|
String |
TraceableEntity.delegatedAction(SystemKey agentId,
SystemKey delegateAgentId,
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) |
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 |
AgentPOATie.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 |
_ItemStub.delegatedAction(SystemKey agentKey,
SystemKey delegateAgentKey,
String stepPath,
int transitionID,
String requestData,
String attachmentType,
byte[] attachment) |
ActiveEntity |
CorbaServer.getAgent(AgentPath agentPath)
Returns a CORBA servant for a pre-existing entity
|
TraceableEntity |
CorbaServer.getItem(ItemPath itemPath)
Returns a CORBA servant for a pre-existing entity
|
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 |
AgentPOATie.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 |
_ItemStub.initialise(SystemKey agentKey,
String itemProps,
String workflow,
String collections,
String viewpoint,
String outcome)
Initialises a new Item.
|
String |
TraceableEntity.queryData(String path) |
String |
ItemImplementation.queryData(String path) |
String |
ItemPOATie.queryData(String path)
Returns a chunk of XML which may be a serialized C2KLocalObject, or in the case of Outcomes is merely a fragment of XML.
|
String |
ItemOperations.queryData(String path)
Returns a chunk of XML which may be a serialized C2KLocalObject, or in the case of Outcomes is merely a fragment of XML.
|
String |
AgentPOATie.queryData(String path)
Returns a chunk of XML which may be a serialized C2KLocalObject, or in the case of Outcomes is merely a fragment of XML.
|
String |
_AgentStub.queryData(String path)
Returns a chunk of XML which may be a serialized C2KLocalObject, or in the case of Outcomes is merely a fragment of XML.
|
String |
_ItemStub.queryData(String path)
Returns a chunk of XML which may be a serialized C2KLocalObject, or in the case of Outcomes is merely a fragment of XML.
|
String |
TraceableEntity.queryLifeCycle(SystemKey agentId,
boolean filter) |
String |
ItemImplementation.queryLifeCycle(SystemKey agentId,
boolean filter) |
String |
ItemPOATie.queryLifeCycle(SystemKey agentKey,
boolean filter)
Returns a set of Jobs for this Agent on this Item.
|
String |
ItemOperations.queryLifeCycle(SystemKey agentKey,
boolean filter)
Returns a set of Jobs for this Agent on this Item.
|
String |
AgentPOATie.queryLifeCycle(SystemKey agentKey,
boolean filter)
Returns a set of Jobs for this Agent on this Item.
|
String |
_AgentStub.queryLifeCycle(SystemKey agentKey,
boolean filter)
Returns a set of Jobs for this Agent on this Item.
|
String |
_ItemStub.queryLifeCycle(SystemKey agentKey,
boolean filter)
Returns a set of Jobs for this Agent on this Item.
|
void |
AgentPOATie.removeRole(String roleName)
Remove this Agent from the given role
|
void |
_AgentStub.removeRole(String roleName)
Remove this Agent from the given role
|
void |
AgentOperations.removeRole(String roleName)
Remove this Agent from the given role
|
String |
TraceableEntity.requestAction(SystemKey agentId,
String stepPath,
int transitionID,
String requestData,
String attachmentType,
byte[] attachment) |
String |
ItemImplementation.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 |
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 |
_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 |
_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.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ActiveEntity.addRole(String roleName) |
void |
AgentImplementation.addRole(String roleName)
Adds the given Role to this Agent.
|
String |
ActiveEntity.delegatedAction(SystemKey agentId,
SystemKey delegateAgentId,
String stepPath,
int transitionID,
String requestData,
String attachmentType,
byte[] attachment) |
ItemProxy |
Job.getItemProxy() |
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.
|
String |
Job.getOutcomeString()
Returns the Outcome string.
|
Query |
Job.getQuery() |
Schema |
Job.getSchema() |
String |
Job.getSchemaName()
Deprecated.
|
int |
Job.getSchemaVersion()
Deprecated.
|
Script |
Job.getScript() |
void |
ActiveEntity.initialise(SystemKey agentId,
String propString,
String initWfString,
String initCollsString,
String initViewpointString,
String initOutcomeString) |
String |
ActiveEntity.queryData(String path) |
String |
ActiveEntity.queryLifeCycle(SystemKey agentId,
boolean filter) |
void |
ActiveEntity.removeRole(String roleName) |
void |
AgentImplementation.removeRole(String roleName)
Removes the given Role from this Agent.
|
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 |
|---|---|
Dependency |
ImportDependency.create() |
Aggregation |
ImportAggregation.create() |
Path |
ImportItem.create(AgentPath agentPath,
boolean reset) |
Path |
ImportAgent.create(AgentPath agentPath,
boolean reset) |
Path |
ImportRole.create(AgentPath agentPath,
boolean reset) |
protected CollectionArrayList |
ImportItem.createCollections() |
protected CompositeActivity |
ImportItem.createCompositeActivity()
This method enables to use ImportItem in different bootstrap uses cases (e.g.
|
String |
ImportOutcome.getData(String ns) |
void |
ImportRole.update(AgentPath agentPath) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
ItemProxy.checkContent(ClusterType cluster,
String name)
Check the root content of the given ClusterType
|
boolean |
ItemProxy.checkContent(String path,
String name)
Check if the data of the Item located by the ClusterStorage path is exist
|
boolean |
ItemProxy.checkContent(String path,
String name,
Object locker)
Check if the data of the Item located by the ClusterStorage path is exist.
|
boolean |
ItemProxy.checkOutcome(Schema schema,
int eventId)
Check if the given Outcome exists
|
boolean |
ItemProxy.checkOutcome(Schema schema,
int eventId,
Object locker)
Check if the given Outcome exists.
|
boolean |
ItemProxy.checkOutcome(String schemaName,
int schemaVersion,
int eventId)
Check if the given Outcome exists
|
boolean |
ItemProxy.checkOutcome(String schemaName,
int schemaVersion,
int eventId,
Object locker)
Check if the given Outcome exists.
|
boolean |
ItemProxy.checkOutcomeAttachment(Schema schema,
int eventId)
Check if the given OutcomeAttachment exists
|
boolean |
ItemProxy.checkOutcomeAttachment(Schema schema,
int eventId,
Object locker)
Check if the given OutcomeAttachment exists.
|
boolean |
ItemProxy.checkViewpoint(String schemaName,
String viewName)
Check if the given Viewpoint exists
|
boolean |
ItemProxy.checkViewpoint(String schemaName,
String viewName,
Object locker)
Check if the given Viewpoint exists.This method can be used in server
side Script to find uncommitted changes during the active transaction.
|
String |
AgentProxy.execute(ItemProxy item,
Class<?> predefStep)
Execution without any parameters using Class of predefined step instead of string literal.
|
String |
AgentProxy.execute(ItemProxy item,
Class<?> predefStep,
C2KLocalObject obj) |
String |
AgentProxy.execute(ItemProxy item,
Class<?> predefStep,
String param)
Single parameter execution using Class of predefined step instead of string literal.
|
String |
AgentProxy.execute(ItemProxy item,
Class<?> predefStep,
String[] params) |
String |
AgentProxy.execute(ItemProxy item,
String predefStep)
Execution without any parameters.
|
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.
|
AgentProxy |
ProxyManager.getAgentProxy(AgentPath path) |
AgentProxy |
ProxyManager.getAgentProxy(String agentName) |
Collection<?> |
ItemProxy.getCollection(BuiltInCollections collection)
Gets the current version of the named Collection
|
Collection<?> |
ItemProxy.getCollection(BuiltInCollections collection,
Integer version)
Gets a numbered version (snapshot) of a collection
|
Collection<?> |
ItemProxy.getCollection(BuiltInCollections collection,
Integer version,
Object locker)
Gets a numbered version (snapshot) of a collection
|
Collection<?> |
ItemProxy.getCollection(BuiltInCollections collection,
Object locker)
Gets the current version of the named Collection.
|
Collection<?> |
ItemProxy.getCollection(String collName)
Gets the last version of the named collection
|
Collection<?> |
ItemProxy.getCollection(String collName,
Integer version)
Gets a numbered version (snapshot) of a collection
|
Collection<?> |
ItemProxy.getCollection(String collName,
Integer version,
Object locker)
Gets a numbered version (snapshot) of a collection.
|
Collection<?> |
ItemProxy.getCollection(String collName,
Object locker)
Gets the last version of the named collection.
|
String[] |
ItemProxy.getContents(ClusterType type)
List the root content of the given ClusterType.
|
String[] |
ItemProxy.getContents(ClusterType type,
Object locker)
List the root content of the given ClusterType.
|
String[] |
ItemProxy.getContents(String path)
List the content of the cluster located by the cluster path
|
String[] |
ItemProxy.getContents(String path,
Object locker)
List the content of the cluster located by the cluster path.
|
Event |
ItemProxy.getEvent(int eventId)
Retrieves the Event of the given id.
|
Event |
ItemProxy.getEvent(int eventId,
Object locker)
Retrieves the Event of the given id.
|
protected Item |
ItemProxy.getItem()
Returns the CORBA Item this proxy is linked with
|
ItemProxy |
AgentProxy.getItem(Path itemPath) |
ItemProxy |
AgentProxy.getItem(String itemPath) |
ItemProxy |
AgentProxy.getItemByUUID(String uuid) |
Job |
ItemProxy.getJobByName(String actName,
AgentProxy agent)
Finds the first finishing job with the given name for the given Agent in the workflow.
|
Job |
ItemProxy.getJobByTransitionName(String actName,
String transName,
AgentPath agentPath)
Finds the Job with the given Activity and Transition name for the Agent in the Items Workflow
|
Job |
ItemProxy.getJobByTransitionName(String actName,
String transName,
AgentProxy agent)
Finds the Job with the given Activity and Transition name for the Agent in the Items Workflow
|
ArrayList<Job> |
ItemProxy.getJobList(AgentPath agentPath)
Get the list of active Jobs of the Item that can be executed by the Agent
|
ArrayList<Job> |
ItemProxy.getJobList(AgentProxy agent)
Get the list of active Jobs of the Item that can be executed by the Agent
|
C2KLocalObject |
ItemProxy.getObject(ClusterType type)
Retrieve the C2KLocalObject for the ClusterType
|
C2KLocalObject |
ItemProxy.getObject(String path)
Retrieve the C2KLocalObject for the Cluster path
|
C2KLocalObject |
ItemProxy.getObject(String path,
Object locker)
Retrieve the C2KLocalObject for the Cluster path.
|
Outcome |
ItemProxy.getOutcome(Event event)
Gets the Outcome associated with the Event.
|
Outcome |
ItemProxy.getOutcome(Event event,
Object locker)
Gets the Outcome associated with the Event.
|
Outcome |
ItemProxy.getOutcome(Schema schema,
int eventId)
Gets the selected Outcome,
|
Outcome |
ItemProxy.getOutcome(Schema schema,
int eventId,
Object locker)
Gets the selected Outcome.
|
Outcome |
ItemProxy.getOutcome(String schemaName,
int schemaVersion,
int eventId)
Gets the selected Outcome.
|
Outcome |
ItemProxy.getOutcome(String schemaName,
int schemaVersion,
int eventId,
Object locker)
Gets the selected Outcome.
|
Outcome |
ItemProxy.getOutcome(Viewpoint view)
Gets the Outcome selected by the Viewpoint
|
Outcome |
ItemProxy.getOutcome(Viewpoint view,
Object locker)
Gets the Outcome selected by the Viewpoint.
|
OutcomeAttachment |
ItemProxy.getOutcomeAttachment(Schema schema,
int eventId)
Gets the selected OutcomeAttachment
|
OutcomeAttachment |
ItemProxy.getOutcomeAttachment(Schema schema,
int eventId,
Object locker)
Gets the selected OutcomeAttachment.
|
OutcomeAttachment |
ItemProxy.getOutcomeAttachment(String schemaName,
int schemaVersion,
int eventId)
Gets the selected OutcomeAttachment
|
OutcomeAttachment |
ItemProxy.getOutcomeAttachment(String schemaName,
int schemaVersion,
int eventId,
Object locker)
Gets the selected OutcomeAttachment.
|
String |
ItemProxy.getProperty(BuiltInItemProperties prop)
Retrieves the values of a BuiltInItemProperty
|
String |
ItemProxy.getProperty(String name)
Retrieves the value of a named property
|
String |
ItemProxy.getProperty(String name,
Object locker) |
ItemProxy |
ProxyManager.getProxy(Path path) |
Viewpoint |
ItemProxy.getViewpoint(String schemaName,
String viewName)
Gets the named Viewpoint
|
Viewpoint |
ItemProxy.getViewpoint(String schemaName,
String viewName,
Object locker)
Gets the named Viewpoint.
|
String[] |
ItemProxy.getViewpoints(String schemaName)
Reads the list of existing Viewpoint names for the given schema
|
String[] |
ItemProxy.getViewpoints(String schemaName,
Object locker)
Reads the list of existing Viewpoint names for the given schema.
|
Workflow |
ItemProxy.getWorkflow()
Gets the Workflow object of this Item
|
Workflow |
ItemProxy.getWorkflow(Object locker)
Gets the Workflow object of this Item.
|
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
|
Agent |
AgentProxy.narrow() |
Item |
ItemProxy.narrow()
Narrows the CORBA Item this proxy is linked with
|
String |
ItemProxy.queryData(String path)
Query data of the Item located by the ClusterStorage path
|
String |
ItemProxy.queryData(String path,
Object locker)
Query data of the Item located by the ClusterStorage path
|
String |
ItemProxy.requestAction(Job thisJob)
Executes the given Job
|
ItemProxy |
AgentProxy.searchItem(Path root,
String name)
Let scripts resolve items
|
ItemProxy |
AgentProxy.searchItem(String name) |
| Constructor and Description |
|---|
AgentProxy(Object ior,
AgentPath agentPath)
Creates an AgentProxy without cache and change notification
|
| Modifier and Type | Method and Description |
|---|---|
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 |
XOrSplitDef.instantiate() |
WfVertex |
AndSplitDef.instantiate() |
WfVertex |
LoopDef.instantiate() |
WfVertex |
ActivityDef.instantiate() |
WfVertex |
CompositeActivityDef.instantiate() |
WfVertex |
OrSplitDef.instantiate() |
abstract WfVertex |
WfVertexDef.instantiate() |
WfVertex |
ActivitySlotDef.instantiate() |
WfVertex |
JoinDef.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
|
CollectionArrayList |
ActivityDef.makeDescCollections() |
CollectionArrayList |
CompositeActivityDef.makeDescCollections() |
WfVertexDef |
CompositeActivityDef.newChild(String Name,
String Type,
Integer version,
GraphPoint location) |
| Modifier and Type | Method and Description |
|---|---|
ArrayList<Job> |
CompositeActivity.calculateAllJobs(AgentPath agent,
ItemPath itemPath,
boolean recurse) |
ArrayList<Job> |
Activity.calculateAllJobs(AgentPath agent,
ItemPath itemPath,
boolean recurse) |
ArrayList<Job> |
CompositeActivity.calculateJobs(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> |
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
|
Object |
WfVertex.evaluateProperty(ItemPath itemPath,
String propName,
Object locker) |
Object |
WfVertex.evaluatePropertyValue(ItemPath itemPath,
Object propValue,
Object locker) |
String |
CompositeActivity.request(AgentPath agent,
AgentPath delegator,
ItemPath itemPath,
int transitionID,
String requestData,
String attachmentType,
byte[] attachment,
Object locker) |
String |
Activity.request(AgentPath agent,
AgentPath delegate,
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) |
protected String |
Activity.runActivityLogic(AgentPath agent,
ItemPath itemPath,
int transitionID,
String requestData,
Object locker)
Overridden in predefined steps
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
PredefinedStepCollectionBase.evaluateScript(ItemPath item,
String propertyValue,
CastorHashMap scriptProps,
Object locker) |
protected DependencyMember |
PredefinedStepCollectionBase.getDependencyMember() |
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 |
UpdateDependencyMember.runActivityLogic(AgentPath agent,
ItemPath item,
int transitionID,
String requestData,
Object locker) |
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 |
Import.runActivityLogic(AgentPath agent,
ItemPath item,
int transitionID,
String requestData,
Object locker)
Params: Schemaname_version:Viewpoint (optional), Outcome, Timestamp (optional)
|
protected String |
WriteProperty.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 |
UpdateProperitesFromDescription.runActivityLogic(AgentPath agent,
ItemPath item,
int transitionID,
String requestData,
Object locker) |
protected String |
Erase.runActivityLogic(AgentPath agent,
ItemPath item,
int transitionID,
String requestData,
Object locker)
|
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 |
AddMemberToCollection.runActivityLogic(AgentPath agent,
ItemPath item,
int transitionID,
String requestData,
Object locker) |
protected String |
UpdateCollectionsFromDescription.runActivityLogic(AgentPath agent,
ItemPath item,
int transitionID,
String requestData,
Object locker) |
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 |
RemoveViewpoint.runActivityLogic(AgentPath agent,
ItemPath item,
int transitionID,
String requestData,
Object locker)
SchemaName and Viewname
|
protected String |
RemoveSlotFromCollection.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 |
RemoveDomainPath.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 void |
PredefinedStepCollectionBase.setChildPath(String data) |
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) |
static void |
WriteProperty.write(ItemPath item,
String name,
String value,
Object locker)
Deprecated.
use PropertyUtility.writeProperty() instead
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
RemoveAgent.runActivityLogic(AgentPath agent,
ItemPath itemPath,
int transitionID,
String requestData,
Object locker)
Deprecated.
|
protected String |
SetAgentPassword.runActivityLogic(AgentPath agent,
ItemPath item,
int transitionID,
String requestData,
Object locker) |
| 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) |
static Collection<?> |
CreateItemFromDescription.instantiateCollection(String collName,
ItemPath descItemPath,
String descVer,
PropertyArrayList newProps,
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 String |
UpdateItemFromDescription.runActivityLogic(AgentPath agent,
ItemPath descItemPath,
int transitionID,
String requestData,
Object locker) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
BulkImport.runActivityLogic(AgentPath agent,
ItemPath itemPath,
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 |
RemoveDomainContext.runActivityLogic(AgentPath agent,
ItemPath item,
int transitionID,
String requestData,
Object locker) |
protected String |
UpdateRole.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 |
CreateNewItem.runActivityLogic(AgentPath agent,
ItemPath item,
int transitionID,
String requestData,
Object locker) |
| Modifier and Type | Method and Description |
|---|---|
String |
Transition.getPerformingRole(Activity act,
AgentPath agent) |
Map<Transition,String> |
StateMachine.getPossibleTransitions(Activity act,
AgentPath agent) |
Query |
Transition.getQuery(CastorHashMap actProps) |
Schema |
Transition.getSchema(CastorHashMap actProps) |
Script |
Transition.getScript(CastorHashMap actProps) |
boolean |
Transition.isEnabled(Activity act)
Computes if the Transition is enabled or not.
|
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 |
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 |
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 |
PropertyDataHelper.get(ItemPath itemPath,
String actContext,
String dataPath,
Object locker)
Syntax of search: PropertyName
|
String |
ViewpointDataHelper.get(ItemPath itemPath,
String actContext,
String dataPath,
Object locker)
dataPath syntax is used for search : viewpoint:/xpath/to/field
|
| Modifier and Type | Method and Description |
|---|---|
void |
LookupManager.addRole(AgentPath agent,
RolePath rolePath)
Adds the given Agent to the given Role, if they both exist.
|
String |
Lookup.getAgentName(AgentPath agentPath)
Return the name of the Agent referenced by an AgentPath
|
AgentPath |
Lookup.getAgentPath(String agentName)
Find the AgentPath for the named Agent
|
AgentPath[] |
Lookup.getAgents(RolePath rolePath)
Returns all of the Agents in this centre who hold this role (including sub-roles)
|
Lookup.PagedResult |
Lookup.getAgents(RolePath rolePath,
int offset,
int limit)
Returns all of the Agents who hold this role (including sub-roles)
|
String |
Lookup.getIOR(Path path)
Resolve a path to a CORBA Object Item or Agent
|
ItemPath |
Path.getItemPath() |
ItemPath |
DomainPath.getItemPath() |
ItemPath |
ItemPath.getItemPath() |
ItemPath |
Lookup.getItemPath(String sysKey)
Fetch the correct subclass class of ItemPath for a particular Item, derived from its lookup entry.
|
RolePath |
RolePath.getParent() |
RolePath |
Lookup.getRolePath(String roleName)
Find the RolePath for the named Role
|
void |
LookupManager.initializeDirectory()
Called when a server starts up.
|
void |
LookupManager.removeRole(AgentPath agent,
RolePath role)
Remove the given Agent from the given Role.
|
ItemPath |
Lookup.resolvePath(DomainPath domainPath)
Find the ItemPath for which a DomainPath is an alias.
|
void |
LookupManager.setAgentPassword(AgentPath agent,
String newPassword)
Set permanent password of Agent's
|
void |
LookupManager.setAgentPassword(AgentPath agent,
String newPassword,
boolean temporary)
Set an Agent's password
|
void |
LookupManager.setHasJobList(RolePath role,
boolean hasJobList)
Set the flag specifying whether Activities holding this Role should push
Jobs its Agents.
|
void |
LookupManager.setIOR(ItemPath item,
String ior)
Set the IOR of the Item
|
void |
LookupManager.setPermission(RolePath role,
String permission)
Sets the permission of the given Role.
|
void |
LookupManager.setPermissions(RolePath role,
List<String> permissions)
Sets the list of permission of the given Role.
|
| Modifier and Type | Method and Description |
|---|---|
C2KLocalObject |
ClusterStorageManager.get(ItemPath itemPath,
String path)
Internal get method.
|
C2KLocalObject |
TransactionManager.get(ItemPath itemPath,
String path,
Object locker)
Public get method.
|
| Modifier and Type | Method and Description |
|---|---|
Event |
Viewpoint.getEvent() |
Event |
OutcomeAttachment.getEvent() |
Outcome |
Viewpoint.getOutcome() |
Outcome |
OutcomeAttachment.getOutcome() |
Outcome |
Viewpoint.getOutcome(Object locker) |
Outcome |
OutcomeAttachment.getOutcome(Object locker) |
static OutcomeValidator |
OutcomeValidator.getValidator(Outcome o) |
| 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 StateMachine |
Bootstrap.getPredefSM()
Get the StateMachine of a Predefined Step
|
static AgentProxy |
Gateway.login(String agentName,
String agentPassword,
String resource)
Deprecated.
|
static void |
StandardServer.resetAgentIORs(RolePath root) |
static void |
StandardServer.resetItemIORs(DomainPath root) |
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.
|
| 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) |
abstract Path |
ModuleImport.create(AgentPath agentPath,
boolean reset) |
Path |
ModuleActivity.create(AgentPath agentPath,
boolean reset) |
ModuleDescRef |
ModuleActivity.getDescRef(ItemProxy child,
BuiltInCollections collection) |
void |
ModuleWorkflow.populateActivityDef() |
void |
ModuleActivity.populateActivityDef() |
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 |
|---|---|
String |
ResourceLoader.getTextResource(String ns,
String resName) |
String |
Resource.getTextResource(String ns,
String resName) |
| Modifier and Type | Method and Description |
|---|---|
void |
PropertyDescriptionList.export(Writer imports,
File dir,
boolean shallow) |
static Property |
PropertyUtility.getProperty(ItemPath itemPath,
BuiltInItemProperties prop,
Object locker) |
static Property |
PropertyUtility.getProperty(ItemPath itemPath,
String propName,
Object locker) |
static PropertyDescriptionList |
PropertyUtility.getPropertyDescriptionOutcome(ItemPath itemPath,
String descVer,
Object locker)
Reads the PropertyDescriptionList either from a built-in type of Item using LocalObjectLoader
or from the 'last' Viewpoint of the 'PropertyDescription' Outcome in the Item (very likely a Factory Item).
|
CollectionArrayList |
PropertyDescriptionList.makeDescCollections() |
static void |
PropertyUtility.writeProperty(ItemPath item,
String name,
String value,
Object locker)
Updates (writes) the value of an exitng Property
|
| 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) |
boolean |
SecurityManager.checkPermissions(AgentPath agent,
Activity act,
ItemPath itemPath) |
| Modifier and Type | Method and Description |
|---|---|
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() |
Copyright © 1997–2019 CRISTAL-iSE. All rights reserved.