Class DAONotifications
java.lang.Object
overit.geocall.da.DAO0
overit.geocallapp.wfm.notifications.notification.da.DAONotifications
- All Implemented Interfaces:
Serializable,overit.geocall.marks.FieldExposer,overit.geocall.marks.NameExposer,DBFieldMapper,DBObjectMapper,Identified
@Table("ANOTIFICATION")
@Pool("Pool")
@Pk("ANOTID")
@Sequence("SANOTIFICATION")
@Factory("ANOTID_ACOM")
@Order("ANOTID")
public class DAONotifications
extends DAO0
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Commandstatic final Commandstatic final CommandFields 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 voidprotected voidaddCustomWorkOrderCondition(Select workOrderSelect) protected voiddefineSql(CommandContext cc, PooledConnection pc) The method creates the SQL command using the language of the criteria, and in particular based on the methodDAO0.getFilterCriterion(CommandContext)protected 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.protected Criterionprotected ConditionMethods inherited from class overit.geocall.da.DAO0
command, command, commandForName, defineParams, defineStatement, defineValues, execute, execute, feedback, getBranch, getDBFieldMap, getDBObjectMap, getFactory, getGroup, getIdentity, getLevel, getOrder, getPk, getPool, getSequence, getStar, getTable, getTeacher, getValuesCriterion, haveDBFieldMap, haveDBObjectMap, isDistinct, isService, query, query, setDBFieldMap, setDBObjectMap, setIdentity, validate
-
Field Details
-
SELECT_AAVV_TO_NOTIFY
-
SELECT_DEVICES_TO_NOTIFY
-
SELECT_UNMANAGED_NOTIFICATIONS
-
FUNCTION_NOTIFICATIONS_ACCESS
-
-
Constructor Details
-
DAONotifications
public DAONotifications()
-
-
Method Details
-
defineSql
protected void defineSql(CommandContext cc, PooledConnection pc) throws DAException, DAValidateException Description copied from class:DAO0The method creates the SQL command using the language of the criteria, and in particular based on the methodDAO0.getFilterCriterion(CommandContext)- Overrides:
defineSqlin classDAO0- Parameters:
cc- TheCommandContextassociated to the DAOpc- 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
-
getUnmanagedNotificationsCondition
-
addCustomWorkOrderCondition
-
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 classDAO0- 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.
-
getSearchTimeCriterion
-
addCustomSearchTimeCondition
-