Class BaseEasyDeskModuleRecordMapper

java.lang.Object
com.easydesk.om.BaseEasyDeskModuleRecordMapper
All Implemented Interfaces:
Serializable, RecordMapper<EasyDeskModule>
Direct Known Subclasses:
EasyDeskModuleRecordMapper

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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected String
    getClassKey(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 classKey in EasyDeskModule.
    protected String
    getCode(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 code in EasyDeskModule.
    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 EasyDeskModule.
    protected String
    getDomain(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 domain in EasyDeskModule.
    protected Long
    getId(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 id in EasyDeskModule.
    protected String
    getLocaleValue(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 localeValue in EasyDeskModule.
    protected Long
    getParentId(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 parentId in EasyDeskModule.
    protected String
    getRealName(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 realName in EasyDeskModule.
    protected Long
    getTemplateId(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 templateId in EasyDeskModule.
    protected String
    getUrl(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 url in EasyDeskModule.
     
    protected boolean
    isLocked(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 locked in EasyDeskModule.
    protected boolean
    isRemoved(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 removed in EasyDeskModule.
    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

    • BaseEasyDeskModuleRecordMapper

      public BaseEasyDeskModuleRecordMapper()
  • Method Details

    • initStrategy

      public MappingStrategy<EasyDeskModule> initStrategy()
    • processRow

      public EasyDeskModule 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<EasyDeskModule>
      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_MODULE table.
    • getId

      protected Long getId(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 id in EasyDeskModule.
      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
    • getRealName

      protected String getRealName(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 realName in EasyDeskModule.
      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
    • getDomain

      protected String getDomain(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 domain in EasyDeskModule.
      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
    • getCode

      protected String getCode(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 code in EasyDeskModule.
      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 EasyDeskModule.
      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
    • getUrl

      protected String getUrl(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 url in EasyDeskModule.
      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
    • getLocaleValue

      protected String getLocaleValue(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 localeValue in EasyDeskModule.
      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
    • getParentId

      protected Long getParentId(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 parentId in EasyDeskModule.
      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
    • getTemplateId

      protected Long getTemplateId(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 templateId in EasyDeskModule.
      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
    • isRemoved

      protected boolean isRemoved(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 removed in EasyDeskModule.
      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
    • isLocked

      protected boolean isLocked(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 locked in EasyDeskModule.
      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
    • getClassKey

      protected String getClassKey(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 classKey in EasyDeskModule.
      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