|
Oracle Fusion Middleware Java API Reference for Oracle ADF Controller 11g Release 2 (11.1.2.3.0) E17480-04 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
oracle.adf.controller.metadata.ActivityId
public class ActivityId
Uniquely identifies an activity instance.
| Field Summary | |
|---|---|
static char |
DOCUMENT_DELIMITERDelimiter following the metadata document name. |
static char |
TASK_FLOW_DELIMITERDelimiter between the taskFlowId and the activityId. |
static ActivityId |
WILDCARD_ACTIVITY_ID |
static java.lang.String |
WILDCARD_ID |
| Constructor Summary | |
|---|---|
ActivityId(java.lang.String localActivityId)Convenience constructor for activities in the unbounded task flow. |
|
ActivityId(TaskFlowId taskFlowId, java.lang.String localActivityId)Constructor. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getLocalActivityId()Get the local activity ID. |
TaskFlowId |
getTaskFlowId()Get the task flow ID of the task flow containing the activity. |
java.lang.String |
getViewId() |
int |
hashCode() |
static ActivityId |
parse(java.lang.String string)Parse a string into an activity ID. |
java.lang.String |
toString() |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final char DOCUMENT_DELIMITER
public static final java.lang.String WILDCARD_ID
public static final ActivityId WILDCARD_ACTIVITY_ID
public static final char TASK_FLOW_DELIMITER
| Constructor Detail |
|---|
public ActivityId(TaskFlowId taskFlowId,
java.lang.String localActivityId)
taskFlowId - the task flow ID of the task flow containing the activity or null if the activity resides in the ADF page flow.localActivityId - the local activity ID (i.e. the ID within the task flow).public ActivityId(java.lang.String localActivityId)
new ActivityId(null, localActivityId).
This constructor is useful for constructing ActivityIds for plain pages in the unbounded task flow. For example, you can create an ActivityId for a plain page with a viewId of "/foo.jspx" with new ActivityId("/foo.jspx").
localActivityId - the local activity ID (i.e. the ID within the task flow).| Method Detail |
|---|
public TaskFlowId getTaskFlowId()
null if the activity resides in the ADF page flow.public java.lang.String getLocalActivityId()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj -public int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getViewId()
public static ActivityId parse(java.lang.String string)
There are two formats that may be used:
file name#task-flow-id@activity-idactivity-idThe first format is for activities within a task flow while the second format is for activities in the top-level ADF page flow.
string - the string to parse.
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Controller 11g Release 2 (11.1.2.3.0) E17480-04 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||