Uses of Class
org.cristalise.kernel.lookup.AgentPath
Packages that use AgentPath
Package
Description
This file is part of the CRISTAL-iSE kernel.
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.
-
Uses of AgentPath in org.cristalise.kernel.entity
Constructors in org.cristalise.kernel.entity with parameters of type AgentPath -
Uses of AgentPath in org.cristalise.kernel.entity.imports
Methods in org.cristalise.kernel.entity.imports that return AgentPathModifier and TypeMethodDescriptionImportAgent.getAgentPath()ImportAgent.getAgentPath(TransactionKey transactionKey) Methods in org.cristalise.kernel.entity.imports with parameters of type AgentPathModifier and TypeMethodDescriptionImportAgent.create(AgentPath agentPath, boolean reset, TransactionKey transactionKey) ImportItem.create(AgentPath agentPath, boolean reset, TransactionKey transactionKey) ImportRole.create(AgentPath agentPath, boolean reset, TransactionKey transactionKey) voidImportRole.update(AgentPath agentPath, TransactionKey transactionKey) -
Uses of AgentPath in org.cristalise.kernel.entity.proxy
Methods in org.cristalise.kernel.entity.proxy that return AgentPathMethods in org.cristalise.kernel.entity.proxy with parameters of type AgentPathModifier and TypeMethodDescriptionbooleanItemProxy.checkJobForAgent(Job job, AgentPath agentPath) static AgentProxyProxyManager.getAgentProxy(AgentPath path) static AgentProxyProxyManager.getAgentProxy(AgentPath path, TransactionKey transactionKey) ItemProxy.getJobByTransitionName(String actName, String transName, AgentPath agentPath) Finds the Job with the given Activity and Transition name for the Agent in the Items WorkflowGet the list of active Jobs of the Item that can be executed by the AgentGet the list of active Jobs of the Item for the given Activity that can be executed by the Agent.Constructors in org.cristalise.kernel.entity.proxy with parameters of type AgentPathModifierConstructorDescriptionprotectedAgentProxy(AgentPath agentPath) Creates an AgentProxy without cache and change notificationprotectedAgentProxy(AgentPath agentPath, TransactionKey transKey) -
Uses of AgentPath in org.cristalise.kernel.events
Methods in org.cristalise.kernel.events with parameters of type AgentPathModifier and TypeMethodDescriptionHistory.addEvent(AgentPath agentPath, String agentRole, String stepName, String stepPath, String stepType, StateMachine stateMachine, int transitionId) History.addEvent(AgentPath agentPath, String agentRole, String stepName, String stepPath, String stepType, StateMachine stateMachine, int transitionId, String timeString) History.addEvent(AgentPath agentPath, String agentRole, String stepName, String stepPath, String stepType, Schema schema, StateMachine stateMachine, int transitionId, String viewName) History.addEvent(AgentPath agentPath, String agentRole, String stepName, String stepPath, String stepType, Schema schema, StateMachine stateMachine, int transitionId, String viewName, boolean hasAttachment) History.addEvent(AgentPath agentPath, String agentRole, String stepName, String stepPath, String stepType, Schema schema, StateMachine stateMachine, int transitionId, String viewName, String timeString) Constructors in org.cristalise.kernel.events with parameters of type AgentPathModifierConstructorDescriptionEvent(Integer id, ItemPath itemPath, AgentPath agentPath, 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 backendEvent(Integer id, ItemPath itemPath, AgentPath agentPath, 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 backendEvent(ItemPath itemPath, AgentPath agentPath, String agentRole, String stepName, String stepPath, String stepType, StateMachine stateMachine, int transitionId) Event(ItemPath itemPath, AgentPath agentPath, String agentRole, String stepName, String stepPath, String stepType, StateMachine stateMachine, int transitionId, boolean hasAttachment) -
Uses of AgentPath in org.cristalise.kernel.lifecycle.instance
Methods in org.cristalise.kernel.lifecycle.instance with parameters of type AgentPathModifier and TypeMethodDescriptionvoidActivity.abort(AgentPath agent, ItemPath itemPath, TransactionKey transactionKey) voidCompositeActivity.abort(AgentPath agentPath, ItemPath itemPath, TransactionKey transactionKey) voidWfVertex.abort(AgentPath agent, ItemPath itemPath, TransactionKey transactionKey) Activity.calculateAllJobs(AgentPath agent, ItemPath itemPath, boolean recurse) CompositeActivity.calculateAllJobs(AgentPath agent, ItemPath itemPath, boolean recurse) 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)CompositeActivity.calculateJobs(AgentPath agent, ItemPath itemPath, boolean recurse) 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 queriedvoidWorkflow.initialise(ItemPath itemPath, AgentPath agent, TransactionKey transactionKey) Activity.request(AgentPath agent, ItemPath itemPath, int transitionID, String requestData, String attachmentType, byte[] attachment, boolean validateOutcome, TransactionKey transactionKey) Activity.request(AgentPath agent, ItemPath itemPath, int transitionID, String requestData, String attachmentType, byte[] attachment, TransactionKey transactionKey) CompositeActivity.request(AgentPath agent, ItemPath itemPath, int transitionID, String requestData, String attachmentType, byte[] attachment, TransactionKey transactionKey) Workflow.requestAction(AgentPath agent, String stepPath, ItemPath itemPath, int transitionID, String requestData, String attachmentType, byte[] attachment, TransactionKey transactionKey) protected StringActivity.runActivityLogic(AgentPath agent, ItemPath itemPath, int transitionID, String requestData, TransactionKey transactionKey) Overridden in predefined steps -
Uses of AgentPath in org.cristalise.kernel.lifecycle.instance.predefined
Methods in org.cristalise.kernel.lifecycle.instance.predefined with parameters of type AgentPathModifier and TypeMethodDescriptionprotected voidCreateAgentFromDescription.createAgentAddRoles(AgentPath newAgentPath, String[] roles, String pwd, TransactionKey transactionKey) Create Corba server, AgentPath and add Roles to agentprotected voidErase.eraseOneItem(AgentPath agentP, ItemPath itemP, boolean forceFlag, TransactionKey transactionKey) protected voidErase.removeBidirectionalReferences(AgentPath agentP, ItemPath itemP, boolean forceFlag, TransactionKey transactionKey) PredefinedStep.request(AgentPath agent, ItemPath itemPath, String requestData, TransactionKey transactionKey) Use this method to run a Predefined steps during Bootstrap or during Activity.request()protected StringAddC2KObject.runActivityLogic(AgentPath agent, ItemPath item, int transitionID, String requestData, TransactionKey transactionKey) protected StringAddDomainPath.runActivityLogic(AgentPath agent, ItemPath item, int transitionID, String requestData, TransactionKey transactionKey) protected StringAddMembersToCollection.runActivityLogic(AgentPath agent, ItemPath itemPath, int transitionID, String requestData, TransactionKey transactionKey) protected StringAddNewCollectionDescription.runActivityLogic(AgentPath agent, ItemPath item, int transitionID, String requestData, TransactionKey transactionKey) Params: 0 - collection name 1 - collection type (Aggregation | Dependency) 2 - properties - CastorHasMap marshaled 3 - Member DomainPath to specify the Type of the member Itemprotected StringAddNewSlot.runActivityLogic(AgentPath agent, ItemPath item, int transitionID, String requestData, TransactionKey transactionKey) 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 StringAssignItemToSlot.runActivityLogic(AgentPath agent, ItemPath item, int transitionID, String requestData, TransactionKey transactionKey) Params: 0 - collection name 1 - slot number 2 - target entity keyprotected StringBulkErase.runActivityLogic(AgentPath agent, ItemPath item, int transitionID, String requestData, TransactionKey transactionKey) protected StringChangeName.runActivityLogic(AgentPath agent, ItemPath item, int transitionID, String requestData, TransactionKey transactionKey) protected StringClearSlot.runActivityLogic(AgentPath agent, ItemPath item, int transitionID, String requestData, TransactionKey transactionKey) Params: 0 - collection name 1 - slot numberprotected StringCreateAgentFromDescription.runActivityLogic(AgentPath agentPath, ItemPath descItemPath, int transitionID, String requestData, TransactionKey transactionKey) 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 StringCreateItemFromDescription.runActivityLogic(AgentPath agentPath, ItemPath descItemPath, int transitionID, String requestData, TransactionKey transactionKey) Params: Item name Domain context Description version to use(optional) Initial properties to set in the new Agent (optional)protected StringCreateNewCollectionVersion.runActivityLogic(AgentPath agent, ItemPath item, int transitionID, String requestData, TransactionKey transactionKey) Generates a new snapshot of a collection from its current state.protected StringErase.runActivityLogic(AgentPath agent, ItemPath item, int transitionID, String requestData, TransactionKey transactionKey) protected StringImport.runActivityLogic(AgentPath agent, ItemPath item, int transitionID, String requestData, TransactionKey transactionKey) Params: Schemaname_version:Viewpoint (optional), Outcome, Timestamp (optional)protected StringImportImportAgent.runActivityLogic(AgentPath agent, ItemPath item, int transitionID, String requestData, TransactionKey transactionKey) protected StringImportImportItem.runActivityLogic(AgentPath agent, ItemPath item, int transitionID, String requestData, TransactionKey transactionKey) protected StringImportImportRole.runActivityLogic(AgentPath agent, ItemPath item, int transitionID, String requestData, TransactionKey transactionKey) protected abstract StringPredefinedStep.runActivityLogic(AgentPath agent, ItemPath itemPath, int transitionID, String requestData, TransactionKey transactionKey) All predefined steps must override this to implement their actionprotected StringRemoveC2KObject.runActivityLogic(AgentPath agent, ItemPath item, int transitionID, String requestData, TransactionKey transactionKey) protected StringRemoveDomainPath.runActivityLogic(AgentPath agent, ItemPath item, int transitionID, String requestData, TransactionKey transactionKey) protected StringRemoveMembersFromCollection.runActivityLogic(AgentPath agent, ItemPath itemPath, int transitionID, String requestData, TransactionKey transactionKey) protected StringRemoveViewpoint.runActivityLogic(AgentPath agent, ItemPath item, int transitionID, String requestData, TransactionKey transactionKey) SchemaName and Viewnameprotected StringReplaceDomainWorkflow.runActivityLogic(AgentPath agent, ItemPath item, int transitionID, String requestData, TransactionKey transactionKey) protected StringUpdateCollectionsFromDescription.runActivityLogic(AgentPath agent, ItemPath item, int transitionID, String requestData, TransactionKey transactionKey) protected StringUpdateDependencyMember.runActivityLogic(AgentPath agent, ItemPath item, int transitionID, String requestData, TransactionKey transactionKey) protected StringUpdateImportReport.runActivityLogic(AgentPath agent, ItemPath itemPath, int transitionID, String requestData, TransactionKey transactionKey) protected StringUpdateItemFromDescription.runActivityLogic(AgentPath agent, ItemPath descItemPath, int transitionID, String requestData, TransactionKey transactionKey) protected StringUpdateProperitesFromDescription.runActivityLogic(AgentPath agent, ItemPath item, int transitionID, String requestData, TransactionKey transactionKey) protected StringWriteProperty.runActivityLogic(AgentPath agent, ItemPath item, int transitionID, String requestData, TransactionKey transactionKey) protected StringWriteViewpoint.runActivityLogic(AgentPath agent, ItemPath item, int transitionID, String requestData, TransactionKey transactionKey) SchemaName, name and event Id.static voidCreateItemFromDescription.storeItem(AgentPath agent, ItemPath item, PropertyArrayList props, CollectionArrayList colls, CompositeActivity ca, Viewpoint initViewpoint, String initOutcomeString, TransactionKey transactionKey) -
Uses of AgentPath in org.cristalise.kernel.lifecycle.instance.predefined.agent
Methods in org.cristalise.kernel.lifecycle.instance.predefined.agent with parameters of type AgentPathModifier and TypeMethodDescriptionprotected StringAuthenticate.authenticate(AgentPath agent, ItemPath itemPath, String requestData, TransactionKey transactionKey) protected StringAuthenticate.runActivityLogic(AgentPath agent, ItemPath itemPath, int transitionID, String requestData, TransactionKey transactionKey) protected StringForcedLogout.runActivityLogic(AgentPath agent, ItemPath itemPath, int transitionID, String requestData, TransactionKey transactionKey) protected StringLogin.runActivityLogic(AgentPath agent, ItemPath itemPath, int transitionID, String requestData, TransactionKey transactionKey) protected StringLoginTimeout.runActivityLogic(AgentPath agent, ItemPath itemPath, int transitionID, String requestData, TransactionKey transactionKey) protected StringLogout.runActivityLogic(AgentPath agent, ItemPath itemPath, int transitionID, String requestData, TransactionKey transactionKey) protected StringSetAgentPassword.runActivityLogic(AgentPath agent, ItemPath item, int transitionID, String requestData, TransactionKey transactionKey) protected StringSetAgentRoles.runActivityLogic(AgentPath agent, ItemPath item, int transitionID, String requestData, TransactionKey transactionKey) protected StringSign.runActivityLogic(AgentPath agent, ItemPath itemPath, int transitionID, String requestData, TransactionKey transactionKey) -
Uses of AgentPath in org.cristalise.kernel.lifecycle.instance.predefined.server
Methods in org.cristalise.kernel.lifecycle.instance.predefined.server that return AgentPathModifier and TypeMethodDescriptionBulkImport.importAgentPath(ItemPath item, TransactionKey transactionKey) Methods in org.cristalise.kernel.lifecycle.instance.predefined.server with parameters of type AgentPathModifier and TypeMethodDescriptionvoidBulkImport.importRolePath(ItemPath item, AgentPath agentPath, TransactionKey transactionKey) protected StringAddDomainContext.runActivityLogic(AgentPath agent, ItemPath item, int transitionID, String requestData, TransactionKey transactionKey) protected StringBulkImport.runActivityLogic(AgentPath agent, ItemPath itemPath, int transitionID, String requestData, TransactionKey transactionKey) protected StringConfigureLogback.runActivityLogic(AgentPath agent, ItemPath item, int transitionID, String requestData, TransactionKey transactionKey) protected StringRemoveDomainContext.runActivityLogic(AgentPath agent, ItemPath item, int transitionID, String requestData, TransactionKey transactionKey) protected StringRemoveRole.runActivityLogic(AgentPath agent, ItemPath item, int transitionID, String requestData, TransactionKey transactionKey) protected StringUpdateRole.runActivityLogic(AgentPath agent, ItemPath item, int transitionID, String requestData, TransactionKey transactionKey) -
Uses of AgentPath in org.cristalise.kernel.lifecycle.instance.stateMachine
Methods in org.cristalise.kernel.lifecycle.instance.stateMachine with parameters of type AgentPathModifier and TypeMethodDescriptionvoidTransition.checkPerformingRole(Activity act, AgentPath agent) StateMachine.getPossibleTransitions(Activity act, AgentPath agent) Transition.getReservation(Activity act, AgentPath agent) StateMachine.traverse(Activity act, Transition transition, AgentPath agent) -
Uses of AgentPath in org.cristalise.kernel.lookup
Methods in org.cristalise.kernel.lookup that return AgentPathModifier and TypeMethodDescriptiondefault AgentPathLookup.getAgentPath(String agentName) Find the AgentPath for the named AgentLookup.getAgentPath(String agentName, TransactionKey transactionKey) Find the AgentPath for the named Agent This method can be used in server side code or Script to find uncommitted changes during the active transaction.default AgentPath[]Returns all of the Agents in this centre who hold this role (including sub-roles)Lookup.getAgents(RolePath rolePath, TransactionKey transactionKey) Returns all of the Agents in this centre who hold this role (including sub-roles) This method can be used in server side code or Script to find uncommitted changes during the active transaction.Methods in org.cristalise.kernel.lookup with parameters of type AgentPathModifier and TypeMethodDescriptiondefault voidAdds the given Agent to the given Role, if they both exist.voidLookupManager.addRole(AgentPath agent, RolePath rolePath, TransactionKey transactionKey) Adds the given Agent to the given Role, if they both exist.default StringLookup.getAgentName(AgentPath agentPath) Return the name of the Agent referenced by an AgentPathLookup.getAgentName(AgentPath agentPath, TransactionKey transactionKey) Return the name of the Agent referenced by an AgentPath This method can be used in server side code or Script to find uncommitted changes during the active transaction.default RolePath[]Get all roles held by the given Agentdefault Lookup.PagedResultGet all roles held by the given AgentLookup.getRoles(AgentPath agentPath, int offset, int limit, TransactionKey transactionKey) Get all roles held by the given Agent This method can be used in server side code or Script to find uncommitted changes during the active transaction.RolePath[]Lookup.getRoles(AgentPath agentPath, TransactionKey transactionKey) Get all roles held by the given Agent This method can be used in server side code or Script to find uncommitted changes during the active transaction.default booleanChecks if an agent qualifies as holding the stated Role, including any sub-role logic.booleanLookup.hasRole(AgentPath agentPath, RolePath role, TransactionKey transactionKey) Checks if an agent qualifies as holding the stated Role, including any sub-role logic.default voidLookupManager.removeRole(AgentPath agent, RolePath role) Remove the given Agent from the given Role.voidLookupManager.removeRole(AgentPath agent, RolePath role, TransactionKey transactionKey) Remove the given Agent from the given Role.default voidLookupManager.setAgentPassword(AgentPath agent, String newPassword) Set permanent password of Agent'sdefault voidLookupManager.setAgentPassword(AgentPath agent, String newPassword, boolean temporary) Set an Agent's passwordvoidLookupManager.setAgentPassword(AgentPath agent, String newPassword, boolean temporary, TransactionKey transactionKey) Set an Agent's password This method can be used in server side code or Script to find uncommitted changes during the active transaction. -
Uses of AgentPath in org.cristalise.kernel.process.module
Methods in org.cristalise.kernel.process.module with parameters of type AgentPathModifier and TypeMethodDescriptionModuleActivity.create(AgentPath agentPath, boolean reset, TransactionKey transactionKey) abstract PathModuleImport.create(AgentPath agentPath, boolean reset, TransactionKey transactionKey) ModuleResource.create(AgentPath agentPath, boolean reset, TransactionKey transactionKey) -
Uses of AgentPath in org.cristalise.kernel.security
Methods in org.cristalise.kernel.security with parameters of type AgentPathModifier and TypeMethodDescriptionbooleanSecurityManager.checkPermissions(AgentPath agent, Activity act, ItemPath itemPath, TransactionKey transactionKey) org.apache.shiro.subject.SubjectSecurityManager.getSubject(AgentPath agent)