Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Faces
12c Release 1 (12.1.2.0.0)
E23185-01


oracle.adf.view.rich.event
Class Target

java.lang.Object
  extended by oracle.adf.view.rich.event.Target

All Implemented Interfaces:
javax.faces.component.StateHolder

public class Target
extends Object
implements javax.faces.component.StateHolder

Represents a Target object typically associated with a component that specifies rules that govern which target components get executed or rendered when specific events are (or any event is) raised by the component.


Nested Class Summary
static class Target.Keyword
          Defines list of keywords supported on a target in its execute and render lists

 

Field Summary
static String TARGET_LIST_PROPERTY
           

 

Constructor Summary
Target()
           

 

Method Summary
 boolean equals(Object obj)
          Returns true, if the object instance variables - eventNames, renderIds and executeIds, equals the those for this instance.
 org.apache.myfaces.trinidad.bean.FacesBean getBean()
           
 Set<String> getEvents()
          Returns the Set<String> of scoped ids of components that will be executed.
 Set<String> getExecuteIds()
          Returns the Set of execute ids or an empty Collection.
 Set<String> getRenderIds()
          Returns the Set of render ids or an empty Collection.
 int hashCode()
           
 boolean isEventAll()
          Returns true if either the keyword '@all' is set or if no event names are specified.
 boolean isTransient()
           
 void restoreState(javax.faces.context.FacesContext context, Object state)
           
 Object saveState(javax.faces.context.FacesContext context)
          StateHolder Implementation
 void setEvents(Set<String> events)
          Sets the event names.
 void setEvents(javax.el.ValueExpression events)
          Sets the event names as provided by the ValueExpression events.
 void setExecute(javax.el.ValueExpression execute)
          Stores the execute ValueExpression or if literal turns into a Set of Strings and stores that in the property.
 void setExecuteIds(Set<String> executeIds)
          Stores the Set of executeIds on the bean property.
 void setRender(javax.el.ValueExpression render)
          Stores the ValueExpression into the bean property.
 void setRenderIds(Set<String> renderIds)
          Stores the Set of renderIds on the bean property.
 void setTransient(boolean newTransientValue)
           
 String toString()
           

 

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

 

Field Detail

TARGET_LIST_PROPERTY

public static final String TARGET_LIST_PROPERTY
See Also:
Constant Field Values

Constructor Detail

Target

public Target()

Method Detail

getEvents

public Set<String> getEvents()
Returns the Set<String> of scoped ids of components that will be executed.
Returns:
the Set of event names or an empty Collection

setEvents

public void setEvents(Set<String> events)
Sets the event names.
Parameters:
events - Set of String event names.

setEvents

public void setEvents(javax.el.ValueExpression events)
Sets the event names as provided by the ValueExpression events.
Parameters:
events - ValueExpression that resolves the event names.

getExecuteIds

public Set<String> getExecuteIds()
Returns the Set of execute ids or an empty Collection.
Returns:
an empty Collection or the Set of execute ids

setExecuteIds

public void setExecuteIds(Set<String> executeIds)
Stores the Set of executeIds on the bean property.
Parameters:
executeIds -

setExecute

public void setExecute(javax.el.ValueExpression execute)
Stores the execute ValueExpression or if literal turns into a Set of Strings and stores that in the property.
Parameters:
execute -

getRenderIds

public Set<String> getRenderIds()
Returns the Set of render ids or an empty Collection.
Returns:
an empty Collection or the Set of render ids.

setRenderIds

public void setRenderIds(Set<String> renderIds)
Stores the Set of renderIds on the bean property.
Parameters:
renderIds -

setRender

public void setRender(javax.el.ValueExpression render)
Stores the ValueExpression into the bean property.
Parameters:
render -

isEventAll

public boolean isEventAll()
Returns true if either the keyword '@all' is set or if no event names are specified.
Returns:
TRUE if the set of events contains @all

equals

public boolean equals(Object obj)
Returns true, if the object instance variables - eventNames, renderIds and executeIds, equals the those for this instance.
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object

saveState

public Object saveState(javax.faces.context.FacesContext context)
StateHolder Implementation
Specified by:
saveState in interface javax.faces.component.StateHolder

restoreState

public void restoreState(javax.faces.context.FacesContext context,
                         Object state)
Specified by:
restoreState in interface javax.faces.component.StateHolder

isTransient

public boolean isTransient()
Specified by:
isTransient in interface javax.faces.component.StateHolder

setTransient

public void setTransient(boolean newTransientValue)
Specified by:
setTransient in interface javax.faces.component.StateHolder

getBean

public org.apache.myfaces.trinidad.bean.FacesBean getBean()

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Faces
12c Release 1 (12.1.2.0.0)
E23185-01


Copyright © 2013 Oracle Corporation. All Rights Reserved.