|
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 |
public interface PageFlow
An instance of a page flow. A page flow may be within a task flow or it may be the top-level ADF page flow. The top level page flow is the union of all activities and control flow rules that do not reside within a task flow. Page flow also contains managed bean definitions for beans used by activities in the page flow.
Method Summary | |
---|---|
boolean |
addActivity(java.lang.String activityId, java.lang.String type, Activity metadata) Adds an activity definition to this page flow. |
boolean |
addControlFlowRule(ControlFlowRule rule) Adds a new control flow rule to this page flow. |
boolean |
addManagedBean(ManagedBean bean) Adds a new managed bean definition to the task flow. |
java.util.Map<ActivityId,Activity> |
getActivities() Returns a Map of page flow activities keyed by activity ID. |
ControlFlowRule |
getControlFlowRule(java.lang.String fromActivityId) Returns a control flow rule corresonding to the from activity in this page flow. |
java.util.Map<ActivityId,ControlFlowRule> |
getControlFlowRules() Get the control flow rules for the flow. |
ActivityId |
getExceptionHandlerId() Get the activity ID of a exception handler activity, if one is specified in this PageFlow. |
java.util.Map<java.lang.String,ManagedBean> |
getManagedBeans() Get the managed bean definitions for the flow. |
Security |
getSecurity() Returns the security settings for this task flow. |
boolean |
removeActivity(java.lang.String activityId, Activity metadata) Removes an activity definition matching activity id from this resource. |
boolean |
removeControlFlowRule(ControlFlowRule rule) Removes control flow rule from this page flow. |
boolean |
removeManagedBean(ManagedBean bean) Removes specified managed bean from the task flow. |
Methods inherited from interface oracle.adf.controller.metadata.model.UIInfo |
---|
getDescription, getDisplayName, getLargeIcon, getSmallIcon, getUIInfo, setDescription, setDisplayName, setLargeIcon, setSmallIcon |
Methods inherited from interface oracle.adf.controller.metadata.model.AdfcNode |
---|
getParsingContext, validate |
Methods inherited from interface oracle.adf.controller.metadata.model.IdHolder |
---|
getIdAttribute, setIdAttribute |
Methods inherited from interface oracle.adf.controller.metadata.model.NodeHolder |
---|
getNode |
Method Detail |
---|
java.util.Map<ActivityId,ControlFlowRule> getControlFlowRules()
Map
of control flow rules is keyed by the fully qualified ID of the rule's from activity.java.util.Map<ActivityId,Activity> getActivities()
Map
of page flow activities keyed by activity ID.java.util.Map<java.lang.String,ManagedBean> getManagedBeans()
Map
of managed beans is keyed by managed bean name.ActivityId getExceptionHandlerId()
Security getSecurity()
Security
boolean addActivity(java.lang.String activityId, java.lang.String type, Activity metadata)
activityId
- activity id for a new activity, for example, "view1"type
- activity type, for example, ActivityType.VIEWmetadata
- the metadata for this activity. Activities can be created by: AdfcElementFactory
.ActivityType
boolean removeActivity(java.lang.String activityId, Activity metadata)
activityId
- activity id, for example, "view1".metadata
- the metadata for the activity to remove.ControlFlowRule getControlFlowRule(java.lang.String fromActivityId)
fromActivityId
- the matching "from-activity-id". For the wildcard control flow rule, use "*".boolean addControlFlowRule(ControlFlowRule rule)
AdfcElementFactory.createControlFlowRule(java.util.List<oracle.adf.controller.metadata.model.ControlFlowCase>)
.
If the metadata resource was obtained with integral validation skipped, the rule will be added to the pageflow regardless of whether the source activity exists in the page flow.
rule
- the metadata representation of the control flow ruleboolean removeControlFlowRule(ControlFlowRule rule)
rule
- mutable control flow rule to removeboolean addManagedBean(ManagedBean bean)
bean
- the new bean to be addedboolean removeManagedBean(ManagedBean bean)
bean
- the bean to be removed
|
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 |