|
||||||||||
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 |
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 |
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()
|
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 |
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
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 instanceForm 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()
boolean isActivating()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |