|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface BinderCtrl
An addition interface to Binder
that is used for implementation or tools.
Application developers rarely need to access methods in this interface.
| Field Summary | |
|---|---|
static java.lang.String |
DEFAULT_QUEUE_NAME
Default queue name of a binder to share the bean notification and global commands |
static java.lang.String |
DEFAULT_QUEUE_SCOPE
Default queue scope of a binder to share the bean notification and global commands |
static java.lang.String |
PHASE_LISTENER_CLASS_KEY
PhaseListener key |
| Method Summary | |
|---|---|
void |
addFormAssociatedSaveBinding(Component associatedComp,
java.lang.String formId,
SaveBinding saveBinding,
java.lang.String fieldName)
Add a association between formId and a associated save binding(save binding inside a form), the form has to exist in the parent components |
BindingAnnotationInfoChecker |
getBindingAnnotationInfoChecker()
get binding annotation info checker |
BindingExecutionInfoCollector |
getBindingExecutionInfoCollector()
get binding execution info collector |
Form |
getForm(Component comp,
java.lang.String id)
Get the form of the component |
java.util.Set<SaveBinding> |
getFormAssociatedSaveBindings(Component formComp)
Get associated save bindings of a form in a component |
java.util.List<Binding> |
getLoadPromptBindings(Component comp,
java.lang.String attr)
get all load prompt binding of the component and attribute |
PhaseListener |
getPhaseListener()
get the PhaseListener |
TemplateResolver |
getTemplateResolver(Component comp,
java.lang.String attr)
get the template resolver that sets by Binder.setTemplate(Component, String, String, java.util.Map) |
Tracker |
getTracker()
Returns associated dependency tracker of this binder. |
ValidationMessages |
getValidationMessages()
Get the ValidationMessages |
boolean |
hasValidator(Component comp,
java.lang.String attr)
is there a validator on the attribute of component |
boolean |
isActivating()
check if binder is in activating state |
void |
setPhaseListener(PhaseListener listener)
set the PhaseListener |
void |
setValidationMessages(ValidationMessages messages)
Set the ValidationMessages |
void |
storeForm(Component comp,
java.lang.String id,
Form form)
Store the form in the component with id |
| Field Detail |
|---|
static final java.lang.String DEFAULT_QUEUE_NAME
static final java.lang.String DEFAULT_QUEUE_SCOPE
static final java.lang.String PHASE_LISTENER_CLASS_KEY
| Method Detail |
|---|
void addFormAssociatedSaveBinding(Component associatedComp,
java.lang.String formId,
SaveBinding saveBinding,
java.lang.String fieldName)
associatedComp - associated component inside a form bindingformId - the form idsaveBinding - the nested save binding in side a form bindingfieldName - the associated form fieldName for the associated save bindingjava.util.Set<SaveBinding> getFormAssociatedSaveBindings(Component formComp)
formComp - the component that contains the form
void storeForm(Component comp,
java.lang.String id,
Form form)
comp - the component to store the formid - the form idform - the form instance
Form getForm(Component comp,
java.lang.String id)
comp - the component has the formid - the form id
Tracker getTracker()
ValidationMessages getValidationMessages()
ValidationMessages
setValidationMessages(ValidationMessages)void setValidationMessages(ValidationMessages messages)
ValidationMessages
messages - the ValidationMessages
boolean hasValidator(Component comp,
java.lang.String attr)
comp - the component to checkattr - the attribute to check
TemplateResolver getTemplateResolver(Component comp,
java.lang.String attr)
Binder.setTemplate(Component, String, String, java.util.Map)
comp - the component has resolversattr - the attribute to get the resolver
java.util.List<Binding> getLoadPromptBindings(Component comp,
java.lang.String attr)
comp - the component is relative to the bindingsattr - the attribute is relative to the bindings
PhaseListener getPhaseListener()
PhaseListener
PhaseListenervoid setPhaseListener(PhaseListener listener)
PhaseListener
listener - the PhaseListenerboolean isActivating()
BindingExecutionInfoCollector getBindingExecutionInfoCollector()
BindingAnnotationInfoChecker getBindingAnnotationInfoChecker()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||