Class BaseActivityRecordMapper

java.lang.Object
com.easydesk.om.BaseActivityRecordMapper
All Implemented Interfaces:
Serializable, RecordMapper<Activity>
Direct Known Subclasses:
ActivityRecordMapper

public class BaseActivityRecordMapper extends Object implements RecordMapper<Activity>
Maps ResultSet rows into Activity objects. The skeleton for this class was autogenerated by Torque on: [Sun Oct 18 20:57:18 KST 2026]
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected Long
    getActivityId(ResultSet resultSet, int columnIndex)
    Reads the value of the columnIndex'th column in the resultSet so that it can be used to set the field activityId in Activity.
    protected Long
    getAttachmentId(ResultSet resultSet, int columnIndex)
    Reads the value of the columnIndex'th column in the resultSet so that it can be used to set the field attachmentId in Activity.
    protected Integer
    getAttributeId(ResultSet resultSet, int columnIndex)
    Reads the value of the columnIndex'th column in the resultSet so that it can be used to set the field attributeId in Activity.
    protected Long
    getDependId(ResultSet resultSet, int columnIndex)
    Reads the value of the columnIndex'th column in the resultSet so that it can be used to set the field dependId in Activity.
    protected String
    getDescription(ResultSet resultSet, int columnIndex)
    Reads the value of the columnIndex'th column in the resultSet so that it can be used to set the field description in Activity.
    protected Date
    getEndDate(ResultSet resultSet, int columnIndex)
    Reads the value of the columnIndex'th column in the resultSet so that it can be used to set the field endDate in Activity.
    protected Long
    getItemId(ResultSet resultSet, int columnIndex)
    Reads the value of the columnIndex'th column in the resultSet so that it can be used to set the field itemId in Activity.
    protected Long
    getNewNumericValue(ResultSet resultSet, int columnIndex)
    Reads the value of the columnIndex'th column in the resultSet so that it can be used to set the field newNumericValue in Activity.
    protected Integer
    getNewOptionId(ResultSet resultSet, int columnIndex)
    Reads the value of the columnIndex'th column in the resultSet so that it can be used to set the field newOptionId in Activity.
    protected Long
    getNewUserId(ResultSet resultSet, int columnIndex)
    Reads the value of the columnIndex'th column in the resultSet so that it can be used to set the field newUserId in Activity.
    protected String
    getNewValue(ResultSet resultSet, int columnIndex)
    Reads the value of the columnIndex'th column in the resultSet so that it can be used to set the field newValue in Activity.
    protected Long
    getOldNumericValue(ResultSet resultSet, int columnIndex)
    Reads the value of the columnIndex'th column in the resultSet so that it can be used to set the field oldNumericValue in Activity.
    protected Integer
    getOldOptionId(ResultSet resultSet, int columnIndex)
    Reads the value of the columnIndex'th column in the resultSet so that it can be used to set the field oldOptionId in Activity.
    protected Long
    getOldUserId(ResultSet resultSet, int columnIndex)
    Reads the value of the columnIndex'th column in the resultSet so that it can be used to set the field oldUserId in Activity.
    protected String
    getOldValue(ResultSet resultSet, int columnIndex)
    Reads the value of the columnIndex'th column in the resultSet so that it can be used to set the field oldValue in Activity.
    protected Long
    getTransactionId(ResultSet resultSet, int columnIndex)
    Reads the value of the columnIndex'th column in the resultSet so that it can be used to set the field transactionId in Activity.
     
    processRow(ResultSet resultSet, int offset, Criteria criteria)
    Constructs the object from the current row in the resultSet.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • BaseActivityRecordMapper

      public BaseActivityRecordMapper()
  • Method Details

    • initStrategy

      public MappingStrategy<Activity> initStrategy()
    • processRow

      public Activity processRow(ResultSet resultSet, int offset, Criteria criteria) throws TorqueException
      Constructs the object from the current row in the resultSet.
      Specified by:
      processRow in interface RecordMapper<Activity>
      Parameters:
      resultSet - the resultSet to operate on, already pointing to the correct row. Not null.
      offset - a possible offset in the columns to be considered (if previous columns contain other objects), or 0 for no offset.
      criteria - The criteria which created the result set. If set, the attributes to set in the data object are determined from the select columns in the criteria; if no matching column can be found, null is returned. If not set, all of the table's columns are read from the result set in the order defined in the table definition.
      Returns:
      the mapped object, not null.
      Throws:
      TorqueException - when reading fields from the RecordSet fails or if a Criteria is passed which contains select columns other than the columns in the EASYDESK_ACTIVITY table.
    • getActivityId

      protected Long getActivityId(ResultSet resultSet, int columnIndex) throws TorqueException
      Reads the value of the columnIndex'th column in the resultSet so that it can be used to set the field activityId in Activity.
      Parameters:
      resultSet - the ResultSet to read from, not null.
      columnIndex - the index in the resultSet which should be read.
      Returns:
      the content of the column.
      Throws:
      SQLException - if a problem occurs when reading from the resultSet.
      TorqueException
    • getItemId

      protected Long getItemId(ResultSet resultSet, int columnIndex) throws TorqueException
      Reads the value of the columnIndex'th column in the resultSet so that it can be used to set the field itemId in Activity.
      Parameters:
      resultSet - the ResultSet to read from, not null.
      columnIndex - the index in the resultSet which should be read.
      Returns:
      the content of the column.
      Throws:
      SQLException - if a problem occurs when reading from the resultSet.
      TorqueException
    • getAttributeId

      protected Integer getAttributeId(ResultSet resultSet, int columnIndex) throws TorqueException
      Reads the value of the columnIndex'th column in the resultSet so that it can be used to set the field attributeId in Activity.
      Parameters:
      resultSet - the ResultSet to read from, not null.
      columnIndex - the index in the resultSet which should be read.
      Returns:
      the content of the column.
      Throws:
      SQLException - if a problem occurs when reading from the resultSet.
      TorqueException
    • getTransactionId

      protected Long getTransactionId(ResultSet resultSet, int columnIndex) throws TorqueException
      Reads the value of the columnIndex'th column in the resultSet so that it can be used to set the field transactionId in Activity.
      Parameters:
      resultSet - the ResultSet to read from, not null.
      columnIndex - the index in the resultSet which should be read.
      Returns:
      the content of the column.
      Throws:
      SQLException - if a problem occurs when reading from the resultSet.
      TorqueException
    • getOldNumericValue

      protected Long getOldNumericValue(ResultSet resultSet, int columnIndex) throws TorqueException
      Reads the value of the columnIndex'th column in the resultSet so that it can be used to set the field oldNumericValue in Activity.
      Parameters:
      resultSet - the ResultSet to read from, not null.
      columnIndex - the index in the resultSet which should be read.
      Returns:
      the content of the column.
      Throws:
      SQLException - if a problem occurs when reading from the resultSet.
      TorqueException
    • getNewNumericValue

      protected Long getNewNumericValue(ResultSet resultSet, int columnIndex) throws TorqueException
      Reads the value of the columnIndex'th column in the resultSet so that it can be used to set the field newNumericValue in Activity.
      Parameters:
      resultSet - the ResultSet to read from, not null.
      columnIndex - the index in the resultSet which should be read.
      Returns:
      the content of the column.
      Throws:
      SQLException - if a problem occurs when reading from the resultSet.
      TorqueException
    • getOldUserId

      protected Long getOldUserId(ResultSet resultSet, int columnIndex) throws TorqueException
      Reads the value of the columnIndex'th column in the resultSet so that it can be used to set the field oldUserId in Activity.
      Parameters:
      resultSet - the ResultSet to read from, not null.
      columnIndex - the index in the resultSet which should be read.
      Returns:
      the content of the column.
      Throws:
      SQLException - if a problem occurs when reading from the resultSet.
      TorqueException
    • getNewUserId

      protected Long getNewUserId(ResultSet resultSet, int columnIndex) throws TorqueException
      Reads the value of the columnIndex'th column in the resultSet so that it can be used to set the field newUserId in Activity.
      Parameters:
      resultSet - the ResultSet to read from, not null.
      columnIndex - the index in the resultSet which should be read.
      Returns:
      the content of the column.
      Throws:
      SQLException - if a problem occurs when reading from the resultSet.
      TorqueException
    • getOldOptionId

      protected Integer getOldOptionId(ResultSet resultSet, int columnIndex) throws TorqueException
      Reads the value of the columnIndex'th column in the resultSet so that it can be used to set the field oldOptionId in Activity.
      Parameters:
      resultSet - the ResultSet to read from, not null.
      columnIndex - the index in the resultSet which should be read.
      Returns:
      the content of the column.
      Throws:
      SQLException - if a problem occurs when reading from the resultSet.
      TorqueException
    • getNewOptionId

      protected Integer getNewOptionId(ResultSet resultSet, int columnIndex) throws TorqueException
      Reads the value of the columnIndex'th column in the resultSet so that it can be used to set the field newOptionId in Activity.
      Parameters:
      resultSet - the ResultSet to read from, not null.
      columnIndex - the index in the resultSet which should be read.
      Returns:
      the content of the column.
      Throws:
      SQLException - if a problem occurs when reading from the resultSet.
      TorqueException
    • getOldValue

      protected String getOldValue(ResultSet resultSet, int columnIndex) throws TorqueException
      Reads the value of the columnIndex'th column in the resultSet so that it can be used to set the field oldValue in Activity.
      Parameters:
      resultSet - the ResultSet to read from, not null.
      columnIndex - the index in the resultSet which should be read.
      Returns:
      the content of the column.
      Throws:
      SQLException - if a problem occurs when reading from the resultSet.
      TorqueException
    • getNewValue

      protected String getNewValue(ResultSet resultSet, int columnIndex) throws TorqueException
      Reads the value of the columnIndex'th column in the resultSet so that it can be used to set the field newValue in Activity.
      Parameters:
      resultSet - the ResultSet to read from, not null.
      columnIndex - the index in the resultSet which should be read.
      Returns:
      the content of the column.
      Throws:
      SQLException - if a problem occurs when reading from the resultSet.
      TorqueException
    • getDependId

      protected Long getDependId(ResultSet resultSet, int columnIndex) throws TorqueException
      Reads the value of the columnIndex'th column in the resultSet so that it can be used to set the field dependId in Activity.
      Parameters:
      resultSet - the ResultSet to read from, not null.
      columnIndex - the index in the resultSet which should be read.
      Returns:
      the content of the column.
      Throws:
      SQLException - if a problem occurs when reading from the resultSet.
      TorqueException
    • getDescription

      protected String getDescription(ResultSet resultSet, int columnIndex) throws TorqueException
      Reads the value of the columnIndex'th column in the resultSet so that it can be used to set the field description in Activity.
      Parameters:
      resultSet - the ResultSet to read from, not null.
      columnIndex - the index in the resultSet which should be read.
      Returns:
      the content of the column.
      Throws:
      SQLException - if a problem occurs when reading from the resultSet.
      TorqueException
    • getEndDate

      protected Date getEndDate(ResultSet resultSet, int columnIndex) throws TorqueException
      Reads the value of the columnIndex'th column in the resultSet so that it can be used to set the field endDate in Activity.
      Parameters:
      resultSet - the ResultSet to read from, not null.
      columnIndex - the index in the resultSet which should be read.
      Returns:
      the content of the column.
      Throws:
      SQLException - if a problem occurs when reading from the resultSet.
      TorqueException
    • getAttachmentId

      protected Long getAttachmentId(ResultSet resultSet, int columnIndex) throws TorqueException
      Reads the value of the columnIndex'th column in the resultSet so that it can be used to set the field attachmentId in Activity.
      Parameters:
      resultSet - the ResultSet to read from, not null.
      columnIndex - the index in the resultSet which should be read.
      Returns:
      the content of the column.
      Throws:
      SQLException - if a problem occurs when reading from the resultSet.
      TorqueException