| Modifier and Type | Method and Description |
|---|---|
E |
Collection.getMember(int memberId)
Find collection member by integer ID
|
Collection<DependencyMember> |
DependencyDescription.newInstance() |
Aggregation |
AggregationDescription.newInstance() |
Collection<E> |
CollectionDescription.newInstance()
Create a new instance of this collection.
|
void |
Dependency.removeMember(int memberId) |
void |
Aggregation.removeMember(int memberId) |
abstract void |
Collection.removeMember(int memberId)
Removes the slot with the given ID from the collection.
|
ItemProxy |
DependencyMember.resolveItem() |
ItemProxy |
AggregationMember.resolveItem() |
ItemProxy |
CollectionMember.resolveItem()
Resolve the Item currently assigned
|
| 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 |
_AgentStub.addRole(String roleName)
Add this Agent to the given role
|
void |
AgentOperations.addRole(String roleName)
Add this Agent to the given role
|
String |
_ItemStub.delegatedAction(SystemKey agentKey,
SystemKey delegateAgentKey,
String stepPath,
int transitionID,
String requestData) |
String |
_AgentStub.delegatedAction(SystemKey agentKey,
SystemKey delegateAgentKey,
String stepPath,
int transitionID,
String requestData) |
String |
TraceableEntity.delegatedAction(SystemKey agentId,
SystemKey delegateAgentId,
String stepPath,
int transitionID,
String requestData) |
String |
ItemImplementation.delegatedAction(SystemKey agentId,
SystemKey delegateId,
String stepPath,
int transitionID,
String requestData) |
String |
ItemOperations.delegatedAction(SystemKey agentKey,
SystemKey delegateAgentKey,
String stepPath,
int transitionID,
String requestData) |
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 |
_ItemStub.initialise(SystemKey agentKey,
String itemProps,
String workflow,
String collections)
Initialises a new Item.
|
void |
_AgentStub.initialise(SystemKey agentKey,
String itemProps,
String workflow,
String collections)
Initialises a new Item.
|
void |
ItemOperations.initialise(SystemKey agentKey,
String itemProps,
String workflow,
String collections)
Initialises a new Item.
|
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 |
_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 |
TraceableEntity.queryData(String path) |
String |
ItemImplementation.queryData(String path) |
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 |
_ItemStub.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 |
TraceableEntity.queryLifeCycle(SystemKey agentId,
boolean filter) |
String |
ItemImplementation.queryLifeCycle(SystemKey agentId,
boolean filter) |
String |
ItemOperations.queryLifeCycle(SystemKey agentKey,
boolean filter)
Returns a set of Jobs for this Agent on this Item.
|
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 |
_ItemStub.requestAction(SystemKey agentKey,
String stepPath,
int transitionID,
String requestData)
Requests a transition of an Activity in this Item's workflow.
|
String |
_AgentStub.requestAction(SystemKey agentKey,
String stepPath,
int transitionID,
String requestData)
Requests a transition of an Activity in this Item's workflow.
|
String |
TraceableEntity.requestAction(SystemKey agentId,
String stepPath,
int transitionID,
String requestData) |
String |
ItemImplementation.requestAction(SystemKey agentId,
String stepPath,
int transitionID,
String requestData) |
String |
ItemOperations.requestAction(SystemKey agentKey,
String stepPath,
int transitionID,
String requestData)
Requests a transition of an Activity in this Item's workflow.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AgentImplementation.addRole(String roleName)
Adds the given Role to this Agent.
|
void |
ActiveEntity.addRole(String roleName) |
String |
ActiveEntity.delegatedAction(SystemKey agentId,
SystemKey delegateAgentId,
String stepPath,
int transitionID,
String requestData) |
AgentPath |
Job.getAgentPath() |
AgentPath |
Job.getDelegatePath() |
ItemProxy |
Job.getItemProxy() |
String |
Job.getLastView() |
Outcome |
Job.getOutcome() |
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 |
ActiveEntity.queryData(String path) |
String |
ActiveEntity.queryLifeCycle(SystemKey agentId,
boolean filter) |
void |
AgentImplementation.removeRole(String roleName)
Removes the given Role from this Agent.
|
void |
ActiveEntity.removeRole(String roleName) |
String |
ActiveEntity.requestAction(SystemKey agentID,
String stepPath,
int transitionID,
String requestData) |
void |
Job.setAgentName(String agentName) |
void |
Job.setDelegateName(String delegateName) |
| Constructor and Description |
|---|
Job(Activity act,
ItemPath itemPath,
Transition transition,
AgentPath agent,
String role) |
| Modifier and Type | Method and Description |
|---|---|
Dependency |
ImportDependency.create() |
Aggregation |
ImportAggregation.create() |
Path |
ImportAgent.create(AgentPath agentPath,
boolean reset) |
Path |
ImportItem.create(AgentPath agentPath,
boolean reset) |
Path |
ImportRole.create(AgentPath agentPath,
boolean reset) |
String |
ImportOutcome.getData(String ns) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
AgentProxy |
ProxyManager.getAgentProxy(AgentPath path) |
Collection<?> |
ItemProxy.getCollection(String collName)
Gets the current version of the named collection
|
Collection<?> |
ItemProxy.getCollection(String collName,
Integer version)
Gets a numbered version (snapshot) of a collection
|
String[] |
ItemProxy.getContents(String path) |
protected Item |
ItemProxy.getItem() |
ItemProxy |
AgentProxy.getItem(Path itemPath) |
ItemProxy |
AgentProxy.getItem(String itemPath) |
ItemProxy |
AgentProxy.getItemByUUID(String uuid) |
Job |
ItemProxy.getJobByName(String actName,
AgentProxy agent)
Tries to find a job with the given name for the given Agent in
the workflow.
|
ArrayList<Job> |
ItemProxy.getJobList(AgentProxy agent) |
C2KLocalObject |
ItemProxy.getObject(String xpath) |
String |
ItemProxy.getProperty(String name) |
ItemProxy |
ProxyManager.getProxy(Path path)
ItemProxy getProxy( String )
Proxy from Alias
|
Viewpoint |
ItemProxy.getViewpoint(String schemaName,
String viewName)
Gets the named viewpoint
|
Workflow |
ItemProxy.getWorkflow()
Gets the Workflow object of this Item
|
void |
ItemProxy.initialise(AgentPath agentId,
PropertyArrayList itemProps,
CompositeActivity workflow,
CollectionArrayList colls) |
Item |
ItemProxy.narrow() |
Agent |
AgentProxy.narrow() |
String |
ItemProxy.queryData(String path) |
String |
ItemProxy.requestAction(Job thisJob) |
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) |
void |
CompositeActivityDef.export(Writer imports,
File dir) |
void |
ActivityDef.export(Writer imports,
File dir) |
ArrayList<ActivityDef> |
CompositeActivityDef.findRefActDefs(GraphModel graph) |
protected DescriptionObject[] |
ActivityDef.getCollectionResource(String collName) |
protected DescriptionObject |
ActivityDef.getPropertyResource(String nameProp,
String verProp) |
Script |
AndSplitDef.getRoutingScript() |
Schema |
ActivityDef.getSchema() |
Script |
ActivityDef.getScript() |
StateMachine |
ActivityDef.getStateMachine() |
ActivityDef |
ActivitySlotDef.getTheActivityDef() |
WfVertex |
LoopDef.instantiate() |
WfVertex |
JoinDef.instantiate() |
WfVertex |
CompositeActivityDef.instantiate()
Method instantiateAct.
|
WfVertex |
ActivitySlotDef.instantiate() |
WfVertex |
OrSplitDef.instantiate() |
WfVertex |
ActivityDef.instantiate() |
abstract WfVertex |
WfVertexDef.instantiate() |
WfVertex |
AndSplitDef.instantiate() |
WfVertex |
XOrSplitDef.instantiate() |
WfVertex |
CompositeActivityDef.instantiate(String name) |
WfVertex |
ActivityDef.instantiate(String name) |
CollectionArrayList |
CompositeActivityDef.makeDescCollections() |
CollectionArrayList |
ActivityDef.makeDescCollections() |
WfVertexDef |
CompositeActivityDef.newChild(String Name,
String Type,
Integer version,
GraphPoint location)
Method newChild.
|
| 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)
returns the lists of jobs for the activity and 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
|
Object |
WfVertex.evaluateProperty(ItemPath itemPath,
String propName,
Object locker) |
Object |
WfVertex.evaluatePropertyValue(ItemPath itemPath,
Object propValue,
Object locker) |
static DataHelper |
WfVertex.getDataHelper(String id) |
String |
Activity.request(AgentPath agent,
AgentPath delegate,
ItemPath itemPath,
int transitionID,
String requestData,
Object locker)
cf Item request
|
String |
CompositeActivity.request(AgentPath agent,
AgentPath delegator,
ItemPath itemPath,
int transitionID,
String requestData,
Object locker) |
String |
Workflow.requestAction(AgentPath agent,
AgentPath delegator,
String stepPath,
ItemPath itemPath,
int transitionID,
String requestData)
Method requestAction.
|
protected String |
Activity.runActivityLogic(AgentPath agent,
ItemPath itemPath,
int transitionID,
String requestData,
Object locker) |
| Modifier and Type | Method and Description |
|---|---|
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 |
AddMemberToCollection.runActivityLogic(AgentPath agent,
ItemPath item,
int transitionID,
String requestData,
Object locker)
Generates a new slot in a Dependency for the given item
Params:
0 - collection name
1 - target entity key
2 - slot properties
|
protected String |
Import.runActivityLogic(AgentPath agent,
ItemPath item,
int transitionID,
String requestData,
Object locker) |
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 |
WriteProperty.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) |
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 |
ClearSlot.runActivityLogic(AgentPath agent,
ItemPath item,
int transitionID,
String requestData,
Object locker)
Params:
0 - collection name
1 - slot number
|
protected String |
RemoveSlotFromCollection.runActivityLogic(AgentPath agent,
ItemPath item,
int transitionID,
String requestData,
Object locker)
Params:
0 - collection name
1 - slot number OR if -1:
2 - target entity key
|
protected String |
RemoveDomainPath.runActivityLogic(AgentPath agent,
ItemPath item,
int transitionID,
String requestData,
Object locker) |
protected String |
CreateAgentFromDescription.runActivityLogic(AgentPath agent,
ItemPath item,
int transitionID,
String requestData,
Object locker)
Params:
New Agent name
Description version to use
Comma-delimited Role names to assign to the agent.
|
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
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
RemoveAgent.runActivityLogic(AgentPath agent,
ItemPath itemPath,
int transitionID,
String requestData,
Object locker) |
protected String |
SetAgentPassword.runActivityLogic(AgentPath agent,
ItemPath item,
int transitionID,
String requestData,
Object locker) |
| Modifier and Type | Method and Description |
|---|---|
protected CollectionArrayList |
CreateItemFromDescription.getNewCollections(ItemPath itemPath,
String descVer,
Object locker) |
protected PropertyArrayList |
CreateItemFromDescription.getNewProperties(ItemPath itemPath,
String descVer,
PropertyArrayList initProps,
String newName,
AgentPath agent,
Object locker) |
protected CompositeActivity |
CreateItemFromDescription.getNewWorkflow(ItemPath itemPath,
String descVer,
Object locker) |
protected String |
CreateItemFromDescription.runActivityLogic(AgentPath agent,
ItemPath itemPath,
int transitionID,
String requestData,
Object locker) |
protected String |
Erase.runActivityLogic(AgentPath agent,
ItemPath item,
int transitionID,
String requestData,
Object locker) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
CreateNewItem.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 |
RemoveDomainContext.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) |
| Modifier and Type | Method and Description |
|---|---|
String |
Transition.getPerformingRole(Activity act,
AgentPath agent) |
Map<Transition,String> |
StateMachine.getPossibleTransitions(Activity act,
AgentPath agent) |
Schema |
Transition.getSchema(CastorHashMap actProps) |
Script |
Transition.getScript(CastorHashMap actProps) |
boolean |
Transition.isEnabled(Activity act) |
State |
StateMachine.traverse(Activity act,
Transition transition,
AgentPath agent) |
| Modifier and Type | Method and Description |
|---|---|
String |
ViewpointDataHelper.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) |
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 |
DataHelper.get(ItemPath itemPath,
String actContext,
String dataPath,
Object locker) |
| 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 username of the Agent referenced by an AgentPath
|
AgentPath |
Lookup.getAgentPath(String agentName) |
AgentPath[] |
Lookup.getAgents(RolePath rolePath)
Returns all of the Agents in this centre who hold this role (including sub-roles)
|
String |
Lookup.getIOR(Path path)
Resolve a path to a CORBA Object Item or Agent
|
ItemPath |
RolePath.getItemPath() |
ItemPath |
ItemPath.getItemPath() |
abstract ItemPath |
Path.getItemPath() |
ItemPath |
DomainPath.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 an Agent's password
|
void |
RolePath.setHasJobList(boolean hasJobList) |
void |
LookupManager.setHasJobList(RolePath role,
boolean hasJobList)
Set the flag specifying whether Activities holding this Role should push
Jobs its Agents.
|
| 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()
Method getEvent.
|
Outcome |
Viewpoint.getOutcome() |
static OutcomeValidator |
OutcomeValidator.getValidator(Outcome o) |
| Modifier and Type | Method and Description |
|---|---|
static AgentProxy |
Gateway.connect(String agentName,
String agentPassword) |
static AgentProxy |
Gateway.connect(String agentName,
String agentPassword,
String resource)
Logs in with the given username and password, and initialises the lookup, storage and proxy manager.
|
static AgentProxy |
Gateway.login(String agentName,
String agentPassword,
String resource) |
| 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) |
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,
String collName) |
void |
ModuleActivity.populateActivityDef() |
void |
ModuleWorkflow.populateActivityDef() |
void |
Module.setImports(Collection<?> contents) |
| Constructor and Description |
|---|
ModuleActivity(ItemProxy child,
Integer version) |
ModuleWorkflow(ItemProxy child,
Integer version) |
| Modifier and Type | Method and Description |
|---|---|
String |
Resource.getTextResource(String ns,
String resName) |
String |
ResourceLoader.getTextResource(String ns,
String resName) |
| Modifier and Type | Method and Description |
|---|---|
static PropertyDescriptionList |
PropertyUtility.getPropertyDescriptionOutcome(ItemPath itemPath,
String descVer,
Object locker) |
| Modifier and Type | Method and Description |
|---|---|
CollectionArrayList |
Script.makeDescCollections() |
| Modifier and Type | Method and Description |
|---|---|
void |
DescriptionObject.export(Writer imports,
File dir) |
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 activity def from the database
|
static CompositeActivityDef |
LocalObjectLoader.getCompActDef(String actName,
int actVersion) |
static ActivityDef |
LocalObjectLoader.getElemActDef(String actName,
int actVersion) |
static Schema |
LocalObjectLoader.getSchema(String schemaName,
int schemaVersion)
Retrieves a named version of a schema from the database
|
static Script |
LocalObjectLoader.getScript(String scriptName,
int scriptVersion)
Retrieves a named version of a script from the database
|
static StateMachine |
LocalObjectLoader.getStateMachine(String smName,
int smVersion)
Retrieves a named version of a state machine 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–2016 CRISTAL-iSE. All rights reserved.