Oracle Fusion Middleware Java API Reference for Oracle ADF Controller
11g Release 1 (11.1.1.7.0)

E10651-08

oracle.adf.controller.metadata.model
Interface AdfcElementFactory


public interface AdfcElementFactory


Method Summary
 Bookmark createBookmark()
          Creates a new bookmark element.
 ControlFlowCase createControlFlowCase(ActivityId toActivityId)
          Creates a new control flow case with matching target activity id.
 ControlFlowRule createControlFlowRule(java.util.List<ControlFlowCase> cases)
          Creates a new control flow rule that can be later added to the task flow definition.
 PageParameter createInputPageParameter(java.lang.String fromValue, java.lang.String toValue)
          Creates a new page input parameter.
 CollectionEntry createListEntry(java.lang.String value)
          Creates a new list-entry for a managed bean.
 ManagedBean createManagedBean(java.lang.String beanName, java.lang.String beanClass, ManagedBeanScopeType beanScope)
          Creates a new managed bean definition with a given name, type & scope.
 ManagedProperty createManagedProperty(java.lang.String propertyName)
          Creates a new property definition for a managed bean.
 MapEntry createMapEntry(java.lang.String key)
           
 MethodCall createMethodCall(java.lang.String method)
          Creates a new method call activity with a specified method.
 Parameter createParameter(java.lang.String value)
          Creates a new parameter for a method call activity.
 TaskFlowDefinition createTaskFlowDefinition(java.lang.String localTaskFlowId)
          Creates a new task flow definition.
 TaskFlowInputParameter createTaskFlowInputParameter(java.lang.String name)
           
 TrainStop createTrainStop()
           
 UrlParameter createUrlParameter(java.lang.String name, java.lang.String valueExpression)
          Creates a url parameter with a matching name and a value expression and a method binding for the converter method.
 View createView(java.lang.String pageName)
          Creates a new view activity definition with a matching page name.
 

Method Detail

createBookmark

Bookmark createBookmark()
Creates a new bookmark element.

Returns:
a newly created bookmark

createUrlParameter

UrlParameter createUrlParameter(java.lang.String name,
                                java.lang.String valueExpression)
Creates a url parameter with a matching name and a value expression and a method binding for the converter method.

Parameters:
name - url parameter name
valueExpression - EL expression for the parameter value
Returns:
a newly created url parameter

createTaskFlowInputParameter

TaskFlowInputParameter createTaskFlowInputParameter(java.lang.String name)

createTrainStop

TrainStop createTrainStop()

createControlFlowCase

ControlFlowCase createControlFlowCase(ActivityId toActivityId)
Creates a new control flow case with matching target activity id.

Parameters:
toActivityId - the activity id for the "to-activity-id"
Returns:
a newly created control flow case

createControlFlowRule

ControlFlowRule createControlFlowRule(java.util.List<ControlFlowCase> cases)
Creates a new control flow rule that can be later added to the task flow definition.

Parameters:
cases - a list of control flow cases for this rule. The list must contain at least one case, otherwise the control flow rule is considered invalid and will not be created.
Returns:
a newly created control flow rule.

createInputPageParameter

PageParameter createInputPageParameter(java.lang.String fromValue,
                                       java.lang.String toValue)
Creates a new page input parameter.

Parameters:
fromValue - the from-value EL expression
toValue - the to-value EL expression
Returns:
a newly created page input parameter

createView

View createView(java.lang.String pageName)
Creates a new view activity definition with a matching page name.

Parameters:
pageName - page name, for example, "/page1.jspx"
Returns:
a newly created view activity

createTaskFlowDefinition

TaskFlowDefinition createTaskFlowDefinition(java.lang.String localTaskFlowId)
Creates a new task flow definition.

Parameters:
localTaskFlowId - the id of the task flow in this document
Returns:
a newly created task flow definition

createMethodCall

MethodCall createMethodCall(java.lang.String method)
Creates a new method call activity with a specified method.

Parameters:
method - an EL representing a method call
Returns:
a newly created method call activity

createParameter

Parameter createParameter(java.lang.String value)
Creates a new parameter for a method call activity.

Parameters:
value - an EL that evaluates to a parameter value
Returns:
a newly created parameter

createMapEntry

MapEntry createMapEntry(java.lang.String key)

createListEntry

CollectionEntry createListEntry(java.lang.String value)
Creates a new list-entry for a managed bean.

Parameters:
value - the value of the new list entry
Returns:
a newly created list entry

createManagedBean

ManagedBean createManagedBean(java.lang.String beanName,
                              java.lang.String beanClass,
                              ManagedBeanScopeType beanScope)
Creates a new managed bean definition with a given name, type & scope. Name, beanClass & scope cannot be null.

Parameters:
beanName - the managed bean's name
beanClass - fully qualified Java type
beanScope - the managed bean's scope
Returns:
a newly created managed bean

createManagedProperty

ManagedProperty createManagedProperty(java.lang.String propertyName)
Creates a new property definition for a managed bean.

Parameters:
propertyName - the property name
Returns:
a newly created property

Oracle Fusion Middleware Java API Reference for Oracle ADF Controller
11g Release 1 (11.1.1.7.0)

E10651-08

Copyright © 1997, 2013, Oracle. All rights reserved.