|
Oracle Fusion Middleware Java API Reference for Oracle ADF Controller 11g Release 1 (11.1.1.7.0) E10651-08 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.adf.controller.metadata.ActivityId
public class ActivityId
Uniquely identifies an activity instance.
Field Summary | |
---|---|
static char |
DOCUMENT_DELIMITER
Delimiter following the metadata document name. |
static char |
TASK_FLOW_DELIMITER
Delimiter 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.Object
obj
-
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public 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-id
activity-id
The 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 1 (11.1.1.7.0) E10651-08 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |