Class DAOSearchInterventions
java.lang.Object
overit.geocall.da.DAO0
overit.geocallapp.wfm.workorder.scheduling.DAOIntervention
overit.geocallapp.wfm.ai.bl.duration.prediction.support.data.DAOSearchInterventions
- All Implemented Interfaces:
Serializable,overit.geocall.marks.FieldExposer,overit.geocall.marks.NameExposer,DBFieldMapper,DBObjectMapper,Identified
@Factory("AWORID_ACOM")
public class DAOSearchInterventions
extends overit.geocallapp.wfm.workorder.scheduling.DAOIntervention
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class overit.geocallapp.wfm.workorder.scheduling.DAOIntervention
overit.geocallapp.wfm.workorder.scheduling.DAOIntervention.Fields -
Field Summary
FieldsFields inherited from class overit.geocallapp.wfm.workorder.scheduling.DAOIntervention
SELECT_LASTRESULT_INTERVENTIONFields inherited from class overit.geocall.da.DAO0
_dbfm, _dbom, DELETE_FILTER, DELETE_PK, INSATE, INSERT, INSERT_ATTEMPT, SELECT_FILTER, SELECT_NONE, SELECT_PK, UPDATE_FILTER, UPDATE_PK, UPSERT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected CriterionMethod to extend to go to introduce the inferential rules with which to deduce the SQL automatically based on the context passed as a parameter.Returns the name of the table on which the specific DAO actsprotected Stringprotected voidvalidate(CommandContext cc, PooledConnection conn) Method to extend if you want to implement some logic of data validation; it can raise a DAException, or better, a DAValidateException.Methods inherited from class overit.geocallapp.wfm.workorder.scheduling.DAOIntervention
defineParams, defineStatement, getOrderMethods inherited from class overit.geocall.da.DAO0
command, command, commandForName, defineSql, defineValues, execute, execute, feedback, getBranch, getDBFieldMap, getDBObjectMap, getFactory, getGroup, getIdentity, getLevel, getPk, getPool, getSequence, getStar, getTeacher, getValuesCriterion, haveDBFieldMap, haveDBObjectMap, isDistinct, isService, query, query, setDBFieldMap, setDBObjectMap, setIdentity
-
Field Details
-
SEARCH_WITH_LEFT_JOIN
-
-
Constructor Details
-
DAOSearchInterventions
public DAOSearchInterventions()
-
-
Method Details
-
validate
protected void validate(CommandContext cc, PooledConnection conn) throws DAException, DAValidateException Description copied from class:DAO0Method to extend if you want to implement some logic of data validation; it can raise a DAException, or better, a DAValidateException. By default the method verifies that, if the command requested is a command that refers to a key field, that key field has been defined for the DAO and that the key field is among those passed as filter.- Overrides:
validatein classoverit.geocallapp.wfm.workorder.scheduling.DAOIntervention- Parameters:
cc- TheCommandContextassociated to the DAOconn- ThePooledConnectionfrom which extract the connections- Throws:
DAException- If there is a (blocking) data-access error, a DAException must be thrownDAValidateException- If there are error in the validation phase, a DAValidateException must be thrown
-
getFilterCriterion
Description copied from class:DAO0Method to extend to go to introduce the inferential rules with which to deduce the SQL automatically based on the context passed as a parameter.- Overrides:
getFilterCriterionin classoverit.geocallapp.wfm.workorder.scheduling.DAOIntervention- Parameters:
cc- TheCommandContextassociated to the DAO- Returns:
- The
Criterionused to create the SQL By default the method returns theCriteria.SEARCH_STRONGfor the commands that refers to key fields and theCriteria.SEARCHfor all the other commands.
-
getWoClause
-
getTable
Description copied from class:DAO0Returns the name of the table on which the specific DAO acts- Overrides:
getTablein classDAO0- Parameters:
cc- TheCommandContextassociated to the DAO- Returns:
- The string that represents the name of the table on which the DAO want to access and operate
-