| 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 | |
| org.cristalise.kernel.security |
| 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
|
Object |
CorbaServer.getAgentIOR(AgentPath agentPath) |
| 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 transactionKey) |
| Modifier and Type | Method and Description |
|---|---|
Path |
ImportRole.create(AgentPath agentPath,
boolean reset,
Object transactionKey) |
Path |
ImportAgent.create(AgentPath agentPath,
boolean reset,
Object transactionKey) |
Path |
ImportItem.create(AgentPath agentPath,
boolean reset,
Object transactionKey) |
void |
ImportRole.update(AgentPath agentPath) |
| 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
|
ArrayList<Job> |
ItemProxy.getJobList(AgentPath agentPath)
Get the list of active Jobs of the Item that can be executed by the Agent
|
void |
ItemProxy.initialise(AgentPath agentId,
PropertyArrayList itemProps,
CompositeActivity workflow,
CollectionArrayList colls)
Deprecated.
|
void |
ItemProxy.initialise(AgentPath agentId,
PropertyArrayList itemProps,
CompositeActivity workflow,
CollectionArrayList colls,
Viewpoint viewpoint,
Outcome outcome)
Deprecated.
|
| 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,
boolean hasAttachment) |
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,
boolean hasAttachment,
GTimeStamp ts)
Constructor for recreating object from backend
|
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) |
Event(ItemPath itemPath,
AgentPath agentPath,
AgentPath delegatePath,
String agentRole,
String stepName,
String stepPath,
String stepType,
StateMachine stateMachine,
int transitionId,
boolean hasAttachment) |
| 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
|
void |
XOrSplit.followNext(Next activeNext,
AgentPath agent,
ItemPath itemPath,
Object locker) |
void |
Loop.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,
String attachmentType,
byte[] attachment,
boolean validateOutcome,
Object transactionKey) |
String |
CompositeActivity.request(AgentPath agent,
AgentPath delegator,
ItemPath itemPath,
int transitionID,
String requestData,
String attachmentType,
byte[] attachment,
Object transactionKey) |
String |
Activity.request(AgentPath agent,
AgentPath delegate,
ItemPath itemPath,
int transitionID,
String requestData,
String attachmentType,
byte[] attachment,
Object transactionKey) |
String |
Workflow.requestAction(AgentPath agent,
AgentPath delegator,
String stepPath,
ItemPath itemPath,
int transitionID,
String requestData,
String attachmentType,
byte[] attachment) |
void |
CompositeActivity.run(AgentPath agent,
ItemPath itemPath,
Object transactionKey) |
abstract void |
WfVertex.run(AgentPath agent,
ItemPath itemPath,
Object locker) |
void |
Activity.run(AgentPath agent,
ItemPath itemPath,
Object transactionKey)
called by precedent Activity runNext() for setting the activity able to be executed
|
void |
Join.run(AgentPath agent,
ItemPath item,
Object locker) |
void |
Split.run(AgentPath agent,
ItemPath itemPath,
Object locker) |
protected String |
Activity.runActivityLogic(AgentPath agent,
ItemPath itemPath,
int transitionID,
String requestData,
Object transactionKey)
Overridden in predefined steps
|
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 transactionKey)
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) |
void |
Split.runFirst(AgentPath agent,
ItemPath itemPath,
Object locker) |
void |
XOrSplit.runNext(AgentPath agent,
ItemPath itemPath,
Object locker) |
void |
CompositeActivity.runNext(AgentPath agent,
ItemPath itemPath,
Object transactionKey) |
abstract void |
WfVertex.runNext(AgentPath agent,
ItemPath itemPath,
Object locker) |
void |
Activity.runNext(AgentPath agent,
ItemPath itemPath,
Object transactionKey)
sets the next activity available if possible
|
void |
AndSplit.runNext(AgentPath agent,
ItemPath item,
Object locker) |
void |
OrSplit.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) |
| Modifier and Type | Method and Description |
|---|---|
protected ActiveEntity |
CreateAgentFromDescription.createAgentAddRoles(AgentPath newAgentPath,
String[] roles,
String pwd)
Create Corba server, AgentPath and add Roles to agent
|
String |
PredefinedStep.request(AgentPath agent,
ItemPath itemPath,
String requestData,
Object transactionKey)
Use this method to run a Predefined step during bootstrap
|
protected String |
RemoveC2KObject.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 |
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 |
AddC2KObject.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 |
UpdateCollectionsFromDescription.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 |
WriteProperty.runActivityLogic(AgentPath agent,
ItemPath item,
int transitionID,
String requestData,
Object locker) |
protected String |
ChangeName.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 String |
UpdateImportReport.runActivityLogic(AgentPath agent,
ItemPath itemPath,
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 |
AddNewCollectionDescription.runActivityLogic(AgentPath agent,
ItemPath item,
int transitionID,
String requestData,
Object locker)
Params: 0 - collection name 1 - collection type (Aggregation, Dependency)
|
protected String |
AddMembersToCollection.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 |
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 |
UpdateDependencyMember.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 |
Import.runActivityLogic(AgentPath agent,
ItemPath item,
int transitionID,
String requestData,
Object locker)
Params: Schemaname_version:Viewpoint (optional), Outcome, Timestamp (optional)
|
protected String |
UpdateProperitesFromDescription.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 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 |
ReplaceDomainWorkflow.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
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
Authenticate.authenticate(AgentPath agent,
ItemPath itemPath,
String requestData,
Object locker) |
protected String |
RemoveAgent.runActivityLogic(AgentPath agent,
ItemPath itemPath,
int transitionID,
String requestData,
Object locker)
Deprecated.
|
protected String |
SetAgentRoles.runActivityLogic(AgentPath agent,
ItemPath item,
int transitionID,
String requestData,
Object locker) |
protected String |
Authenticate.runActivityLogic(AgentPath agent,
ItemPath itemPath,
int transitionID,
String requestData,
Object locker) |
protected String |
Login.runActivityLogic(AgentPath agent,
ItemPath itemPath,
int transitionID,
String requestData,
Object locker) |
protected String |
Sign.runActivityLogic(AgentPath agent,
ItemPath itemPath,
int transitionID,
String requestData,
Object locker) |
protected String |
Logout.runActivityLogic(AgentPath agent,
ItemPath itemPath,
int transitionID,
String requestData,
Object locker) |
protected String |
ForcedLogout.runActivityLogic(AgentPath agent,
ItemPath itemPath,
int transitionID,
String requestData,
Object locker) |
protected String |
LoginTimeout.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 void |
CreateItemFromDescription.initialiseItem(ItemPath newItem,
AgentPath agent,
ItemPath descItemPath,
PropertyArrayList initProps,
String outcome,
String newName,
String descVer,
DomainPath context,
ItemPath newItemPath,
Object locker) |
protected PropertyArrayList |
CreateItemFromDescription.instantiateProperties(ItemPath descItemPath,
String descVer,
PropertyArrayList initProps,
String newName,
AgentPath agent,
Object locker) |
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) |
static void |
CreateItemFromDescription.storeItem(AgentPath agent,
ItemPath item,
PropertyArrayList props,
CollectionArrayList colls,
CompositeActivity ca,
Viewpoint initViewpoint,
String initOutcomeString,
Object locker) |
| Modifier and Type | Method and Description |
|---|---|
AgentPath |
BulkImport.importAgentPath(ItemPath item,
Object transactionKey) |
| Modifier and Type | Method and Description |
|---|---|
void |
BulkImport.importRolePath(ItemPath item,
AgentPath agentPath,
Object transactionKey) |
protected String |
CreateNewItem.runActivityLogic(AgentPath agent,
ItemPath item,
int transitionID,
String requestData,
Object locker) |
protected String |
BulkImport.runActivityLogic(AgentPath agent,
ItemPath itemPath,
int transitionID,
String requestData,
Object transactionKey) |
protected String |
AddDomainContext.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 |
ConfigureLogback.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 |
CreateNewAgent.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) |
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
|
Lookup.PagedResult |
Lookup.getRoles(AgentPath agentPath,
int offset,
int limit)
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 permanent password of Agent's
|
void |
LookupManager.setAgentPassword(AgentPath agent,
String newPassword,
boolean temporary)
Set an Agent's password
|
| Modifier and Type | Method and Description |
|---|---|
Path |
ModuleActivity.create(AgentPath agentPath,
boolean reset,
Object transactionKey) |
Path |
ModuleResource.create(AgentPath agentPath,
boolean reset,
Object transactionKey) |
abstract Path |
ModuleImport.create(AgentPath agentPath,
boolean reset,
Object transactionKey) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
SecurityManager.checkPermissions(AgentPath agent,
Activity act,
ItemPath itemPath) |
org.apache.shiro.subject.Subject |
SecurityManager.getSubject(AgentPath agent) |
Copyright © 1997–2020 CRISTAL-iSE. All rights reserved.