| Package | Description |
|---|---|
| de.aristaflow.adept2.core.processmanager | |
| de.aristaflow.adept2.core.processrepository | |
| de.aristaflow.adept2.model.processmodel |
Warning: This package description is OUTDATED (work in progress)!!
|
| de.aristaflow.adept2.model.processmodel.tools | |
| de.aristaflow.adept2.model.processmodel.xml |
The xml packages provides a generic import and export functionality for all components implementing the common ADEPT2 processmodel interfaces and just requires an implementation of the ProcessModelFactory.
|
| Modifier and Type | Method and Description |
|---|---|
TemplateStatus |
TemplateManager.getAndLockTemplateStatus(SessionToken session,
java.util.UUID templateID)
Gets an object containing the status of the designated process template and
locks the template for further manipulation, for instance, another status
change, a schema-evolution or a new instantiation.
|
TemplateStatus |
TemplateManager.getTemplateStatus(SessionToken session,
java.util.UUID templateID)
Gets an object containing the status of the designated process template,
that is, whether the template is outdated, may be derived, may be
instantiated, whether instances may be migrated to the process template and
whether instances are changeable.
|
TemplateStatus |
TemplateStatusProvider.getTemplateStatus(java.util.UUID templateID)
Gets an object containing the status of the designated process template,
for usage in objects that reference a template status and which are created
in a storage layer.
|
| Modifier and Type | Method and Description |
|---|---|
void |
TemplateManager.setTemplateStatus(SessionToken session,
TemplateStatus templateStatus)
Sets the status of the template (identified by the template status object),
to the new status.
|
CheckReport |
TemplateManager.storeNewTemplate(SessionToken session,
Template template,
TemplateStatus templateStatus,
java.util.Locale... locales)
Stores the designated template and the corresponding status object in the process manager.
|
CheckReport |
TemplateManager.storeNewTemplates(SessionToken session,
Template[] templates,
TemplateStatus[] templateStatuses,
java.util.Locale... locales)
Stores the designated templates and the corresponding status objects in the process manager.
|
| Modifier and Type | Method and Description |
|---|---|
TemplateStatus |
ProcessTemplateManager.getAndLockTemplateStatus(SessionToken session,
java.util.UUID templateID)
Gets an object containing the status of the designated process template and
locks the template status for further manipulation, for instance, another
status change, a schema-evolution or a new instantiation.
|
TemplateStatus |
ProcessTemplateManager.getTemplateStatus(SessionToken session,
java.util.UUID templateID)
Gets an object containing the status of the designated process template,
that is, whether the template is outdated, may be derived, may be
instantiated, whether instances may be migrated to the process template and
whether instances are changeable.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ProcessTemplateManager.setTemplateStatus(SessionToken session,
TemplateStatus templateStatus)
Sets the status of the template (identified by the template status object),
to the new status.
|
| Modifier and Type | Method and Description |
|---|---|
TemplateStatus |
ProcessModelFactory.createDefaultTemplateStatus(java.util.UUID templateID)
Create an initial TemplateStatus object with all comments set to "initial
template status".
|
TemplateStatus |
ProcessModelFactory.createTemplateStatus(java.util.UUID templateID,
ProcessConstants.TemplateBuildtimeState buildtimeState,
ProcessConstants.TemplateUsage subprocessUsage,
boolean topLevelUsage,
boolean derivable,
java.lang.String derivableComment,
boolean tlOutdated,
java.lang.String tlOutdatedComment,
boolean spOutdated,
java.lang.String spOutdatedComment,
boolean tlInstantiable,
java.lang.String tlInstantiableComment,
boolean spInstantiable,
java.lang.String spInstantiableComment,
boolean tlInstancesMigratableTo,
java.lang.String tlInstancesMigratableComment,
boolean spInstancesMigratableTo,
java.lang.String spInstancesMigratableComment,
boolean tlInstancesChangeable,
java.lang.String tlInstancesChangeableComment,
boolean spInstancesChangeable,
java.lang.String spInstancesChangeableComment,
java.lang.String starterRule)
Create a TemplateStatus object with all comments set as provided.
|
| Modifier and Type | Method and Description |
|---|---|
static TemplateStatus |
ProcessModelTools.cloneTemplateStatus(TemplateStatus status,
ProcessModelFactory factory)
Clones a template status object using the given factory.
|
static TemplateStatus |
ProcessModelTools.updateTemplateStatus(TemplateStatus status,
ProcessConstants.TemplateBuildtimeState buildtimeState,
ProcessModelFactory pmf)
Since the template status interface is missing a setter for the
build time state, this method clones the status while changing the
build time state.
|
| Modifier and Type | Method and Description |
|---|---|
static TemplateStatus |
ProcessModelTools.cloneTemplateStatus(TemplateStatus status,
ProcessModelFactory factory)
Clones a template status object using the given factory.
|
static TemplateStatus |
ProcessModelTools.updateTemplateStatus(TemplateStatus status,
ProcessConstants.TemplateBuildtimeState buildtimeState,
ProcessModelFactory pmf)
Since the template status interface is missing a setter for the
build time state, this method clones the status while changing the
build time state.
|
| Modifier and Type | Method and Description |
|---|---|
TemplateStatus |
ProcessModelXMLImport.getTemplateStatusFromDocument(org.w3c.dom.Document document)
Returns a template status object from the given template document.
|
TemplateStatus |
ProcessModelXMLImport.getTemplateStatusFromStream(java.io.InputStream inputStream)
Reads the template status from the given template file.
|
TemplateStatus |
ProcessModelXMLImport.getTemplateStatusFromTemplateFile(java.io.File file)
Reads the template status from the given template file.
|
| Modifier and Type | Method and Description |
|---|---|
org.w3c.dom.Document |
ProcessModelXMLExport.getDocumentForTemplateAndStatus(Template template,
TemplateStatus templateStatus)
Returns The corresponding document for a given template and a given template
status.
|
java.io.InputStream |
ProcessModelXMLExport.getInputStreamForTemplateAndStatus(Template template,
TemplateStatus templateStatus)
Returns The corresponding stream for a given template and a given template
status.
|
java.io.InputStream |
ProcessModelXMLExport.getInputStreamForTemplateAndStatus(Template template,
TemplateStatus templateStatus,
boolean intend)
Returns The corresponding stream for a given template and a given template
status.
|
void |
ProcessModelXMLExport.writeTemplateAndStatusToFile(Template template,
TemplateStatus templateStatus,
java.io.File file)
Writes the given template including its status to the given file.
|
void |
ProcessModelXMLExport.writeTemplateAndStatusToFile(Template template,
TemplateStatus templateStatus,
java.io.File file,
boolean intend)
Writes the given template including its status to the given file.
|