Package com.easydesk.om
Class BaseActivityRecordMapper
java.lang.Object
com.easydesk.om.BaseActivityRecordMapper
- All Implemented Interfaces:
Serializable,RecordMapper<Activity>
- Direct Known Subclasses:
ActivityRecordMapper
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 -
Method Summary
Modifier and TypeMethodDescriptionprotected LonggetActivityId(ResultSet resultSet, int columnIndex) Reads the value of thecolumnIndex'th column in theresultSetso that it can be used to set the field activityId in Activity.protected LonggetAttachmentId(ResultSet resultSet, int columnIndex) Reads the value of thecolumnIndex'th column in theresultSetso that it can be used to set the field attachmentId in Activity.protected IntegergetAttributeId(ResultSet resultSet, int columnIndex) Reads the value of thecolumnIndex'th column in theresultSetso that it can be used to set the field attributeId in Activity.protected LonggetDependId(ResultSet resultSet, int columnIndex) Reads the value of thecolumnIndex'th column in theresultSetso that it can be used to set the field dependId in Activity.protected StringgetDescription(ResultSet resultSet, int columnIndex) Reads the value of thecolumnIndex'th column in theresultSetso that it can be used to set the field description in Activity.protected DategetEndDate(ResultSet resultSet, int columnIndex) Reads the value of thecolumnIndex'th column in theresultSetso that it can be used to set the field endDate in Activity.protected LongReads the value of thecolumnIndex'th column in theresultSetso that it can be used to set the field itemId in Activity.protected LonggetNewNumericValue(ResultSet resultSet, int columnIndex) Reads the value of thecolumnIndex'th column in theresultSetso that it can be used to set the field newNumericValue in Activity.protected IntegergetNewOptionId(ResultSet resultSet, int columnIndex) Reads the value of thecolumnIndex'th column in theresultSetso that it can be used to set the field newOptionId in Activity.protected LonggetNewUserId(ResultSet resultSet, int columnIndex) Reads the value of thecolumnIndex'th column in theresultSetso that it can be used to set the field newUserId in Activity.protected StringgetNewValue(ResultSet resultSet, int columnIndex) Reads the value of thecolumnIndex'th column in theresultSetso that it can be used to set the field newValue in Activity.protected LonggetOldNumericValue(ResultSet resultSet, int columnIndex) Reads the value of thecolumnIndex'th column in theresultSetso that it can be used to set the field oldNumericValue in Activity.protected IntegergetOldOptionId(ResultSet resultSet, int columnIndex) Reads the value of thecolumnIndex'th column in theresultSetso that it can be used to set the field oldOptionId in Activity.protected LonggetOldUserId(ResultSet resultSet, int columnIndex) Reads the value of thecolumnIndex'th column in theresultSetso that it can be used to set the field oldUserId in Activity.protected StringgetOldValue(ResultSet resultSet, int columnIndex) Reads the value of thecolumnIndex'th column in theresultSetso that it can be used to set the field oldValue in Activity.protected LonggetTransactionId(ResultSet resultSet, int columnIndex) Reads the value of thecolumnIndex'th column in theresultSetso 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.
-
Constructor Details
-
BaseActivityRecordMapper
public BaseActivityRecordMapper()
-
-
Method Details
-
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:
processRowin interfaceRecordMapper<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
Reads the value of thecolumnIndex'th column in theresultSetso 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
Reads the value of thecolumnIndex'th column in theresultSetso 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
Reads the value of thecolumnIndex'th column in theresultSetso 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
Reads the value of thecolumnIndex'th column in theresultSetso 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
Reads the value of thecolumnIndex'th column in theresultSetso 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
Reads the value of thecolumnIndex'th column in theresultSetso 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
Reads the value of thecolumnIndex'th column in theresultSetso 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
Reads the value of thecolumnIndex'th column in theresultSetso 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
Reads the value of thecolumnIndex'th column in theresultSetso 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
Reads the value of thecolumnIndex'th column in theresultSetso 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
Reads the value of thecolumnIndex'th column in theresultSetso 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
Reads the value of thecolumnIndex'th column in theresultSetso 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
Reads the value of thecolumnIndex'th column in theresultSetso 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
Reads the value of thecolumnIndex'th column in theresultSetso 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
Reads the value of thecolumnIndex'th column in theresultSetso 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
Reads the value of thecolumnIndex'th column in theresultSetso 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
-