org.scrashmeow.ojb.console.ui.control
Class OjbcViewControlFactory

java.lang.Object
  |
  +--org.scrashmeow.ojb.console.ui.control.OjbcViewControlFactory
All Implemented Interfaces:
ApplicationServiceAware, java.io.Serializable
Direct Known Subclasses:
BreadcrumbsFactory, DescriptorGridControlFactory, ObjectReferenceGridControlFactory, SearchControlFactory, SearchGridControlFactory, ValidatorRuleFactory, WidgetFactory

public class OjbcViewControlFactory
extends java.lang.Object
implements ApplicationServiceAware

Base class for a Factory that create's view controls. A View control is a bean used in the JSP that is created by the controller layer from the model.

Author:
Alexander Bibighaus
See Also:
Serialized Form

Constructor Summary
OjbcViewControlFactory()
          Constructor for DescriptorConnectionFactory.
 
Method Summary
 ApplicationService getApplicationService()
          Returns the applicationService.
 HttpServletRequest getRequest()
          Returns the request.
 java.lang.String getSelfLink()
          Returns the selfLink.
 java.util.Map getSelfParams()
          Returns the selfParams.
 java.util.Locale getUserLocale()
          Returns the userLocale.
protected  void initialize(ApplicationService service)
          Method initialize @add-javadoc!!!
protected  void initialize(ApplicationService service, HttpServletRequest request)
          Method initialize @add-javadoc!!!
 void setApplicationService(ApplicationService applicationService)
          Sets the applicationService.
 void setRequest(HttpServletRequest request)
          Sets the request.
 void setSelfLink(java.lang.String selfLink)
          Sets the selfLink.
 void setSelfParams(java.util.Map selfParams)
          Sets the selfParams.
 void setUserLocale(java.util.Locale userLocale)
          Sets the userLocale.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OjbcViewControlFactory

public OjbcViewControlFactory()
Constructor for DescriptorConnectionFactory.

Method Detail

getApplicationService

public ApplicationService getApplicationService()
Returns the applicationService.

Specified by:
getApplicationService in interface ApplicationServiceAware
Returns:
ApplicationService

getRequest

public HttpServletRequest getRequest()
Returns the request.

Returns:
HttpServletRequest

getSelfLink

public java.lang.String getSelfLink()
Returns the selfLink.

Returns:
String

getSelfParams

public java.util.Map getSelfParams()
Returns the selfParams.

Returns:
Map

setApplicationService

public void setApplicationService(ApplicationService applicationService)
Sets the applicationService.

Parameters:
applicationService - The applicationService to set

setRequest

public void setRequest(HttpServletRequest request)
Sets the request.

Parameters:
request - The request to set

setSelfLink

public void setSelfLink(java.lang.String selfLink)
Sets the selfLink.

Parameters:
selfLink - The selfLink to set

setSelfParams

public void setSelfParams(java.util.Map selfParams)
Sets the selfParams.

Parameters:
selfParams - The selfParams to set

initialize

protected void initialize(ApplicationService service)
                   throws ServiceException
Method initialize @add-javadoc!!!

Parameters:
service - @add-javadoc!!!
Throws:
ServiceException - @add-javadoc!!!

initialize

protected void initialize(ApplicationService service,
                          HttpServletRequest request)
                   throws ServiceException
Method initialize @add-javadoc!!!

Parameters:
service - @add-javadoc!!!
request - @add-javadoc!!!
Throws:
ServiceException - @add-javadoc!!!

getUserLocale

public java.util.Locale getUserLocale()
Returns the userLocale.

Returns:
Locale

setUserLocale

public void setUserLocale(java.util.Locale userLocale)
Sets the userLocale.

Parameters:
userLocale - The userLocale to set


Copyright © 2003 Alexander Bibighaus et al. All Rights Reserved.