org.apache.turbine.services.schedule

## Class BaseJobEntryTorquePeerImpl

- java.lang.Object
- - org.apache.torque.util.BasePeerImpl<JobEntryTorque>
  - - org.apache.turbine.services.schedule.BaseJobEntryTorquePeerImpl

- All Implemented Interfaces:
    Serializable
  Direct Known Subclasses:
    JobEntryTorquePeerImpl

      public abstract class BaseJobEntryTorquePeerImpl
      extends org.apache.torque.util.BasePeerImpl<JobEntryTorque>

  The skeleton for this class was autogenerated by Torque on: [Mon Mar 05 12:40:05 CET 2018] You should not use this class directly. It should not even be extended; all references should be to JobEntryTorquePeer
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `BaseJobEntryTorquePeerImpl()` Constructor.
    `BaseJobEntryTorquePeerImpl(org.apache.torque.om.mapper.RecordMapper<JobEntryTorque> recordMapper, org.apache.torque.map.TableMap tableMap, String databaseName)` Constructor providing the objects to be injected as parameters.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `org.apache.torque.util.ColumnValues` | `buildColumnValues(JobEntryTorque jobEntryTorque)` Returns the contents of the object as ColumnValues object.
    `org.apache.torque.criteria.Criteria` | `buildCriteria(Collection<org.apache.torque.om.ObjectKey> pks)` Build a Criteria object which selects all objects which primary keys are contained in the passed collection.
    `org.apache.torque.criteria.Criteria` | `buildCriteria(JobEntryTorque obj)` Build a Criteria object from the data object for this peer.
    `org.apache.torque.criteria.Criteria` | `buildCriteria(org.apache.torque.om.ObjectKey pk)` Build a Criteria object which selects all objects which have a given primary key.
    `org.apache.torque.criteria.Criteria` | `buildPkCriteria(Collection<JobEntryTorque> objects)` Build a Criteria object which selects all passed objects using their primary key.
    `org.apache.torque.criteria.Criteria` | `buildSelectCriteria(JobEntryTorque obj)` Build a Criteria object from the data object for this peer, skipping all binary columns.
    `int` | `doDelete(Collection<JobEntryTorque> objects)` Deletes data objects, i.e. rows in a table, in the database.
    `int` | `doDelete(Collection<JobEntryTorque> objects, Connection con)` Deletes data objects, i.e. rows in a table, in the database.
    `int` | `doDelete(JobEntryTorque obj)` Deletes a data object, i.e. a row in a table, in the database.
    `int` | `doDelete(JobEntryTorque obj, Connection con)` Deletes a data object, i.e. a row in a table, in the database.
    `int` | `doDelete(org.apache.torque.om.ObjectKey pk)` Deletes a row in the database.
    `int` | `doDelete(org.apache.torque.om.ObjectKey pk, Connection con)` Deletes a row in the database.
    `org.apache.torque.om.ObjectKey` | `doInsert(org.apache.torque.util.ColumnValues columnValues)` Method to do inserts.
    `org.apache.torque.om.ObjectKey` | `doInsert(org.apache.torque.util.ColumnValues columnValues, Connection con)` Method to do inserts.
    `void` | `doInsert(JobEntryTorque obj)` Method to do inserts
    `void` | `doInsert(JobEntryTorque obj, Connection con)` Method to do inserts.
    `List<JobEntryTorque>` | `doSelect(JobEntryTorque obj)` Selects JobEntryTorque objects from the database which have the same content as the passed object.
    `JobEntryTorque` | `doSelectSingleRecord(JobEntryTorque obj)` Selects at most one JobEntryTorque object from the database which has the same content as the passed object.
    `int` | `doUpdate(org.apache.torque.util.ColumnValues columnValues)` Method to do updates.
    `int` | `doUpdate(org.apache.torque.util.ColumnValues columnValues, Connection con)` Method to do updates.
    `int` | `doUpdate(JobEntryTorque obj)` Updates an JobEntryTorque in the database.
    `int` | `doUpdate(JobEntryTorque obj, Connection con)` Updates a JobEntryTorque in the database.
    `JobEntryTorque` | `getDbObjectInstance()` Returns a new instance of the Data object class
    `JobEntryTorque` | `retrieveByPK(int pk)` Retrieve a single object by pk
    `JobEntryTorque` | `retrieveByPK(int pk, Connection con)` Retrieve a single object by pk
    `JobEntryTorque` | `retrieveByPK(org.apache.torque.om.ObjectKey pk)` Retrieve a single object by pk
    `JobEntryTorque` | `retrieveByPK(org.apache.torque.om.ObjectKey pk, Connection con)` Retrieve a single object by pk
    `List<JobEntryTorque>` | `retrieveByPKs(Collection<org.apache.torque.om.ObjectKey> pks)` Retrieve a multiple objects by pk
    `List<JobEntryTorque>` | `retrieveByPKs(Collection<org.apache.torque.om.ObjectKey> pks, Connection dbcon)` Retrieve multiple objects by pk

    - ### Methods inherited from class org.apache.torque.util.BasePeerImpl

      `addSelectColumns, addSelectColumns, correctBooleans, correctBooleans, correctBooleans, deleteAll, deleteAll, doDelete, doDelete, doDelete, doDelete, doSelect, doSelect, doSelect, doSelect, doSelect, doSelect, doSelect, doSelect, doSelect, doSelect, doSelect, doSelect, doSelectSingleRecord, doSelectSingleRecord, doSelectSingleRecord, doSelectSingleRecord, doUpdate, doUpdate, doUpdate, doUpdate, executeStatement, executeStatement, executeStatement, executeStatement, getDatabaseName, getRecordMapper, getTableMap, initCriteriaKeys, setDatabaseName, setDbName, setDbName, setRecordMapper, setTableMap`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### BaseJobEntryTorquePeerImpl

          public BaseJobEntryTorquePeerImpl()

      Constructor. The recordMapper, tableMap and databaseName fields are correctly initialized.

    - #### BaseJobEntryTorquePeerImpl

          public BaseJobEntryTorquePeerImpl(org.apache.torque.om.mapper.RecordMapper<JobEntryTorque> recordMapper,
                                    org.apache.torque.map.TableMap tableMap,
                                    String databaseName)

      Constructor providing the objects to be injected as parameters.
      Parameters:
        `recordMapper` - a record mapper to map JDBC result sets to objects
        `tableMap` - the default table map
        `databaseName` - the name of the database

  - ### Method Detail

    - #### doSelect

          public List<JobEntryTorque> doSelect(JobEntryTorque obj)
                                        throws org.apache.torque.TorqueException

      Selects JobEntryTorque objects from the database which have the same content as the passed object.
      Returns:
        The list of selected objects, not null.
      Throws:
        `org.apache.torque.TorqueException` - Any exceptions caught during processing will be rethrown wrapped into a TorqueException.

    - #### doSelectSingleRecord

          public JobEntryTorque doSelectSingleRecord(JobEntryTorque obj)
                                              throws org.apache.torque.TorqueException

      Selects at most one JobEntryTorque object from the database which has the same content as the passed object.
      Returns:
        the selected Object, or null if no object was selected.
      Throws:
        `org.apache.torque.TorqueException` - Any exceptions caught during processing will be rethrown wrapped into a TorqueException.

    - #### getDbObjectInstance

          public JobEntryTorque getDbObjectInstance()

      Returns a new instance of the Data object class

    - #### doInsert

          public org.apache.torque.om.ObjectKey doInsert(org.apache.torque.util.ColumnValues columnValues)
                                                  throws org.apache.torque.TorqueException

      Method to do inserts.
      Overrides:
        `doInsert` in class `org.apache.torque.util.BasePeerImpl<JobEntryTorque>`
      Parameters:
        `columnValues` - the values to insert.
      Returns:
        the primary key of the inserted row.
      Throws:
        `org.apache.torque.TorqueException` - Any exceptions caught during processing will be rethrown wrapped into a TorqueException.

    - #### doInsert

          public org.apache.torque.om.ObjectKey doInsert(org.apache.torque.util.ColumnValues columnValues,
                                                Connection con)
                                                  throws org.apache.torque.TorqueException

      Method to do inserts. This method is to be used during a transaction, otherwise use the doInsert(Criteria) method.
      Overrides:
        `doInsert` in class `org.apache.torque.util.BasePeerImpl<JobEntryTorque>`
      Parameters:
        `columnValues` - the values to insert.
        `con` - the connection to use, not null.
      Returns:
        the primary key of the inserted row.
      Throws:
        `org.apache.torque.TorqueException` - Any exceptions caught during processing will be rethrown wrapped into a TorqueException.

    - #### doInsert

          public void doInsert(JobEntryTorque obj)
                        throws org.apache.torque.TorqueException

      Method to do inserts
      Throws:
        `org.apache.torque.TorqueException` - Any exceptions caught during processing will be rethrown wrapped into a TorqueException.

    - #### doInsert

          public void doInsert(JobEntryTorque obj,
                      Connection con)
                        throws org.apache.torque.TorqueException

      Method to do inserts. This method is to be used during a transaction, otherwise use the doInsert(JobEntryTorque) method. It will take care of the connection details internally.
      Parameters:
        `obj` - the data object to insert into the database.
        `con` - the connection to use
      Throws:
        `org.apache.torque.TorqueException` - Any exceptions caught during processing will be rethrown wrapped into a TorqueException.

    - #### doUpdate

          public int doUpdate(org.apache.torque.util.ColumnValues columnValues)
                       throws org.apache.torque.TorqueException

      Method to do updates.
      Overrides:
        `doUpdate` in class `org.apache.torque.util.BasePeerImpl<JobEntryTorque>`
      Parameters:
        `columnValues` - the values to update plus the primary key identifying the row to update.
      Returns:
        the number of affected rows.
      Throws:
        `org.apache.torque.TorqueException` - Any exceptions caught during processing will be rethrown wrapped into a TorqueException.

    - #### doUpdate

          public int doUpdate(org.apache.torque.util.ColumnValues columnValues,
                     Connection con)
                       throws org.apache.torque.TorqueException

      Method to do updates. This method is to be used during a transaction, otherwise use the doUpdate(Criteria) method.
      Overrides:
        `doUpdate` in class `org.apache.torque.util.BasePeerImpl<JobEntryTorque>`
      Parameters:
        `columnValues` - the values to update plus the primary key identifying the row to update.
        `con` - the connection to use, not null.
      Returns:
        the number of affected rows.
      Throws:
        `org.apache.torque.TorqueException` - Any exceptions caught during processing will be rethrown wrapped into a TorqueException.

    - #### doUpdate

          public int doUpdate(JobEntryTorque obj)
                       throws org.apache.torque.TorqueException

      Updates an JobEntryTorque in the database. The primary key is used to identify the object to update.
      Parameters:
        `obj` - the data object to update in the database.
      Returns:
        the number of affected rows.
      Throws:
        `org.apache.torque.TorqueException` - Any exceptions caught during processing will be rethrown wrapped into a TorqueException.

    - #### doUpdate

          public int doUpdate(JobEntryTorque obj,
                     Connection con)
                       throws org.apache.torque.TorqueException

      Updates a JobEntryTorque in the database. The primary key is used to identify the object to update. This method is to be used during a transaction, otherwise the doUpdate(JobEntryTorque) method can be used.
      Parameters:
        `obj` - the data object to update in the database.
        `con` - the connection to use, not null.
      Returns:
        the number of affected rows.
      Throws:
        `org.apache.torque.TorqueException` - Any exceptions caught during processing will be rethrown wrapped into a TorqueException.

    - #### doDelete

          public int doDelete(JobEntryTorque obj)
                       throws org.apache.torque.TorqueException

      Deletes a data object, i.e. a row in a table, in the database.
      Parameters:
        `obj` - the data object to delete in the database, not null.
      Returns:
        the number of deleted rows.
      Throws:
        `org.apache.torque.TorqueException` - Any exceptions caught during processing will be rethrown wrapped into a TorqueException.

    - #### doDelete

          public int doDelete(JobEntryTorque obj,
                     Connection con)
                       throws org.apache.torque.TorqueException

      Deletes a data object, i.e. a row in a table, in the database. This method is to be used during a transaction, otherwise use the doDelete(JobEntryTorque) method.
      Parameters:
        `obj` - the data object to delete in the database, not null.
        `con` - the connection to use, not null.
      Returns:
        the number of deleted rows.
      Throws:
        `org.apache.torque.TorqueException` - Any exceptions caught during processing will be rethrown wrapped into a TorqueException.

    - #### doDelete

          public int doDelete(Collection<JobEntryTorque> objects)
                       throws org.apache.torque.TorqueException

      Deletes data objects, i.e. rows in a table, in the database.
      Parameters:
        `objects` - the data object to delete in the database, not null, may not contain null.
      Returns:
        the number of deleted rows.
      Throws:
        `org.apache.torque.TorqueException` - Any exceptions caught during processing will be rethrown wrapped into a TorqueException.

    - #### doDelete

          public int doDelete(Collection<JobEntryTorque> objects,
                     Connection con)
                       throws org.apache.torque.TorqueException

      Deletes data objects, i.e. rows in a table, in the database. This method uses the passed connection to delete the rows; if a transaction is open in the connection, the deletion happens inside this transaction.
      Parameters:
        `objects` - the data objects to delete in the database, not null, may not contain null.
        `con` - the connection to use for deleting, not null.
      Returns:
        the number of deleted rows.
      Throws:
        `org.apache.torque.TorqueException` - Any exceptions caught during processing will be rethrown wrapped into a TorqueException.

    - #### doDelete

          public int doDelete(org.apache.torque.om.ObjectKey pk)
                       throws org.apache.torque.TorqueException

      Deletes a row in the database.
      Parameters:
        `pk` - the ObjectKey that identifies the row to delete.
      Returns:
        the number of deleted rows.
      Throws:
        `org.apache.torque.TorqueException` - Any exceptions caught during processing will be rethrown wrapped into a TorqueException.

    - #### doDelete

          public int doDelete(org.apache.torque.om.ObjectKey pk,
                     Connection con)
                       throws org.apache.torque.TorqueException

      Deletes a row in the database. This method is to be used during a transaction, otherwise use the doDelete(ObjectKey) method.
      Parameters:
        `pk` - the ObjectKey that identifies the row to delete.
        `con` - the connection to use for deleting, not null.
      Returns:
        the number of deleted rows.
      Throws:
        `org.apache.torque.TorqueException` - Any exceptions caught during processing will be rethrown wrapped into a TorqueException.

    - #### buildCriteria

          public org.apache.torque.criteria.Criteria buildCriteria(org.apache.torque.om.ObjectKey pk)

      Build a Criteria object which selects all objects which have a given primary key.
      Parameters:
        `pk` - the primary key value to build the criteria from, not null.

    - #### buildCriteria

          public org.apache.torque.criteria.Criteria buildCriteria(Collection<org.apache.torque.om.ObjectKey> pks)

      Build a Criteria object which selects all objects which primary keys are contained in the passed collection.
      Parameters:
        `pks` - the primary key values to build the criteria from, not null, may not contain null.

    - #### buildPkCriteria

          public org.apache.torque.criteria.Criteria buildPkCriteria(Collection<JobEntryTorque> objects)

      Build a Criteria object which selects all passed objects using their primary key. Objects which do not yet have a primary key are ignored.
      Parameters:
        `objects` - the objects to build the criteria from, not null, may not contain null.

    - #### buildCriteria

          public org.apache.torque.criteria.Criteria buildCriteria(JobEntryTorque obj)

      Build a Criteria object from the data object for this peer. The primary key columns are only added if the object is not new.
      Parameters:
        `obj` - the object to build the criteria from, not null.

    - #### buildSelectCriteria

          public org.apache.torque.criteria.Criteria buildSelectCriteria(JobEntryTorque obj)

      Build a Criteria object from the data object for this peer, skipping all binary columns.
      Parameters:
        `obj` - the object to build the criteria from, not null.

    - #### buildColumnValues

          public org.apache.torque.util.ColumnValues buildColumnValues(JobEntryTorque jobEntryTorque)
                                                                throws org.apache.torque.TorqueException

      Returns the contents of the object as ColumnValues object. Primary key columns which are generated on insertion are not added to the returned object if they still have their initial value. Also, columns which have the useDatabaseDefaultValue flag set to true are also not added to the returned object if they still have their initial value.
      Throws:
        `org.apache.torque.TorqueException` - if the table map cannot be retrieved (should not happen).

    - #### retrieveByPK

          public JobEntryTorque retrieveByPK(int pk)
                                      throws org.apache.torque.TorqueException,
                                             org.apache.torque.NoRowsException,
                                             org.apache.torque.TooManyRowsException

      Retrieve a single object by pk
      Parameters:
        `pk` - the primary key
      Throws:
        `org.apache.torque.TorqueException` - Any exceptions caught during processing will be rethrown wrapped into a TorqueException.
        `org.apache.torque.NoRowsException` - Primary key was not found in database.
        `org.apache.torque.TooManyRowsException` - Primary key was not found in database.

    - #### retrieveByPK

          public JobEntryTorque retrieveByPK(int pk,
                                    Connection con)
                                      throws org.apache.torque.TorqueException,
                                             org.apache.torque.NoRowsException,
                                             org.apache.torque.TooManyRowsException

      Retrieve a single object by pk
      Parameters:
        `pk` - the primary key
        `con` - the connection to use
      Throws:
        `org.apache.torque.TorqueException` - Any exceptions caught during processing will be rethrown wrapped into a TorqueException.
        `org.apache.torque.NoRowsException` - Primary key was not found in database.
        `org.apache.torque.TooManyRowsException` - Primary key was not found in database.

    - #### retrieveByPK

          public JobEntryTorque retrieveByPK(org.apache.torque.om.ObjectKey pk)
                                      throws org.apache.torque.TorqueException,
                                             org.apache.torque.NoRowsException,
                                             org.apache.torque.TooManyRowsException

      Retrieve a single object by pk
      Parameters:
        `pk` - the primary key
      Throws:
        `org.apache.torque.TorqueException` - Any exceptions caught during processing will be rethrown wrapped into a TorqueException.
        `org.apache.torque.NoRowsException` - Primary key was not found in database.
        `org.apache.torque.TooManyRowsException` - Primary key was not found in database.

    - #### retrieveByPK

          public JobEntryTorque retrieveByPK(org.apache.torque.om.ObjectKey pk,
                                    Connection con)
                                      throws org.apache.torque.TorqueException,
                                             org.apache.torque.NoRowsException,
                                             org.apache.torque.TooManyRowsException

      Retrieve a single object by pk
      Parameters:
        `pk` - the primary key
        `con` - the connection to use
      Throws:
        `org.apache.torque.TorqueException` - Any exceptions caught during processing will be rethrown wrapped into a TorqueException.
        `org.apache.torque.NoRowsException` - Primary key was not found in database.
        `org.apache.torque.TooManyRowsException` - Primary key was not found in database.

    - #### retrieveByPKs

          public List<JobEntryTorque> retrieveByPKs(Collection<org.apache.torque.om.ObjectKey> pks)
                                             throws org.apache.torque.TorqueException

      Retrieve a multiple objects by pk
      Parameters:
        `pks` - List of primary keys
      Throws:
        `org.apache.torque.TorqueException` - Any exceptions caught during processing will be rethrown wrapped into a TorqueException.

    - #### retrieveByPKs

          public List<JobEntryTorque> retrieveByPKs(Collection<org.apache.torque.om.ObjectKey> pks,
                                           Connection dbcon)
                                             throws org.apache.torque.TorqueException

      Retrieve multiple objects by pk
      Parameters:
        `pks` - List of primary keys
        `dbcon` - the connection to use
      Throws:
        `org.apache.torque.TorqueException` - Any exceptions caught during processing will be rethrown wrapped into a TorqueException.

Copyright © 2000–2018 The Apache Software Foundation. All rights reserved.