Skip navigation links

Oracle® Fusion Middleware Oracle Imaging and Process Management Java API Reference
11g Release 1 (11.1.1)

E12853-02


oracle.imaging
Enum WorkflowFunction

java.lang.Object
  extended by java.lang.Enum<WorkflowFunction>
      extended by oracle.imaging.WorkflowFunction

All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<WorkflowFunction>

public enum WorkflowFunction
extends java.lang.Enum<WorkflowFunction>

The set of Workflow Mapping Functions to map various values to workflow payload elements.


Nested Class Summary
static class WorkflowFunction.FunctionType
           

 

Enum Constant Summary
APPLICATION_ID
          Maps the Id of an application to which a document belongs to a workflow payload element.
APPLICATION_NAME
          Maps the name of an application to which a document belongs to a workflow payload element.
BATCH_ID
          Maps the batch Id of a document to a workflow payload element.
DOCUMENT_CREATE_BY
          Maps the name of a user who created a document to a workflow payload element.
DOCUMENT_CREATE_DATE
          Maps the date when a document was created to a workflow payload element.
DOCUMENT_FIELDVALUE
          Maps the value of a document application field to a workflow payload element.
DOCUMENT_ID
          Maps the Id of a document to a workflow payload element.
DOCUMENT_MIME_TYPE
          Maps the MIME type of a document to a workflow payload element.
DOCUMENT_MODIFY_BY
          Maps the name of a user who last modified a document to a workflow payload element.
DOCUMENT_MODIFY_DATE
          Maps the date when a document was last modified to a workflow payload element.
DOCUMENT_NAME
          Maps the name of a document to a workflow payload element.
DOCUMENT_SIZE
          Maps the size of a document to a workflow payload element.
DOCUMENT_STORAGE_VOLUME
          Maps the name of a volume where a document is stored to a workflow payload element.
DOCUMENT_STORAGE_VOLUME_DATE
          Maps the date used for storage stage actions related to a document to a workflow payload element.
DOCUMENT_URL
          Maps the URL to view a document to a workflow payload element.
DOCUMENT_URL_ROOT
          Maps the root of a URL for the imaging system to a workflow payload element.
DOCUMENT_VERSION
          Maps the version number of a document to a workflow payload element.
FORMAT_VALUE
          Maps a string containing formating codes to a workflow payload element.
POLICY_OVERRIDE
          Maps a string value to a workflow payload element.
SUPPORTING_CONTENT
          Maps the value data contained in a documents supporting context.
VALUE_FALSE
          Maps the boolean value False to a workflow payload element.
VALUE_TRUE
          Maps the boolean value True to a workflow payload element.

 

Field Summary
static char CLOSE_DELIM
           
static java.lang.String FUNC_PARAM_SEP
           
static char OPEN_DELIM
           

 

Method Summary
 java.lang.String getKey()
          Gets the key for the WorkflowFunction.
 java.lang.String getLabel(java.util.Locale locale)
           
 WorkflowFunction.FunctionType getType()
          Gets the type for the WorkflowFunction.
static WorkflowFunction getWorkflowFunction(java.lang.String function)
           
 boolean isValueRequired()
          Returns whether a value is required.
static WorkflowFunction valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static WorkflowFunction[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.

 

Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

 

Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait

 

Enum Constant Detail

DOCUMENT_ID

public static final WorkflowFunction DOCUMENT_ID
Maps the Id of a document to a workflow payload element.

Function Key: DocId

Function Type: WorkflowFunction.FunctionType#NUMBER

A value parameter is not allowed.


DOCUMENT_NAME

public static final WorkflowFunction DOCUMENT_NAME
Maps the name of a document to a workflow payload element.

Function Key: DocName

Function Type: WorkflowFunction.FunctionType#TEXT

A value parameter is not allowed.


DOCUMENT_VERSION

public static final WorkflowFunction DOCUMENT_VERSION
Maps the version number of a document to a workflow payload element.

Function Key: Version

Function Type: WorkflowFunction.FunctionType#NUMBER

A value parameter is not allowed.


DOCUMENT_CREATE_BY

public static final WorkflowFunction DOCUMENT_CREATE_BY
Maps the name of a user who created a document to a workflow payload element.

Function Key: CreateBy

Function Type: WorkflowFunction.FunctionType#TEXT

A value parameter is not allowed.


DOCUMENT_CREATE_DATE

public static final WorkflowFunction DOCUMENT_CREATE_DATE
Maps the date when a document was created to a workflow payload element.

Function Key: CreateDate

Function Type: WorkflowFunction.FunctionType#DATE

A value parameter is not allowed.


DOCUMENT_MODIFY_BY

public static final WorkflowFunction DOCUMENT_MODIFY_BY
Maps the name of a user who last modified a document to a workflow payload element.

Function Key: ModifyBy

Function Type: WorkflowFunction.FunctionType#TEXT

A value parameter is not allowed.


DOCUMENT_MODIFY_DATE

public static final WorkflowFunction DOCUMENT_MODIFY_DATE
Maps the date when a document was last modified to a workflow payload element.

Function Key: ModifyDate

Function Type: WorkflowFunction.FunctionType#DATE

A value parameter is not allowed.


DOCUMENT_MIME_TYPE

public static final WorkflowFunction DOCUMENT_MIME_TYPE
Maps the MIME type of a document to a workflow payload element.

Function Key: MimeType

Function Type: WorkflowFunction.FunctionType#TEXT

A value parameter is not allowed.


DOCUMENT_URL

public static final WorkflowFunction DOCUMENT_URL
Maps the URL to view a document to a workflow payload element.

Function Key: DocUrl

Function Type: WorkflowFunction.FunctionType#URI

A value parameter is not allowed.


DOCUMENT_URL_ROOT

public static final WorkflowFunction DOCUMENT_URL_ROOT
Maps the root of a URL for the imaging system to a workflow payload element. For example, http://machine:port.

Function Key: DocUrlRoot

Function Type: WorkflowFunction.FunctionType#TEXT

A value parameter is not allowed.


DOCUMENT_SIZE

public static final WorkflowFunction DOCUMENT_SIZE
Maps the size of a document to a workflow payload element.

Function Key: DocSize

Function Type: WorkflowFunction.FunctionType#NUMBER

A value parameter is not allowed.


DOCUMENT_STORAGE_VOLUME_DATE

public static final WorkflowFunction DOCUMENT_STORAGE_VOLUME_DATE
Maps the date used for storage stage actions related to a document to a workflow payload element.

Function Key: StoragePolicyDate

Function Type: WorkflowFunction.FunctionType#DATE

A value parameter is not allowed.


DOCUMENT_STORAGE_VOLUME

public static final WorkflowFunction DOCUMENT_STORAGE_VOLUME
Maps the name of a volume where a document is stored to a workflow payload element.

Function Key: StorageVolume

Function Type: WorkflowFunction.FunctionType#TEXT

A value parameter is not allowed.


APPLICATION_ID

public static final WorkflowFunction APPLICATION_ID
Maps the Id of an application to which a document belongs to a workflow payload element.

Function Key: AppId

Function Type: WorkflowFunction.FunctionType#NUMBER

A value parameter is not allowed.


APPLICATION_NAME

public static final WorkflowFunction APPLICATION_NAME
Maps the name of an application to which a document belongs to a workflow payload element.

Function Key: AppName

Function Type: WorkflowFunction.FunctionType#TEXT

A value parameter is not allowed.


BATCH_ID

public static final WorkflowFunction BATCH_ID
Maps the batch Id of a document to a workflow payload element.

Function Key: BatchId

Function Type: WorkflowFunction.FunctionType#NUMBER

A value parameter is not allowed.


DOCUMENT_FIELDVALUE

public static final WorkflowFunction DOCUMENT_FIELDVALUE
Maps the value of a document application field to a workflow payload element.

Function Key: FieldValue

Function Type: Varies

A value parameter is required.

The value parameter is the name of an application field.


SUPPORTING_CONTENT

public static final WorkflowFunction SUPPORTING_CONTENT
Maps the value data contained in a documents supporting context.

Function Key: SupportingContent

Function Type: Varies

A value parameter is required.

The value parameter is the name of the supporting content key.


VALUE_TRUE

public static final WorkflowFunction VALUE_TRUE
Maps the boolean value True to a workflow payload element.

Function Key: True

Function Type: WorkflowFunction.FunctionType#BOOLEAN

A value parameter is not allowed.


VALUE_FALSE

public static final WorkflowFunction VALUE_FALSE
Maps the boolean value False to a workflow payload element.

Function Key: False

Function Type: WorkflowFunction.FunctionType#BOOLEAN

A value parameter is not allowed.


FORMAT_VALUE

public static final WorkflowFunction FORMAT_VALUE
Maps a string containing formating codes to a workflow payload element.

Function Key: FormatValue

Function Type: Special

A value parameter is required.

The value parameter contains literal text and function codes. Function codes must begin with [, contain a function name, contain an optional parameter, and end with ]. If a function requires a parameter, it is separated from the function name with a colon (:).

For example, given a document with an Id of 76345, a Version of 1, and an application Invoice Number field value 4598220, the following format values will evaluate to:

A FormatValue function may not contain nested FormatValue functions.


POLICY_OVERRIDE

public static final WorkflowFunction POLICY_OVERRIDE
Maps a string value to a workflow payload element.

Function Key: PolicyOverride

Function Type: WorkflowFunction.FunctionType#POLICY

A value parameter is required.

Field Detail

FUNC_PARAM_SEP

public static final java.lang.String FUNC_PARAM_SEP
See Also:
Constant Field Values

OPEN_DELIM

public static final char OPEN_DELIM
See Also:
Constant Field Values

CLOSE_DELIM

public static final char CLOSE_DELIM
See Also:
Constant Field Values

Method Detail

values

public static WorkflowFunction[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (WorkflowFunction c : WorkflowFunction.values())
    System.out.println(c);
Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static WorkflowFunction valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getKey

public java.lang.String getKey()
Gets the key for the WorkflowFunction.
Returns:
a String key

getLabel

public java.lang.String getLabel(java.util.Locale locale)

getType

public WorkflowFunction.FunctionType getType()
Gets the type for the WorkflowFunction.
Returns:
a FunctionType object

isValueRequired

public boolean isValueRequired()
Returns whether a value is required.
Returns:
true if a value is required; otherwise, false

getWorkflowFunction

public static WorkflowFunction getWorkflowFunction(java.lang.String function)

Skip navigation links

Oracle® Fusion Middleware Oracle Imaging and Process Management Java API Reference
11g Release 1 (11.1.1)

E12853-02


Copyright © 2010, Oracle and/or its affiliates. All rights reserved.