|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--uk.ac.ebi.intact.application.search2.struts.view.ViewBeanFactory
| Method Summary | |
AbstractViewBean |
getBinaryViewBean(java.util.Collection objects,
java.lang.String link,
java.lang.String contextPath)
Returns the appropriate view bean for given Collection |
AbstractViewBean |
getChunkedSingleViewBean(AnnotatedObject object,
java.lang.String link,
java.lang.String contextPath,
int maxChunk,
int selectedChunk)
|
AbstractViewBean |
getDetailsViewBean(java.util.Collection objects,
java.lang.String link,
java.lang.String contextPath)
Returns the appropriate view bean for given Collection |
static ViewBeanFactory |
getInstance()
Returns the only instance of this class. |
AbstractViewBean |
getSingleViewBean(AnnotatedObject object,
java.lang.String link,
java.lang.String contextPath)
Returns the appropriate view bean for given basic object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static ViewBeanFactory getInstance()
public AbstractViewBean getBinaryViewBean(java.util.Collection objects,
java.lang.String link,
java.lang.String contextPath)
Collection object.
- Parameters:
objects - the Collection of objects to return the view for.link - the link to help page.
- Returns:
- the appropriate view for
object; null is
returned if there is no mapping or an error in creating an
instance of the view.
public AbstractViewBean getDetailsViewBean(java.util.Collection objects,
java.lang.String link,
java.lang.String contextPath)
Collection object.
- Parameters:
objects - the Collection of objects to return the view for.link - the link to help page.
- Returns:
- the appropriate view for
object; null is
returned if there is no mapping or an error in creating an
instance of the view.
public AbstractViewBean getSingleViewBean(AnnotatedObject object,
java.lang.String link,
java.lang.String contextPath)
object - the AnnotatedObject to return the view for.link - the link to help page.
object; null is
returned if there is no mapping or an error in creating an
instance of the view.
public AbstractViewBean getChunkedSingleViewBean(AnnotatedObject object,
java.lang.String link,
java.lang.String contextPath,
int maxChunk,
int selectedChunk)
object - link - contextPath -
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||