Class ImportAgent
java.lang.Object
org.cristalise.kernel.process.module.ModuleImport
org.cristalise.kernel.entity.imports.ImportAgent
- All Implemented Interfaces:
DescriptionObject
-
Field Summary
FieldsFields inherited from class org.cristalise.kernel.process.module.ModuleImport
domainPath, isDOMPathExists, isNewItem, itemPath, name, ns, resourceChangeDetails, resourceChangeStatus -
Constructor Summary
ConstructorsConstructorDescriptionImportAgent(String aName, String pwd) Constructor with mandatory fieldsImportAgent(String folder, String aName, Integer version, String pwd) ImportAgent(String folder, String aName, String pwd) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidaddRole(ImportRole ir) voidvoidaddRole(BuiltInAuthc role) voidcreate(AgentPath agentPath, boolean reset, TransactionKey transactionKey) booleanexists(TransactionKey transactionKey) getAgentPath(TransactionKey transactionKey) getItemPath(TransactionKey transactionKey) Sets the ItemPath representing the Agent.getProxy()makeDescCollections(TransactionKey transactionKey) voidtoString()Methods inherited from class org.cristalise.kernel.process.module.ModuleImport
getID, getNamespace, hashCode, setNamespaceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.cristalise.kernel.utils.DescriptionObject
export, getItemPath, getName, getNamespace, getVersion, getXml, getXml, makeDescCollection, setItemPath, setName, setNamespace, setVersion, toOutcome
-
Field Details
-
version
-
-
Constructor Details
-
ImportAgent
public ImportAgent() -
ImportAgent
-
ImportAgent
-
ImportAgent
Constructor with mandatory fields- Parameters:
aName- name of the agentpwd- the password of the agent
-
-
Method Details
-
setID
- Overrides:
setIDin classModuleImport- Throws:
InvalidItemPathException
-
getDomainPath
-
exists
- Specified by:
existsin interfaceDescriptionObject
-
create
public Path create(AgentPath agentPath, boolean reset, TransactionKey transactionKey) throws ObjectNotFoundException, ObjectCannotBeUpdated, CannotManageException, ObjectAlreadyExistsException - Specified by:
createin classModuleImport- Throws:
ObjectNotFoundExceptionObjectCannotBeUpdatedCannotManageExceptionObjectAlreadyExistsException
-
getAgentPath
-
getProxy
-
getAgentPath
-
getItemPath
Sets the ItemPath representing the Agent. Tries to find Agent if it already exists, otherwise creates new ItemPath, i.e. it creates new UUID.- Overrides:
getItemPathin classModuleImport
-
addRoles
-
addRole
-
addRole
-
addRole
-
addRole
-
getItemID
- Specified by:
getItemIDin interfaceDescriptionObject
-
makeDescCollections
public CollectionArrayList makeDescCollections(TransactionKey transactionKey) throws InvalidDataException, ObjectNotFoundException - Specified by:
makeDescCollectionsin interfaceDescriptionObject- Throws:
InvalidDataExceptionObjectNotFoundException
-
getResourceType
- Specified by:
getResourceTypein interfaceDescriptionObject
-
toString
-