pt.moredata.dataentry.action
Class SimpleQueryAction

java.lang.Object
  extended bypt.moredata.dataentry.action.AbstractAction
      extended bypt.moredata.dataentry.action.SimpleQueryAction
All Implemented Interfaces:
Action

public class SimpleQueryAction
extends AbstractAction

Company MoreData

Version:
$Revision: 1.25 $
Author:
pcarmo

Field Summary
protected  DataAccessObject _dao
           
protected  java.lang.StringBuffer _whereString
           
 
Fields inherited from class pt.moredata.dataentry.action.AbstractAction
_dataEntry, _enable, _event, _request
 
Constructor Summary
SimpleQueryAction()
           
 
Method Summary
 ResponseMessage actionPerformed()
          Invoked when an action occurs.
protected  void addWhereClause(MetaField metaField, java.lang.String columnValue)
          Adds a feature to the WhereClause attribute of the SimpleQueryAction object
protected  void buildWhereString()
          Description of the Method
protected  void init(ActionEvent event)
          Description of the Method
protected  void setDAOView()
          Set the DAOView object with the result query in the DataEntry object.
 
Methods inherited from class pt.moredata.dataentry.action.AbstractAction
actionPerformed, isEnabled, setEnabled
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_whereString

protected java.lang.StringBuffer _whereString

_dao

protected DataAccessObject _dao
Constructor Detail

SimpleQueryAction

public SimpleQueryAction()
Method Detail

addWhereClause

protected void addWhereClause(MetaField metaField,
                              java.lang.String columnValue)
Adds a feature to the WhereClause attribute of the SimpleQueryAction object

Parameters:
columnValue - The feature to be added to the WhereClause attribute

buildWhereString

protected void buildWhereString()
Description of the Method


init

protected void init(ActionEvent event)
Description of the Method

Overrides:
init in class AbstractAction
Parameters:
event - Description of the Parameter

setDAOView

protected void setDAOView()
Set the DAOView object with the result query in the DataEntry object.


actionPerformed

public ResponseMessage actionPerformed()
Invoked when an action occurs.

Specified by:
actionPerformed in class AbstractAction
Returns:
Description of the Return Value