| Package | Description |
|---|---|
| org.cristalise.kernel.entity |
The implementations of Items, and their core functionality.
|
| org.cristalise.kernel.entity.agent |
The implementation of Agents, and their Jobs.
|
| org.cristalise.kernel.entity.imports | |
| org.cristalise.kernel.entity.proxy |
The Proxy API is a major part of the client-side functionality of the
CRISTAL API, which provides client-side proxy objects that represent the
Items and Agents on the server.
|
| org.cristalise.kernel.events | |
| org.cristalise.kernel.lifecycle.instance | |
| org.cristalise.kernel.lifecycle.instance.predefined | |
| org.cristalise.kernel.lifecycle.instance.predefined.agent | |
| org.cristalise.kernel.lifecycle.instance.predefined.item | |
| org.cristalise.kernel.lifecycle.instance.predefined.server | |
| org.cristalise.kernel.lifecycle.instance.stateMachine | |
| org.cristalise.kernel.lookup | |
| org.cristalise.kernel.process.module |
| Modifier and Type | Method and Description |
|---|---|
ActiveEntity |
CorbaServer.createAgent(AgentPath agentPath) |
ActiveEntity |
CorbaServer.getAgent(AgentPath agentPath)
Returns a CORBA servant for a pre-existing entity
|
| Constructor and Description |
|---|
ActiveEntity(AgentPath key,
POA poa) |
AgentImplementation(AgentPath path) |
Job(Activity act,
ItemPath itemPath,
Transition transition,
AgentPath agent,
AgentPath delegate,
String role)
Main constructor to create Job during workflow enactment
|
Job(int id,
ItemPath itemPath,
String stepName,
String stepPath,
String stepType,
Transition transition,
String originStateName,
String targetStateName,
String agentRole,
AgentPath agentPath,
AgentPath delegatePath,
CastorHashMap actProps,
GTimeStamp creationDate)
Constructor for recreating Job from backend
|
JobList(AgentPath agentPath,
Object locker) |
| Modifier and Type | Method and Description |
|---|---|
Path |
ImportRole.create(AgentPath agentPath,
boolean reset) |
Path |
ImportAgent.create(AgentPath agentPath,
boolean reset) |
Path |
ImportItem.create(AgentPath agentPath,
boolean reset) |
| Modifier and Type | Method and Description |
|---|---|
AgentPath |
AgentProxy.getPath() |
| Modifier and Type | Method and Description |
|---|---|
AgentProxy |
ProxyManager.getAgentProxy(AgentPath path) |
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
|
void |
ItemProxy.initialise(AgentPath agentId,
PropertyArrayList itemProps,
CompositeActivity workflow,
CollectionArrayList colls) |
| Constructor and Description |
|---|
AgentProxy(Object ior,
AgentPath agentPath)
Creates an AgentProxy without cache and change notification
|
| 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) |
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) |
Event |
History.addEvent(AgentPath agentPath,
AgentPath delegatePath,
String agentRole,
String stepName,
String stepPath,
String stepType,
StateMachine stateMachine,
int transitionId,
String timeString) |
| Constructor and Description |
|---|
Event(Integer id,
ItemPath itemPath,
AgentPath agentPath,
AgentPath delegatePath,
String agentRole,
String stepName,
String stepPath,
String stepType,
String smName,
Integer smVersion,
int transitionId,
int originState,
int targetState,
String schemaName,
Integer schemaVersion,
String viewName,
GTimeStamp ts)
Constructor for recreating object from backend
|
Event(ItemPath itemPath,
AgentPath agentPath,
AgentPath delegatePath,
String agentRole,
String stepName,
String stepPath,
String stepType,
StateMachine stateMachine,
int transitionId) |
| 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
|
void |
Loop.followNext(Next activeNext,
AgentPath agent,
ItemPath itemPath,
Object locker) |
void |
XOrSplit.followNext(Next activeNext,
AgentPath agent,
ItemPath itemPath,
Object locker) |
void |
Workflow.initialise(ItemPath itemPath,
AgentPath agent,
Object locker) |
String |
Activity.request(AgentPath agent,
AgentPath delegate,
ItemPath itemPath,
int transitionID,
String requestData,
Object locker) |
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) |
void |
Join.run(AgentPath agent,
ItemPath item,
Object locker) |
void |
Split.run(AgentPath agent,
ItemPath itemPath,
Object locker) |
abstract void |
WfVertex.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 |
CompositeActivity.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 |
Join.runFirst(AgentPath agent,
ItemPath item,
Object locker) |
void |
Split.runFirst(AgentPath agent,
ItemPath itemPath,
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 |
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 |
AndSplit.runNext(AgentPath agent,
ItemPath item,
Object locker) |
void |
OrSplit.runNext(AgentPath agent,
ItemPath itemPath,
Object locker) |
void |
XOrSplit.runNext(AgentPath agent,
ItemPath itemPath,
Object locker) |
void |
Join.runNext(AgentPath agent,
ItemPath item,
Object locker) |
abstract void |
Split.runNext(AgentPath agent,
ItemPath itemPath,
Object locker) |
abstract void |
WfVertex.runNext(AgentPath agent,
ItemPath itemPath,
Object locker) |
void |
Activity.runNext(AgentPath agent,
ItemPath itemPath,
Object locker)
sets the next activity available if possible
|
void |
CompositeActivity.runNext(AgentPath agent,
ItemPath itemPath,
Object locker) |
| Modifier and Type | Method and Description |
|---|---|
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 |
ReplaceDomainWorkflow.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 |
AddC2KObject.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)
Generates a new slot in a Dependency for the given item
Params:
0 - collection name
1 - target entity key
2 - slot properties
|
protected String |
AddDomainPath.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 |
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 |
RemoveDomainPath.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)
Params:
0 - collection name
1 - slot number OR if -1:
2 - target entity key
|
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 |
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 |
Import.runActivityLogic(AgentPath agent,
ItemPath item,
int transitionID,
String requestData,
Object locker)
Params: Schemaname_version:Viewpoint (optional), Outcome, Timestamp (optional)
|
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 |
CreateAgentFromDescription.runActivityLogic(AgentPath agentPath,
ItemPath itemPath,
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) |
protected String |
SetAgentRoles.runActivityLogic(AgentPath agent,
ItemPath item,
int transitionID,
String requestData,
Object locker) |
| Modifier and Type | Method and Description |
|---|---|
protected PropertyArrayList |
CreateItemFromDescription.instantiateProperties(ItemPath itemPath,
String descVer,
PropertyArrayList initProps,
String newName,
AgentPath agent,
Object locker) |
protected String |
Erase.runActivityLogic(AgentPath agent,
ItemPath item,
int transitionID,
String requestData,
Object locker) |
protected String |
CreateItemFromDescription.runActivityLogic(AgentPath agent,
ItemPath itemPath,
int transitionID,
String requestData,
Object locker)
requestdata is xmlstring
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
AddDomainContext.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 |
CreateNewAgent.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) |
protected String |
RemoveRole.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) |
| Modifier and Type | Method and Description |
|---|---|
String |
Transition.getPerformingRole(Activity act,
AgentPath agent) |
Map<Transition,String> |
StateMachine.getPossibleTransitions(Activity act,
AgentPath agent) |
String |
Transition.getReservation(Activity act,
AgentPath agent) |
State |
StateMachine.traverse(Activity act,
Transition transition,
AgentPath agent) |
| Modifier and Type | Method and Description |
|---|---|
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)
|
| 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
|
RolePath[] |
Lookup.getRoles(AgentPath agentPath)
Get all roles held by the given Agent
|
boolean |
Lookup.hasRole(AgentPath agentPath,
RolePath role)
Checks if an agent qualifies as holding the stated Role, including any sub-role logic.
|
void |
LookupManager.removeRole(AgentPath agent,
RolePath role)
Remove the given Agent from the given Role.
|
void |
LookupManager.setAgentPassword(AgentPath agent,
String newPassword)
Set an Agent's password
|
| Modifier and Type | Method and Description |
|---|---|
Path |
ModuleActivity.create(AgentPath agentPath,
boolean reset) |
Path |
ModuleResource.create(AgentPath agentPath,
boolean reset) |
abstract Path |
ModuleImport.create(AgentPath agentPath,
boolean reset) |
Copyright © 1997–2017 CRISTAL-iSE. All rights reserved.