public class ImportItem extends ModuleImport
| Modifier and Type | Field and Description |
|---|---|
protected ArrayList<ImportAggregation> |
aggregationList |
protected CompositeActivityDef |
compActDef
Alternative way to provide workflow definition.
|
protected ArrayList<ImportDependency> |
dependencyList |
protected String |
initialPath |
protected ArrayList<ImportOutcome> |
outcomes |
protected ArrayList<Property> |
properties |
protected Workflow |
wf
Alternative way to provide workflow.
|
protected String |
workflow |
protected Integer |
workflowVer |
domainPath, isDOMPathExists, isNewItem, itemPath, name, ns| Constructor and Description |
|---|
ImportItem() |
ImportItem(String ns,
String name,
String initialPath,
ItemPath itemPath,
String wf,
int wfVer) |
| Modifier and Type | Method and Description |
|---|---|
Path |
create(AgentPath agentPath,
boolean reset,
TransactionKey transactionKey) |
protected CollectionArrayList |
createCollections(TransactionKey transactionKey) |
protected CompositeActivity |
createCompositeActivity(TransactionKey transactionKey)
This method enables to use ImportItem in different bootstrap uses cases (e.g.
|
protected PropertyArrayList |
createItemProperties() |
ItemPath |
getItemPath() |
ItemPath |
getItemPath(TransactionKey transactionKey)
Try to find ItemPath if already exists.
|
int |
getWfVersion()
Get the workflow version.
|
void |
setName(String name) |
void |
setNamespace(String ns) |
getID, getNamespace, hashCode, setIDprotected String initialPath
protected String workflow
protected Integer workflowVer
protected ArrayList<ImportAggregation> aggregationList
protected ArrayList<ImportDependency> dependencyList
protected ArrayList<ImportOutcome> outcomes
protected CompositeActivityDef compActDef
protected Workflow wf
public ItemPath getItemPath()
public int getWfVersion()
public ItemPath getItemPath(TransactionKey transactionKey)
getItemPath in class ModuleImportpublic void setNamespace(String ns)
setNamespace in class ModuleImportpublic void setName(String name)
public Path create(AgentPath agentPath, boolean reset, TransactionKey transactionKey) throws InvalidDataException, ObjectCannotBeUpdated, ObjectNotFoundException, CannotManageException, ObjectAlreadyExistsException, InvalidCollectionModification, PersistencyException
protected PropertyArrayList createItemProperties()
protected CompositeActivity createCompositeActivity(TransactionKey transactionKey) throws ObjectNotFoundException, InvalidDataException
ObjectNotFoundExceptionInvalidDataExceptionprotected CollectionArrayList createCollections(TransactionKey transactionKey) throws InvalidCollectionModification, ObjectNotFoundException, ObjectAlreadyExistsException
transactionKey - InvalidCollectionModificationObjectNotFoundExceptionObjectAlreadyExistsExceptionCopyright © 1997–2022 CRISTAL-iSE. All rights reserved.