Class DAOBundleWorkOrderOperationSearch

java.lang.Object
overit.geocall.da.DAO
overit.geocallapp.utilities.core.data.ReadOnlyDAO
overit.geocallapp.wfm.core.bl.bundler.bundling.data.DAOBundleWorkOrderOperationSearch
All Implemented Interfaces:
Serializable, DataAttributesHolder, EDMConfigurableBean, overit.geocall.marks.FieldExposer, overit.geocall.marks.NameExposer, DBFieldMapper, DBObjectMapper, Tool

@Pool("Pool") @Table("AWOOPERATION JOIN AWORKORDER WOHEADER ON AWOOID_AWOR = AWORID") @Pk("AWOOID") @Factory("AWOOID_ACOM") @Order("AWOOID") public class DAOBundleWorkOrderOperationSearch extends ReadOnlyDAO
DAO for bundle work order operations search.
Only select command are supported.
Since:
10.1
See Also:
  • Field Details

  • Constructor Details

    • DAOBundleWorkOrderOperationSearch

      public DAOBundleWorkOrderOperationSearch()
  • Method Details

    • validate

      protected void validate(CommandContext cc, PoolKit pk) throws DAException, DAValidateException
      Description copied from class: ReadOnlyDAO
      Validates that only SELECT operations are permitted on this read-only DAO.
      Overrides:
      validate in class ReadOnlyDAO
      Parameters:
      cc - the CommandContext containing the operation details
      pk - the PoolKit
      Throws:
      DAException - if a data access error occurs during validation
      DAValidateException - if the operation is not a SELECT operation
    • defineValues

      protected void defineValues(CommandContext cc, PoolKit pk) throws DAException, DAValidateException
      Description copied from class: DAO
      Method to extend to go to prepare the values operating Java side, for example making calculations, avoiding to operate SQL side that is much more difficult, inconvenient, difficult to maintain and not portable. Changing the values in this method can have a return in the application mask, since the same map of values is used, and not a clone of it. By default the method sets the correct values for the sequence, the datastamp and login, where necessary.
      Overrides:
      defineValues in class DAO
      Parameters:
      cc - The CommandContext associated to the DAO
      pk - The PoolKit from which extract the connections
      Throws:
      DAException - If there is a (blocking) data-access error, a DAException must be thrown
      DAValidateException - If there are error in the validation phase, a DAValidateException must be thrown
    • getOperationStatus

      protected Collection<Long> getOperationStatus()
    • getFilterCriterion

      public Criterion getFilterCriterion(CommandContext cc)
      Description copied from class: DAO
      Method 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:
      getFilterCriterion in class DAO
      Parameters:
      cc - The CommandContext associated to the DAO
      Returns:
      The Criterion used to create the SQL By default the method returns the Criteria.SEARCH_STRONG for the commands that refers to key fields and the Criteria.SEARCH for all the other commands.
    • getNoBundledOperationClause

      protected String getNoBundledOperationClause()
    • getNoByOrderOperationClause

      protected String getNoByOrderOperationClause()
    • getNoParentOrderOperationClause

      protected String getNoParentOrderOperationClause()
    • getNoChildOrderOperationClause

      protected String getNoChildOrderOperationClause()
    • getNoEnterpriseOperationClause

      protected String getNoEnterpriseOperationClause()
    • getNoBookingOperationClause

      protected String getNoBookingOperationClause()
    • getNoPastAppointmentOperationClause

      protected String getNoPastAppointmentOperationClause()
    • getNoPredistributedOperationClause

      protected String getNoPredistributedOperationClause()
    • getNoMultistageOperationClause

      protected String getNoMultistageOperationClause()
    • getWorkOrderFiltersClause

      protected String getWorkOrderFiltersClause(CommandContext cc)
    • getNoPendingWorkOrderClause

      protected String getNoPendingWorkOrderClause()
    • getNoRequiredAcceptanceClause

      protected String getNoRequiredAcceptanceClause()