public interface ProcessUnawareAccess
IllegalArgumentException will be
thrown.
Unlike ProcessAwareAccess the methods of this interface do not
support intermediate values. All externally written values are valid
instantly. Intermediate results of process aware components are not
accessible by this interface.
NULL-values are also managed by this interfaces. NULL represents an undefined value for the process-management-system because of not setting or consuming a value or an explicit NULL value set by an application.
ProcessAwareAccess| Modifier and Type | Method and Description |
|---|---|
InputDataContainer |
getInputDataContainer(SessionToken session,
Instance instance,
java.util.Set<java.lang.Integer> dataElementIDs)
Gets an input data container providing the most recent values of the
designated data element IDs.
|
ParameterDataContext |
getPublicDataContext(SessionToken session,
Instance instance)
Gets the data context providing the most recent values of the public data
elements of the designated instance.
|
boolean |
isExternalValueNull(SessionToken session,
java.util.UUID instanceID,
int dataElementID)
Returns whether the value of the designated data element for the specified
node is set to NULL by an external application.
|
boolean |
isLatestValueNull(SessionToken session,
java.util.UUID instanceID,
int dataElementID)
Returns whether the value of the designated data element for the specified
node is NULL which means the data element has not been written or has been
consumed yet by a process-aware application or has been explicitly set to
NULL by a process-aware-application.
|
boolean |
retrieveExternalBooleanValue(SessionToken session,
java.util.UUID instanceID,
int dataElementID)
Retrieves the most recent boolean value of the designated data element of
type BOOLEAN written by an external component.
|
java.util.Date |
retrieveExternalDateValue(SessionToken session,
java.util.UUID instanceID,
int dataElementID)
Retrieves the most recent date value of the designated data element of type
DATE written by an external component.
|
double |
retrieveExternalFloatValue(SessionToken session,
java.util.UUID instanceID,
int dataElementID)
Retrieves the most recent double value of the designated data element of
type FLOAT written by an external component.
|
long |
retrieveExternalIntegerValue(SessionToken session,
java.util.UUID instanceID,
int dataElementID)
Retrieves the most recent long value of the designated data element of type
INTEGER written by an external component.
|
java.lang.String |
retrieveExternalStringValue(SessionToken session,
java.util.UUID instanceID,
int dataElementID)
Retrieves the most recent string value of the designated data element of
type STRING written by an external component or null if the data element
has not been written externally yet.
|
UDTValue |
retrieveExternalUDTValue(SessionToken session,
java.util.UUID instanceID,
int dataElementID)
Retrieves the most recent (proxy of the) value of the designated data
element of user-defined type (UDT) written by an external component or null
if the data element has not been written externally yet.
|
ServerUDTInputStream |
retrieveExternalUDTValueIncrementally(SessionToken session,
java.util.UUID instanceID,
int dataElementID)
Retrieves the most recent (proxy of the) value of the designated data
element of user-defined type (UDT) written by an external component or null
if the data element has not been written externally yet as
ServerUDTInputStream. |
java.net.URI |
retrieveExternalURIValue(SessionToken session,
java.util.UUID instanceID,
int dataElementID)
Retrieves the most recent URI value of the designated data element of type
URI written by an external component or null if the data element has not
been written externally yet.
|
boolean |
retrieveLatestBooleanValue(SessionToken session,
java.util.UUID instanceID,
int dataElementID)
Retrieves the most recent boolean value of the designated data element of
type BOOLEAN for the specified process instance.
|
java.util.Date |
retrieveLatestDateValue(SessionToken session,
java.util.UUID instanceID,
int dataElementID)
Retrieves the most recent date value of the designated data element of type
DATE for the specified process instance.
|
double |
retrieveLatestFloatValue(SessionToken session,
java.util.UUID instanceID,
int dataElementID)
Retrieves the most recent double value of the designated data element of
type FLOAT for the specified process instance.
|
long |
retrieveLatestIntegerValue(SessionToken session,
java.util.UUID instanceID,
int dataElementID)
Retrieves the most recent long value of the designated data element of type
INTEGER for the specified process instance.
|
java.lang.String |
retrieveLatestStringValue(SessionToken session,
java.util.UUID instanceID,
int dataElementID)
Retrieves the most recent string value of the designated data element of
type STRING for the specified process instance.
|
UDTValue |
retrieveLatestUDTValue(SessionToken session,
java.util.UUID instanceID,
int dataElementID)
Retrieves the most recent (proxy of the) value of the designated data
element of user-defined type (UDT) for the specified process instance.
|
ServerUDTInputStream |
retrieveLatestUDTValueIncrementally(SessionToken session,
java.util.UUID instanceID,
int dataElementID)
Retrieves the most recent value of the designated data element of
user-defined type (UDT) for the specified process instance as
ServerUDTInputStream. |
java.net.URI |
retrieveLatestURIValue(SessionToken session,
java.util.UUID instanceID,
int dataElementID)
Retrieves the most recent URI value of the designated data element of type
URI for the specified process instance.
|
void |
setNullExternal(SessionToken session,
java.util.UUID instanceID,
int dataElementID)
Sets the value of the designated data element as external value to NULL,
which means the value is undefined.
|
void |
storeBooleanExternal(SessionToken session,
java.util.UUID instanceID,
int dataElementID,
boolean value)
Stores the boolean value of the designated data element of the process
instance as external value.
|
void |
storeDateExternal(SessionToken session,
java.util.UUID instanceID,
int dataElementID,
java.util.Date value)
Stores the date value of the designated data element of the process
instance as external value.
|
void |
storeFloatExternal(SessionToken session,
java.util.UUID instanceID,
int dataElementID,
double value)
Stores the double value of the designated data element of the process
instance as external value.
|
void |
storeIntegerExternal(SessionToken session,
java.util.UUID instanceID,
int dataElementID,
long value)
Stores the long value of the designated data element of the process
instance as external value.
|
void |
storeStringExternal(SessionToken session,
java.util.UUID instanceID,
int dataElementID,
java.lang.String value)
Stores the string value of the designated data element of the process
instance as external value.
|
void |
storeUDTExternal(SessionToken session,
java.util.UUID instanceID,
int dataElementID,
UDTValue value)
Stores the value of the designated data element of the process instance as
external value.
|
void |
storeURIExternal(SessionToken session,
java.util.UUID instanceID,
int dataElementID,
java.net.URI value)
Stores the URI value of the designated data element of the process instance
as external value.
|
boolean isLatestValueNull(SessionToken session, java.util.UUID instanceID, int dataElementID)
session - The session which is used to check for access rights on this
method and to retrieve the accessing agent and the corresponding
organisational position.instanceID - The (logical) ID of the process instance which houses the
requested data element.dataElementID - The ID of the requested data element.true if the value of the designated data element is
NULL and therefore has not been written or has been consumed yet by
a process-aware application.long retrieveLatestIntegerValue(SessionToken session, java.util.UUID instanceID, int dataElementID) throws InvalidDataTypeException
session - The session which is used to check for access rights on this
method and to retrieve the accessing agent and the corresponding
organisational position.instanceID - The (logical) ID of the process instance which houses the
data element to be read.dataElementID - The ID of the data element to be read.long.InvalidDataTypeException - If the designated data element is not of
type INTEGER, an InvalidDataTypeException will be
raised.ProcessConstants.AdeptDataType.INTEGERdouble retrieveLatestFloatValue(SessionToken session, java.util.UUID instanceID, int dataElementID) throws InvalidDataTypeException
session - The session which is used to check for access rights on this
method and to retrieve the accessing agent and the corresponding
organisational position.instanceID - The (logical) ID of the process instance which houses the
data element to be read.dataElementID - The ID of the data element to be read.long.InvalidDataTypeException - If the designated data element is not of
type FLOAT, an InvalidDataTypeException will be
raised.ProcessConstants.AdeptDataType.FLOATboolean retrieveLatestBooleanValue(SessionToken session, java.util.UUID instanceID, int dataElementID) throws InvalidDataTypeException
session - The session which is used to check for access rights on this
method and to retrieve the accessing agent and the corresponding
organisational position.instanceID - The (logical) ID of the process instance which houses the
data element to be read.dataElementID - The ID of the data element to be read.boolean.InvalidDataTypeException - If the designated data element is not of
type BOOLEAN, an InvalidDataTypeException will be
raised.ProcessConstants.AdeptDataType.BOOLEANjava.lang.String retrieveLatestStringValue(SessionToken session, java.util.UUID instanceID, int dataElementID) throws InvalidDataTypeException
session - The session which is used to check for access rights on this
method and to retrieve the accessing agent and the corresponding
organisational position.instanceID - The (logical) ID of the process instance which houses the
data element to be read.dataElementID - The ID of the data element to be read.String.InvalidDataTypeException - If the designated data element is not of
type STRING, an InvalidDataTypeException will be
raised.ProcessConstants.AdeptDataType.STRINGjava.util.Date retrieveLatestDateValue(SessionToken session, java.util.UUID instanceID, int dataElementID) throws InvalidDataTypeException
session - The session which is used to check for access rights on this
method and to retrieve the accessing agent and the corresponding
organisational position.instanceID - The (logical) ID of the process instance which houses the
data element to be read.dataElementID - The ID of the data element to be read.java.util.Date.InvalidDataTypeException - If the designated data element is not of
type DATE, an InvalidDataTypeException will be
raised.ProcessConstants.AdeptDataType.DATEjava.net.URI retrieveLatestURIValue(SessionToken session, java.util.UUID instanceID, int dataElementID) throws InvalidDataTypeException
session - The session which is used to check for access rights on this
method and to retrieve the accessing agent and the corresponding
organisational position.instanceID - The (logical) ID of the process instance which houses the
data element to be read.dataElementID - The ID of the data element to be read.java.net.URI.InvalidDataTypeException - If the designated data element is not of
type URI, an InvalidDataTypeException will be
raised.ProcessConstants.AdeptDataType.URIUDTValue retrieveLatestUDTValue(SessionToken session, java.util.UUID instanceID, int dataElementID) throws InvalidDataTypeException
session - The session which is used to check for access rights on this
method and to retrieve the accessing agent and the corresponding
organisational position.instanceID - The (logical) ID of the process instance which houses the
data element to be read.dataElementID - The ID of the data element to be read.UDTValue.InvalidDataTypeException - If the designated data element is not of
type USERDEFINED, an InvalidDataTypeException will
be raised.ProcessConstants.AdeptDataType.USERDEFINEDServerUDTInputStream retrieveLatestUDTValueIncrementally(SessionToken session, java.util.UUID instanceID, int dataElementID) throws InvalidDataTypeException
ServerUDTInputStream. The server input stream does not provide
the complete content of the underlying resource but a proxy object
requesting the content incrementally when transfered via the communication.session - The session which is used to check for access rights on this
method and to retrieve the accessing agent and the corresponding
organisational position.instanceID - The (logical) ID of the process instance which houses the
data element to be read.dataElementID - The ID of the data element to be read.ServerUDTInputStream, that is, clients
do not retrieve all of the content of the stream at once but
incrementally.InvalidDataTypeException - If the designated data element is not of
type USERDEFINED, an InvalidDataTypeException will
be raised.ProcessConstants.AdeptDataType.USERDEFINEDParameterDataContext getPublicDataContext(SessionToken session, Instance instance)
session - The session which is used to check for access rights on this
method and to retrieve the accessing agent and the corresponding
organisational position.instance - The instance which houses the public data elements to be
accessed.InputDataContainer getInputDataContainer(SessionToken session, Instance instance, java.util.Set<java.lang.Integer> dataElementIDs)
session - The session which is used to check for access rights on this
method and to retrieve the accessing agent and the corresponding
organisational position.instance - The instance which houses the data elements to be accessed.dataElementIDs - The IDs of the data elements for which to retrieve
the values encapsulated in a data container.boolean isExternalValueNull(SessionToken session, java.util.UUID instanceID, int dataElementID)
session - The session which is used to check for access rights on this
method and to retrieve the accessing agent and the corresponding
organisational position.instanceID - The (logical) ID of the process instance which houses the
requested data element.dataElementID - The ID of the requested data element.true if the value of the specified data element is
NULL and therefore has been set to NULL by a preceding external
application.long retrieveExternalIntegerValue(SessionToken session, java.util.UUID instanceID, int dataElementID) throws InvalidDataTypeException
session - The session which is used to check for access rights on this
method and to retrieve the accessing agent and the corresponding
organisational position.instanceID - The (logical) ID of the process instance which houses the
data element to be read.dataElementID - The ID of the data element to be read.long.InvalidDataTypeException - If the designated data element is not of
type INTEGER, an InvalidDataTypeException will be
raised.ProcessConstants.AdeptDataType.INTEGERdouble retrieveExternalFloatValue(SessionToken session, java.util.UUID instanceID, int dataElementID) throws InvalidDataTypeException
session - The session which is used to check for access rights on this
method and to retrieve the accessing agent and the corresponding
organisational position.instanceID - The (logical) ID of the process instance which houses the
data element to be read.dataElementID - The ID of the data element to be read.double.InvalidDataTypeException - If the designated data element is not of
type FLOAT, an InvalidDataTypeException will be
raised.ProcessConstants.AdeptDataType.FLOATboolean retrieveExternalBooleanValue(SessionToken session, java.util.UUID instanceID, int dataElementID) throws InvalidDataTypeException
session - The session which is used to check for access rights on this
method and to retrieve the accessing agent and the corresponding
organisational position.instanceID - The (logical) ID of the process instance which houses the
data element to be read.dataElementID - The ID of the data element to be read.boolean.InvalidDataTypeException - If the designated data element is not of
type BOOLEAN, an InvalidDataTypeException will be
raised.ProcessConstants.AdeptDataType.BOOLEANjava.lang.String retrieveExternalStringValue(SessionToken session, java.util.UUID instanceID, int dataElementID) throws InvalidDataTypeException
session - The session which is used to check for access rights on this
method and to retrieve the accessing agent and the corresponding
organisational position.instanceID - The (logical) ID of the process instance which houses the
data element to be read.dataElementID - The ID of the data element to be read.String or null.InvalidDataTypeException - If the designated data element is not of
type STRING, an InvalidDataTypeException will be
raised.ProcessConstants.AdeptDataType.STRINGjava.util.Date retrieveExternalDateValue(SessionToken session, java.util.UUID instanceID, int dataElementID) throws InvalidDataTypeException
session - The session which is used to check for access rights on this
method and to retrieve the accessing agent and the corresponding
organisational position.instanceID - The (logical) ID of the process instance which houses the
data element to be read.dataElementID - The ID of the data element to be read.java.util.Date.InvalidDataTypeException - If the designated data element is not of
type DATE, an InvalidDataTypeException will be
raised.ProcessConstants.AdeptDataType.DATEjava.net.URI retrieveExternalURIValue(SessionToken session, java.util.UUID instanceID, int dataElementID) throws InvalidDataTypeException
session - The session which is used to check for access rights on this
method and to retrieve the accessing agent and the corresponding
organisational position.instanceID - The (logical) ID of the process instance which houses the
data element to be read.dataElementID - The ID of the data element to be read.java.net.URI or
null.InvalidDataTypeException - If the designated data element is not of
type URI, an InvalidDataTypeException will be
raised.ProcessConstants.AdeptDataType.URIUDTValue retrieveExternalUDTValue(SessionToken session, java.util.UUID instanceID, int dataElementID) throws InvalidDataTypeException
session - The session which is used to check for access rights on this
method and to retrieve the accessing agent and the corresponding
organisational position.instanceID - The (logical) ID of the process instance which houses the
data element to be read.dataElementID - The ID of the data element to be read.UDTValue or
null.InvalidDataTypeException - If the designated data element is not of
type USERDEFINED, an InvalidDataTypeException will
be raised.ProcessConstants.AdeptDataType.USERDEFINEDServerUDTInputStream retrieveExternalUDTValueIncrementally(SessionToken session, java.util.UUID instanceID, int dataElementID) throws InvalidDataTypeException
ServerUDTInputStream. The server input stream does not provide
the complete content of the underlying resource but a proxy object
requesting the content incrementally when transfered via the communication.session - The session which is used to check for access rights on this
method and to retrieve the accessing agent and the corresponding
organisational position.instanceID - The (logical) ID of the process instance which houses the
data element to be read.dataElementID - The ID of the data element to be read.ServerUDTInputStream, that
is, clients do not retrieve all of the content of the stream at
once but incrementally.InvalidDataTypeException - If the designated data element is not of
type USERDEFINED, an InvalidDataTypeException will
be raised.ProcessConstants.AdeptDataType.USERDEFINEDvoid setNullExternal(SessionToken session, java.util.UUID instanceID, int dataElementID)
session - The session which is used to check for access rights on this
method and to retrieve the accessing agent and the corresponding
organisational position.instanceID - The (logical) ID of the process instance which houses the
manipulated data element.dataElementID - The ID of the manipulated data element.void storeIntegerExternal(SessionToken session, java.util.UUID instanceID, int dataElementID, long value) throws InvalidDataTypeException
session - The session which is used to check for access rights on this
method and to retrieve the writing agent and the corresponding
organisational position.instanceID - The (logical) ID of the process instance which houses the
data element to be written.dataElementID - The ID of the data element to be written.value - The value as Java-type long of the data element
of ADEPT2-type INTEGER.InvalidDataTypeException - If the designated data element is not of
type INTEGER, an InvalidDataTypeException will be
raised.ProcessConstants.AdeptDataType.INTEGERvoid storeFloatExternal(SessionToken session, java.util.UUID instanceID, int dataElementID, double value) throws InvalidDataTypeException
session - The session which is used to check for access rights on this
method and to retrieve the writing agent and the corresponding
organisational position.instanceID - The (logical) ID of the process instance which houses the
data element to be written.dataElementID - The ID of the data element to be written.value - The value as Java-type double of the data
element of ADEPT2-type FLOAT.InvalidDataTypeException - If the designated data element is not of
type FLOAT, an InvalidDataTypeException will be
raised.ProcessConstants.AdeptDataType.FLOATvoid storeBooleanExternal(SessionToken session, java.util.UUID instanceID, int dataElementID, boolean value) throws InvalidDataTypeException
session - The session which is used to check for access rights on this
method and to retrieve the writing agent and the corresponding
organisational position.instanceID - The (logical) ID of the process instance which houses the
data element to be written.dataElementID - The ID of the data element to be written.value - The value as Java-type boolean of the data
element of ADEPT2-type BOOLEAN.InvalidDataTypeException - If the designated data element is not of
type STRING, an InvalidDataTypeException will be
raised.ProcessConstants.AdeptDataType.BOOLEANvoid storeStringExternal(SessionToken session, java.util.UUID instanceID, int dataElementID, java.lang.String value) throws InvalidDataTypeException
session - The session which is used to check for access rights on this
method and to retrieve the writing agent and the corresponding
organisational position.instanceID - The (logical) ID of the process instance which houses the
data element to be written.dataElementID - The ID of the data element to be written.value - The value as Java-type String of the data
element of ADEPT2-type STRING. This must not be null.InvalidDataTypeException - If the designated data element is not of
type STRING, an InvalidDataTypeException will be
raised.ProcessConstants.AdeptDataType.STRINGvoid storeDateExternal(SessionToken session, java.util.UUID instanceID, int dataElementID, java.util.Date value) throws InvalidDataTypeException
session - The session which is used to check for access rights on this
method and to retrieve the writing agent and the corresponding
organisational position.instanceID - The (logical) ID of the process instance which houses the
data element to be written.dataElementID - The ID of the data element to be written.value - The value as Java-type java.util.Date of the data
element of ADEPT2-type DATE. This must not be null.InvalidDataTypeException - If the designated data element is not of
type DATE, an InvalidDataTypeException will be
raised.ProcessConstants.AdeptDataType.DATEvoid storeURIExternal(SessionToken session, java.util.UUID instanceID, int dataElementID, java.net.URI value) throws InvalidDataTypeException
session - The session which is used to check for access rights on this
method and to retrieve the writing agent and the corresponding
organisational position.instanceID - The (logical) ID of the process instance which houses the
data element to be written.dataElementID - The ID of the data element to be written.value - The value as Java-type java.net.URI of the data
element of ADEPT2-type URI. This must not be null.InvalidDataTypeException - If the designated data element is not of
type URI, an InvalidDataTypeException will be
raised.ProcessConstants.AdeptDataType.URIvoid storeUDTExternal(SessionToken session, java.util.UUID instanceID, int dataElementID, UDTValue value) throws InvalidDataTypeException
session - The session which is used to check for access rights on this
method and to retrieve the writing agent and the corresponding
organisational position.instanceID - The (logical) ID of the process instance which houses the
data element to be written.dataElementID - The ID of the data element to be written.value - The value of the data element of ADEPT2-type USERDEFINED. This
must not be null.InvalidDataTypeException - If the designated data element is not of
type USERDEFINED, an InvalidDataTypeException will
be raised.ProcessConstants.AdeptDataType.USERDEFINED