public interface ProcessAdministrationService
extends com.appiancorp.services.ContextSensitiveService
ProcessAdministrationService is used to create and modify properties of the overall process application.
A Palette
holds a collection of
nodes that can be dropped onto a canvas in the
designer to create a process. Each node is represented as a
PaletteItem
. A
PaletteCategory
is an entity that
holds palettes and/or other palette categories in a
hierarchy.
When a system administrator adds a new activity to the system (also known as registering), an instance of this class is used to represent that activity. When a process designer puts a node in a process model, he or she is using an ActivityClass, which has a reference to this schema. The schema specifies what the parameters of an activity are and some of the restrictions on those parameters that constrain the designer's behavior.
Modifier and Type | Field and Description |
---|---|
static boolean |
getApplicationName$UPDATES |
static boolean |
getJmsPassword$UPDATES |
static boolean |
getJmsUsername$UPDATES |
static boolean |
getWorkspace$UPDATES |
static boolean |
registerActivityClassSchema$UPDATES |
static boolean |
registerActivityClassSchemas$UPDATES |
static boolean |
registerPriorities$UPDATES |
static boolean |
setJmsPassword$UPDATES |
static boolean |
setJmsUsername$UPDATES |
static boolean |
unregisterActivityClassSchema$UPDATES |
static boolean |
unregisterActivityClassSchemas$UPDATES |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getApplicationName()
Gets the name of the application on which this service is running.
|
java.lang.String |
getJmsPassword()
Deprecated.
See jms.properties createConnectionPassword. This method is no longer used.
|
java.lang.String |
getJmsUsername()
Deprecated.
See jms.properties createConnectionUsername. This method is no longer used.
|
java.lang.String[] |
getWorkspace()
Gets the current memory profile for the workspace.
|
void |
registerActivityClassSchema(ActivityClassSchema schema_)
Registers the given activity class schema.
|
void |
registerActivityClassSchemas(ActivityClassSchema[] schemas_)
Registers the given activity class schemas.
|
PriorityRegistration[] |
registerPriorities(PriorityRegistration[] priorities_)
Registers the application's priorities.
|
void |
setJmsPassword(java.lang.String jmsPassword_)
Deprecated.
See jms.properties createConnectionPassword. This method is no longer used.
|
void |
setJmsUsername(java.lang.String jmsUsername_)
Deprecated.
See jms.properties createConnectionUsername. This method is no longer used.
|
void |
unregisterActivityClassSchema(java.lang.String activityClassSchemaLocalId_)
Unregisters the given schema.
|
void |
unregisterActivityClassSchemas(java.lang.String[] activityClassSchemaLocalIds_)
Unregisters the given schemas.
|
static final boolean registerActivityClassSchema$UPDATES
static final boolean registerActivityClassSchemas$UPDATES
static final boolean unregisterActivityClassSchema$UPDATES
static final boolean unregisterActivityClassSchemas$UPDATES
static final boolean getApplicationName$UPDATES
static final boolean getWorkspace$UPDATES
static final boolean registerPriorities$UPDATES
static final boolean getJmsUsername$UPDATES
static final boolean setJmsUsername$UPDATES
static final boolean getJmsPassword$UPDATES
static final boolean setJmsPassword$UPDATES
void registerActivityClassSchema(ActivityClassSchema schema_) throws java.lang.IllegalArgumentException, InvalidUserException
localId
already exists, that schema will be updated.
If no schema with the given localId
exists, a schema
will be created.
Required fields: Either function
or
javaClassName
, and also:
executionEnvironmentId
, type
,
unattended
and localId
schema_
- the schema to registerjava.lang.IllegalArgumentException
- if any of the properties of the
schema is invalid, or if any required fields are missing. See
ActivityClassSchema
for valid property values.InvalidUserException
- if the username specifed in the Schema
does not exists, i.e, the default value for an ACP or ARV of
type user or people.ServiceException
- if any system-level error occurs.void registerActivityClassSchemas(ActivityClassSchema[] schemas_) throws java.lang.IllegalArgumentException, DuplicateIdException, InvalidUserException
localId
already exists, that schema will be updated.
If no schema with a given localId
exists, a schema
will be created.
Required fields: Either function
or
javaClassName
, and also:
executionEnvironmentId
, type
,
unattended
and localId
schemas_
- the schemas to registerjava.lang.IllegalArgumentException
- the any of the properties of the
schema is invalid, or if any required fields are missing. See
ActivityClassSchema
for valid property values.DuplicateIdException
- if any schema, or activity class
parameter schema, or activity return variable has the
same localId
as another in the list. Note that
localIds for ACPs and ARVs may be reused in other activity
class schemas, but not within the same activity class schemaInvalidUserException
- if the username specifed in the Schema
does not exists, i.e, the default value for an ACP or ARV of
type user or people.ServiceException
- if any system-level error occursvoid unregisterActivityClassSchema(java.lang.String activityClassSchemaLocalId_) throws InvalidActivityClassSchemaException, InvalidOperationException
activityClassSchemaLocalId_
- the local Id of the
schema to unregisterInvalidActivityClassSchemaException
- if the activity class
schema does not existInvalidOperationException
- if the schema is currently in use (that
is, if there exist palette items or nodes in process models that
use the activity class schema)ServiceException
- if any system-level error occursvoid unregisterActivityClassSchemas(java.lang.String[] activityClassSchemaLocalIds_) throws InvalidActivityClassSchemaException, InvalidOperationException
activityClassSchemaLocalIds_
- the local Ids of the
schemas to unregisterInvalidActivityClassSchemaException
- if any activity class
schema does not existInvalidOperationException
- if any schema is currently in use (that
is, if there exist palette items or nodes in process models that
use the activity class schema)ServiceException
- if any system-level error occursjava.lang.String getApplicationName()
ServiceException
- if any system-level error occursjava.lang.String[] getWorkspace()
ServiceException
- if any system-level error occursPriorityRegistration[] registerPriorities(PriorityRegistration[] priorities_) throws java.lang.IllegalArgumentException
true
, the last one registered will be set
as the default priority. The id
, name
,
description
, isDefault
and iconId
fields in the PriorityRegistration
bean are required.priorities_
- The priorities to register.java.lang.IllegalArgumentException
- If:
priorities_
have any incorrect required fields.java.lang.NullPointerException
- if any required field of the entries in
priorities_
is null
, or any of the entry in
priorities_
itself is null
.@Deprecated java.lang.String getJmsUsername()
@Deprecated void setJmsUsername(java.lang.String jmsUsername_)
jmsUsername_
- the username to connect to JMS Provider.@Deprecated java.lang.String getJmsPassword()
@Deprecated void setJmsPassword(java.lang.String jmsPassword_)
jmsPassword_
- the password to connect to JMS Provider.Copyright © 2003-2024 Appian Corporation. All Rights Reserved.