|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DateBusinessConverter
Provide a bridge between the java.util.Date instance used by a component that receive date/time values and the "business" value used to represent the value.
Method Summary | |
---|---|
Object |
getBusinessValue(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
Date value)
Convert the java.util.Date instance calculated from submittedValue, so the resulting object will be used later as the converted value and validation. |
Date |
getDateValue(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
Object value)
Used to retrieve the value stored in the business bean and convert it in a representation that the component (t:inputCalendar and t:inputDate for example)using this class can manipulate. |
Method Detail |
---|
Object getBusinessValue(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, Date value)
context
- component
- value
-
Date getDateValue(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, Object value)
context
- component
- value
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |