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

java.lang.Object
  |
  +--org.scrashmeow.ojb.console.ui.control.OjbcViewControlFactory
        |
        +--org.scrashmeow.ojb.console.ui.control.SearchControlFactory
All Implemented Interfaces:
ApplicationServiceAware, java.io.Serializable

public class SearchControlFactory
extends OjbcViewControlFactory

Author:
Alexander_Bibighaus To change this generated comment edit the template variable "typecomment": Window>Preferences>Java>Templates. To enable and disable the creation of type comments go to Window>Preferences>Java>Code Generation.
See Also:
Serialized Form

Field Summary
protected  java.lang.String criteriaFormName
          Field criteriaFormName
protected  java.lang.String criteriaValueName
          Field criteriaValueName
 
Constructor Summary
SearchControlFactory()
          Constructor for GridControlFactory.
 
Method Summary
 org.apache.ojb.broker.query.Criteria createCriteria(org.apache.ojb.broker.metadata.ClassDescriptor cld, java.util.Map criteria, java.util.Map values)
          Method createCriteria @add-javadoc!!!
 SearchControl createSearchControl(org.apache.ojb.broker.metadata.FieldDescriptor fld)
          Method createSearchControl @add-javadoc!!!
 java.util.Collection createSearchControls(org.apache.ojb.broker.metadata.ClassDescriptor cld)
          Method createSearchControls @add-javadoc!!!
 java.lang.String getCriteriaFormName()
          Returns the criteriaFormName.
 java.lang.String getCriteriaValueName()
          Returns the criteriaValueName.
static SearchControlFactory newInstance(ApplicationService service, HttpServletRequest request, java.lang.String criteriaFormName, java.lang.String criteriaValueName)
          Method newInstance @add-javadoc!!!
 void setCriteriaFormName(java.lang.String criteriaFormName)
          Sets the criteriaFormName.
 void setCriteriaValueName(java.lang.String criteriaValueName)
          Sets the criteriaValueName.
 
Methods inherited from class org.scrashmeow.ojb.console.ui.control.OjbcViewControlFactory
getApplicationService, getRequest, getSelfLink, getSelfParams, getUserLocale, initialize, initialize, setApplicationService, setRequest, setSelfLink, setSelfParams, setUserLocale
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

criteriaFormName

protected java.lang.String criteriaFormName
Field criteriaFormName


criteriaValueName

protected java.lang.String criteriaValueName
Field criteriaValueName

Constructor Detail

SearchControlFactory

public SearchControlFactory()
Constructor for GridControlFactory.

Method Detail

newInstance

public static SearchControlFactory newInstance(ApplicationService service,
                                               HttpServletRequest request,
                                               java.lang.String criteriaFormName,
                                               java.lang.String criteriaValueName)
                                        throws ServiceException
Method newInstance @add-javadoc!!!

Parameters:
service - @add-javadoc!!!
request - @add-javadoc!!!
criteriaFormName - @add-javadoc!!!
criteriaValueName - @add-javadoc!!!
Returns:
@add-javadoc!!!
Throws:
ServiceException - @add-javadoc!!!

createSearchControls

public java.util.Collection createSearchControls(org.apache.ojb.broker.metadata.ClassDescriptor cld)
                                          throws ServiceException
Method createSearchControls @add-javadoc!!!

Parameters:
cld - @add-javadoc!!!
Returns:
@add-javadoc!!!
Throws:
ServiceException - @add-javadoc!!!

createCriteria

public org.apache.ojb.broker.query.Criteria createCriteria(org.apache.ojb.broker.metadata.ClassDescriptor cld,
                                                           java.util.Map criteria,
                                                           java.util.Map values)
                                                    throws ServiceException
Method createCriteria @add-javadoc!!!

Parameters:
cld - @add-javadoc!!!
criteria - @add-javadoc!!!
values - @add-javadoc!!!
Returns:
@add-javadoc!!!
Throws:
ServiceException - @add-javadoc!!!

createSearchControl

public SearchControl createSearchControl(org.apache.ojb.broker.metadata.FieldDescriptor fld)
                                  throws ServiceException
Method createSearchControl @add-javadoc!!!

Parameters:
fld - @add-javadoc!!!
Returns:
@add-javadoc!!!
Throws:
ServiceException - @add-javadoc!!!

getCriteriaFormName

public java.lang.String getCriteriaFormName()
Returns the criteriaFormName.

Returns:
String

getCriteriaValueName

public java.lang.String getCriteriaValueName()
Returns the criteriaValueName.

Returns:
String

setCriteriaFormName

public void setCriteriaFormName(java.lang.String criteriaFormName)
Sets the criteriaFormName.

Parameters:
criteriaFormName - The criteriaFormName to set

setCriteriaValueName

public void setCriteriaValueName(java.lang.String criteriaValueName)
Sets the criteriaValueName.

Parameters:
criteriaValueName - The criteriaValueName to set


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