java.lang.Objectorg.objectweb.telosys.common.TelosysObject
org.objectweb.telosys.service.StandardScreenService
org.objectweb.telosys.service.search.SQLSearchAncestor
Field Summary | |
protected boolean |
_bDynamicParameters
|
protected Criteria |
_criterias
|
protected SQLDataSetDefinition |
_dsDefinition
|
protected SearchMessages |
_messages
|
protected java.lang.String |
_sSessionKey
|
protected static int |
MAXI_DEFAULT
|
protected static int |
MAXI_NOT_SET
|
protected static int |
MAXI_UNLIMITED
|
Constructor Summary | |
SQLSearchAncestor()
|
Method Summary | |
void |
after(ScreenSession screenSession,
ServiceRequest serviceRequest,
ServiceResponse serviceResponse)
Hook method called after the search operation ( designed to be overridden in subclasses if necessary ) |
void |
before(ScreenSession screenSession,
ServiceRequest serviceRequest,
ServiceResponse serviceResponse)
Hook method called before the search operation ( designed to be overridden in subclasses if necessary ) |
protected int |
countParams(java.util.Map requestParameters)
|
protected int |
getDefaultMaxRows()
|
protected Joker |
getJoker()
|
protected int |
getMaxRows()
|
protected java.lang.String |
getParamValue(java.util.Map requestParameters,
int iParamNum)
|
protected java.lang.String |
getParamValue(java.util.Map requestParameters,
java.lang.String sParamName)
|
protected java.lang.String[] |
getStringParams(java.util.Map requestParameters)
Return a String array of parameters |
protected void |
init(SQLDataSetDefinition def)
|
protected void |
init(SQLDataSetDefinition def,
Criteria criterias)
|
protected boolean |
maxRowsIsNotSet()
|
protected boolean |
maxRowsIsSet()
|
protected void |
setCriterias(java.util.Map requestParameters)
Set the dynamic criterias according with the input parameters |
protected int |
setDefaultMaxRows()
|
protected void |
setJoker()
|
protected void |
setJoker(Joker joker)
|
protected void |
setMaxRows(int iMaxi)
|
protected void |
setMessages(SearchMessages messages)
|
protected void |
setSessionKey(java.lang.String s)
|
Methods inherited from class org.objectweb.telosys.service.StandardScreenService |
getName, getRenderer, getSessionKey, init |
Methods inherited from class org.objectweb.telosys.common.TelosysObject |
error, error, error, getFlagTrace, info, setFlagTrace, trace, warn |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.objectweb.telosys.service.ScreenService |
execute |
Field Detail |
protected static final int MAXI_UNLIMITED
protected static final int MAXI_NOT_SET
protected static final int MAXI_DEFAULT
protected boolean _bDynamicParameters
protected Criteria _criterias
protected SQLDataSetDefinition _dsDefinition
protected SearchMessages _messages
protected java.lang.String _sSessionKey
Constructor Detail |
public SQLSearchAncestor()
Method Detail |
protected void init(SQLDataSetDefinition def)
protected void init(SQLDataSetDefinition def, Criteria criterias)
protected boolean maxRowsIsSet()
protected boolean maxRowsIsNotSet()
protected int setDefaultMaxRows()
protected int getDefaultMaxRows()
protected void setMaxRows(int iMaxi)
protected int getMaxRows()
protected void setMessages(SearchMessages messages)
protected void setSessionKey(java.lang.String s)
protected void setJoker(Joker joker)
protected void setJoker()
protected Joker getJoker()
protected java.lang.String getParamValue(java.util.Map requestParameters, java.lang.String sParamName)
protected java.lang.String getParamValue(java.util.Map requestParameters, int iParamNum)
protected int countParams(java.util.Map requestParameters)
protected java.lang.String[] getStringParams(java.util.Map requestParameters)
requestParameters
-
protected void setCriterias(java.util.Map requestParameters)
requestParameters
-
public void before(ScreenSession screenSession, ServiceRequest serviceRequest, ServiceResponse serviceResponse)
screenSession
- serviceRequest
- serviceResponse
- public void after(ScreenSession screenSession, ServiceRequest serviceRequest, ServiceResponse serviceResponse)
screenSession
- serviceRequest
- serviceResponse
-