Package com.easydesk.om
Class BaseOptionOptionPeerImpl
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
OptionOptionPeerImpl
The skeleton for this class was autogenerated by Torque on:
[Sun Oct 18 20:57:18 KST 2026]
You should not use this class directly. It should not even be
extended; all references should be to OptionOptionPeer
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor.BaseOptionOptionPeerImpl(RecordMapper<OptionOption> recordMapper, TableMap tableMap, String databaseName) Constructor providing the objects to be injected as parameters. -
Method Summary
Modifier and TypeMethodDescriptionbuildColumnValues(OptionOption optionOption) Returns the contents of the object as ColumnValues object.Build a Criteria object from the data object for this peer.buildCriteria(Collection<ObjectKey<?>> pks) Build a Criteria object which selects all objects which primary keys are contained in the passed collection.buildCriteria(ObjectKey<?> pk) Build a Criteria object which selects all objects which have a given primary key.buildPkCriteria(Collection<OptionOption> objects) Build a Criteria object which selects all passed objects using their primary key.Build a Criteria object from the data object for this peer, skipping all binary columns.intdoDelete(OptionOption obj) Deletes a data object, i.e. a row in a table, in the database.intdoDelete(OptionOption obj, Connection con) Deletes a data object, i.e. a row in a table, in the database.intdoDelete(Collection<OptionOption> objects) Deletes data objects, i.e. rows in a table, in the database.intdoDelete(Collection<OptionOption> objects, Connection con) Deletes data objects, i.e. rows in a table, in the database.protected List<OptionOption> selects a collection of OptionOption objects pre-filled with all related objects.protected List<OptionOption> doSelectJoinAllExceptAttributeOptionRelatedByOption1Id(Criteria criteria, Connection conn) selects a collection of OptionOption objects pre-filled with related objects.protected List<OptionOption> selects a collection of OptionOption objects pre-filled with all related objects.protected List<OptionOption> doSelectJoinAllExceptAttributeOptionRelatedByOption2Id(Criteria criteria, Connection conn) selects a collection of OptionOption objects pre-filled with related objects.protected List<OptionOption> doSelectJoinAllExceptEasyDeskModule(Criteria criteria) selects a collection of OptionOption objects pre-filled with all related objects.protected List<OptionOption> doSelectJoinAllExceptEasyDeskModule(Criteria criteria, Connection conn) selects a collection of OptionOption objects pre-filled with related objects.protected List<OptionOption> doSelectJoinAllExceptItemType(Criteria criteria) selects a collection of OptionOption objects pre-filled with all related objects.protected List<OptionOption> doSelectJoinAllExceptItemType(Criteria criteria, Connection conn) selects a collection of OptionOption objects pre-filled with related objects.protected List<OptionOption> selects a collection of OptionOption objects pre-filled with all related objects.protected List<OptionOption> doSelectJoinAllExceptOptionRelationship(Criteria criteria, Connection conn) selects a collection of OptionOption objects pre-filled with related objects.Selects a collection of dbObjectClassName objects pre-filled with their AttributeOption objects.doSelectJoinAttributeOptionRelatedByOption1Id(Criteria criteria, Connection conn) Selects a collection of OptionOption objects pre-filled with their AttributeOption objects.Selects a collection of dbObjectClassName objects pre-filled with their AttributeOption objects.doSelectJoinAttributeOptionRelatedByOption2Id(Criteria criteria, Connection conn) Selects a collection of OptionOption objects pre-filled with their AttributeOption objects.doSelectJoinEasyDeskModule(Criteria criteria) Selects a collection of dbObjectClassName objects pre-filled with their EasyDeskModule objects.doSelectJoinEasyDeskModule(Criteria criteria, Connection conn) Selects a collection of OptionOption objects pre-filled with their EasyDeskModule objects.doSelectJoinItemType(Criteria criteria) Selects a collection of dbObjectClassName objects pre-filled with their ItemType objects.doSelectJoinItemType(Criteria criteria, Connection conn) Selects a collection of OptionOption objects pre-filled with their ItemType objects.doSelectJoinOptionRelationship(Criteria criteria) Selects a collection of dbObjectClassName objects pre-filled with their OptionRelationship objects.doSelectJoinOptionRelationship(Criteria criteria, Connection conn) Selects a collection of OptionOption objects pre-filled with their OptionRelationship objects.intdoUpdate(ColumnValues columnValues, Connection con) Method to do updates.Returns a new instance of the Data object classretrieveByObjectKeys(Collection<ObjectKey<?>> pks) Retrieve multiple objects by pk.retrieveByObjectKeys(Collection<ObjectKey<?>> pks, Connection dbcon) Retrieve multiple objects by pk.retrieveByPK(Integer relationshipId, Integer option1Id, Integer option2Id, Integer itemTypeId, Long moduleId) retrieve object using using pk values.retrieveByPK(Integer relationshipId, Integer option1Id, Integer option2Id, Integer itemTypeId, Long moduleId, Connection con) retrieve object using using pk values.retrieveByPK(ObjectKey<?> pk) Retrieve a single object by pkretrieveByPK(ObjectKey<?> pk, Connection con) Retrieve a single object by pkMethods inherited from class org.apache.torque.util.AbstractPeerImpl
doDelete, doDelete, doInsert, doInsert, doInsert, doSelect, doSelectSingleRecord, doUpdate, doUpdateMethods inherited from class org.apache.torque.util.BasePeerImpl
addSelectColumns, correctBooleans, correctBooleans, doDelete, doDelete, doInsert, doInsert, doInsert, doInsert, doInsert, doSelect, doSelect, doSelect, doSelect, doSelect, doSelect, doSelect, doSelect, doSelectAsStream, doSelectAsStream, doSelectAsStream, doSelectAsStream, doSelectSingleRecord, doSelectSingleRecord, doSelectSingleRecord, doSelectSingleRecord, doUpdate, doUpdate, doUpdate, executeStatement, executeStatement, executeStatement, executeStatement, executeStatement, executeStatement, executeStatement, getDatabaseName, getRecordMapper, getTableMap, setDatabaseName, setDbName, setRecordMapper, setTableMap
-
Constructor Details
-
BaseOptionOptionPeerImpl
public BaseOptionOptionPeerImpl()Constructor. The recordMapper, tableMap and databaseName fields are correctly initialized. -
BaseOptionOptionPeerImpl
public BaseOptionOptionPeerImpl(RecordMapper<OptionOption> recordMapper, TableMap tableMap, String databaseName) Constructor providing the objects to be injected as parameters.- Parameters:
recordMapper- a record mapper to map JDBC result sets to objectstableMap- the default table mapdatabaseName- the name of the database
-
-
Method Details
-
getDbObjectInstance
Returns a new instance of the Data object class -
doUpdate
Method to do updates. This method is to be used during a transaction, otherwise use the doUpdate(Criteria) method.- Overrides:
doUpdatein classBasePeerImpl<OptionOption>- 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:
TorqueException- Any exceptions caught during processing will be rethrown wrapped into a TorqueException.
-
doDelete
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:
TorqueException- Any exceptions caught during processing will be rethrown wrapped into a TorqueException.
-
doDelete
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(OptionOption) 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:
TorqueException- Any exceptions caught during processing will be rethrown wrapped into a TorqueException.
-
doDelete
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:
TorqueException- Any exceptions caught during processing will be rethrown wrapped into a TorqueException.
-
doDelete
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:
TorqueException- Any exceptions caught during processing will be rethrown wrapped into a TorqueException.
-
buildCriteria
Build a Criteria object which selects all objects which have a given primary key.- Overrides:
buildCriteriain classAbstractPeerImpl<OptionOption>- Parameters:
pk- the primary key value to build the criteria from, not null.
-
buildCriteria
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
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
Build a Criteria object from the data object for this peer.- Specified by:
buildCriteriain classAbstractPeerImpl<OptionOption>- Parameters:
obj- the object to build the criteria from, not null.
-
buildSelectCriteria
Build a Criteria object from the data object for this peer, skipping all binary columns.- Specified by:
buildSelectCriteriain classAbstractPeerImpl<OptionOption>- Parameters:
obj- the object to build the criteria from, not null.
-
buildColumnValues
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.- Specified by:
buildColumnValuesin classAbstractPeerImpl<OptionOption>- Throws:
TorqueException- if the table map cannot be retrieved (should not happen).
-
retrieveByPK
public OptionOption retrieveByPK(Integer relationshipId, Integer option1Id, Integer option2Id, Integer itemTypeId, Long moduleId) throws TorqueException retrieve object using using pk values.- Parameters:
relationshipId- Integeroption1Id- Integeroption2Id- IntegeritemTypeId- IntegermoduleId- Long- Throws:
TorqueException
-
retrieveByPK
public OptionOption retrieveByPK(Integer relationshipId, Integer option1Id, Integer option2Id, Integer itemTypeId, Long moduleId, Connection con) throws TorqueException retrieve object using using pk values.- Parameters:
relationshipId- Integeroption1Id- Integeroption2Id- IntegeritemTypeId- IntegermoduleId- Longcon- Connection- Throws:
TorqueException
-
retrieveByPK
public OptionOption retrieveByPK(ObjectKey<?> pk) throws TorqueException, NoRowsException, TooManyRowsException Retrieve a single object by pk- Parameters:
pk- the primary key- Throws:
TorqueException- Any exceptions caught during processing will be rethrown wrapped into a TorqueException.NoRowsException- Primary key was not found in database.TooManyRowsException- Primary key was not found in database.
-
retrieveByPK
public OptionOption retrieveByPK(ObjectKey<?> pk, Connection con) throws TorqueException, NoRowsException, TooManyRowsException Retrieve a single object by pk- Parameters:
pk- the primary keycon- the connection to use- Throws:
TorqueException- Any exceptions caught during processing will be rethrown wrapped into a TorqueException.NoRowsException- Primary key was not found in database.TooManyRowsException- Primary key was not found in database.
-
retrieveByObjectKeys
Retrieve multiple objects by pk.- Parameters:
pks- List of primary keys. Entries in pks which do not match entries in the database are ignored.- Returns:
- the list of matching objects, not null.
- Throws:
TorqueException- Any exceptions caught during processing will be rethrown wrapped into a TorqueException.
-
retrieveByObjectKeys
public List<OptionOption> retrieveByObjectKeys(Collection<ObjectKey<?>> pks, Connection dbcon) throws TorqueException Retrieve multiple objects by pk.- Parameters:
pks- List of primary keys. Entries in pks which do not match entries in the database are ignored.dbcon- the connection to use- Returns:
- the list of matching objects, not null.
- Throws:
TorqueException- Any exceptions caught during processing will be rethrown wrapped into a TorqueException.
-
doSelectJoinOptionRelationship
Selects a collection of dbObjectClassName objects pre-filled with their OptionRelationship objects.- Throws:
TorqueException- Any exceptions caught during processing will be rethrown wrapped into a TorqueException.
-
doSelectJoinOptionRelationship
public List<OptionOption> doSelectJoinOptionRelationship(Criteria criteria, Connection conn) throws TorqueException Selects a collection of OptionOption objects pre-filled with their OptionRelationship objects.- Throws:
TorqueException- Any exceptions caught during processing will be rethrown wrapped into a TorqueException.
-
doSelectJoinAttributeOptionRelatedByOption1Id
public List<OptionOption> doSelectJoinAttributeOptionRelatedByOption1Id(Criteria criteria) throws TorqueException Selects a collection of dbObjectClassName objects pre-filled with their AttributeOption objects.- Throws:
TorqueException- Any exceptions caught during processing will be rethrown wrapped into a TorqueException.
-
doSelectJoinAttributeOptionRelatedByOption1Id
public List<OptionOption> doSelectJoinAttributeOptionRelatedByOption1Id(Criteria criteria, Connection conn) throws TorqueException Selects a collection of OptionOption objects pre-filled with their AttributeOption objects.- Throws:
TorqueException- Any exceptions caught during processing will be rethrown wrapped into a TorqueException.
-
doSelectJoinAttributeOptionRelatedByOption2Id
public List<OptionOption> doSelectJoinAttributeOptionRelatedByOption2Id(Criteria criteria) throws TorqueException Selects a collection of dbObjectClassName objects pre-filled with their AttributeOption objects.- Throws:
TorqueException- Any exceptions caught during processing will be rethrown wrapped into a TorqueException.
-
doSelectJoinAttributeOptionRelatedByOption2Id
public List<OptionOption> doSelectJoinAttributeOptionRelatedByOption2Id(Criteria criteria, Connection conn) throws TorqueException Selects a collection of OptionOption objects pre-filled with their AttributeOption objects.- Throws:
TorqueException- Any exceptions caught during processing will be rethrown wrapped into a TorqueException.
-
doSelectJoinItemType
Selects a collection of dbObjectClassName objects pre-filled with their ItemType objects.- Throws:
TorqueException- Any exceptions caught during processing will be rethrown wrapped into a TorqueException.
-
doSelectJoinItemType
public List<OptionOption> doSelectJoinItemType(Criteria criteria, Connection conn) throws TorqueException Selects a collection of OptionOption objects pre-filled with their ItemType objects.- Throws:
TorqueException- Any exceptions caught during processing will be rethrown wrapped into a TorqueException.
-
doSelectJoinEasyDeskModule
Selects a collection of dbObjectClassName objects pre-filled with their EasyDeskModule objects.- Throws:
TorqueException- Any exceptions caught during processing will be rethrown wrapped into a TorqueException.
-
doSelectJoinEasyDeskModule
public List<OptionOption> doSelectJoinEasyDeskModule(Criteria criteria, Connection conn) throws TorqueException Selects a collection of OptionOption objects pre-filled with their EasyDeskModule objects.- Throws:
TorqueException- Any exceptions caught during processing will be rethrown wrapped into a TorqueException.
-
doSelectJoinAllExceptOptionRelationship
protected List<OptionOption> doSelectJoinAllExceptOptionRelationship(Criteria criteria) throws TorqueException selects a collection of OptionOption objects pre-filled with all related objects. This method is protected by default in order to keep the public api reasonable. You can provide public methods for those you actually need in OptionOptionPeerImpl.- Throws:
TorqueException- Any exceptions caught during processing will be rethrown wrapped into a TorqueException.
-
doSelectJoinAllExceptOptionRelationship
protected List<OptionOption> doSelectJoinAllExceptOptionRelationship(Criteria criteria, Connection conn) throws TorqueException selects a collection of OptionOption objects pre-filled with related objects. This method is protected by default in order to keep the public api reasonable. You can provide public methods for those you actually need in OptionOptionPeerImpl.- Throws:
TorqueException- Any exceptions caught during processing will be rethrown wrapped into a TorqueException.
-
doSelectJoinAllExceptAttributeOptionRelatedByOption1Id
protected List<OptionOption> doSelectJoinAllExceptAttributeOptionRelatedByOption1Id(Criteria criteria) throws TorqueException selects a collection of OptionOption objects pre-filled with all related objects. This method is protected by default in order to keep the public api reasonable. You can provide public methods for those you actually need in OptionOptionPeerImpl.- Throws:
TorqueException- Any exceptions caught during processing will be rethrown wrapped into a TorqueException.
-
doSelectJoinAllExceptAttributeOptionRelatedByOption1Id
protected List<OptionOption> doSelectJoinAllExceptAttributeOptionRelatedByOption1Id(Criteria criteria, Connection conn) throws TorqueException selects a collection of OptionOption objects pre-filled with related objects. This method is protected by default in order to keep the public api reasonable. You can provide public methods for those you actually need in OptionOptionPeerImpl.- Throws:
TorqueException- Any exceptions caught during processing will be rethrown wrapped into a TorqueException.
-
doSelectJoinAllExceptAttributeOptionRelatedByOption2Id
protected List<OptionOption> doSelectJoinAllExceptAttributeOptionRelatedByOption2Id(Criteria criteria) throws TorqueException selects a collection of OptionOption objects pre-filled with all related objects. This method is protected by default in order to keep the public api reasonable. You can provide public methods for those you actually need in OptionOptionPeerImpl.- Throws:
TorqueException- Any exceptions caught during processing will be rethrown wrapped into a TorqueException.
-
doSelectJoinAllExceptAttributeOptionRelatedByOption2Id
protected List<OptionOption> doSelectJoinAllExceptAttributeOptionRelatedByOption2Id(Criteria criteria, Connection conn) throws TorqueException selects a collection of OptionOption objects pre-filled with related objects. This method is protected by default in order to keep the public api reasonable. You can provide public methods for those you actually need in OptionOptionPeerImpl.- Throws:
TorqueException- Any exceptions caught during processing will be rethrown wrapped into a TorqueException.
-
doSelectJoinAllExceptItemType
protected List<OptionOption> doSelectJoinAllExceptItemType(Criteria criteria) throws TorqueException selects a collection of OptionOption objects pre-filled with all related objects. This method is protected by default in order to keep the public api reasonable. You can provide public methods for those you actually need in OptionOptionPeerImpl.- Throws:
TorqueException- Any exceptions caught during processing will be rethrown wrapped into a TorqueException.
-
doSelectJoinAllExceptItemType
protected List<OptionOption> doSelectJoinAllExceptItemType(Criteria criteria, Connection conn) throws TorqueException selects a collection of OptionOption objects pre-filled with related objects. This method is protected by default in order to keep the public api reasonable. You can provide public methods for those you actually need in OptionOptionPeerImpl.- Throws:
TorqueException- Any exceptions caught during processing will be rethrown wrapped into a TorqueException.
-
doSelectJoinAllExceptEasyDeskModule
protected List<OptionOption> doSelectJoinAllExceptEasyDeskModule(Criteria criteria) throws TorqueException selects a collection of OptionOption objects pre-filled with all related objects. This method is protected by default in order to keep the public api reasonable. You can provide public methods for those you actually need in OptionOptionPeerImpl.- Throws:
TorqueException- Any exceptions caught during processing will be rethrown wrapped into a TorqueException.
-
doSelectJoinAllExceptEasyDeskModule
protected List<OptionOption> doSelectJoinAllExceptEasyDeskModule(Criteria criteria, Connection conn) throws TorqueException selects a collection of OptionOption objects pre-filled with related objects. This method is protected by default in order to keep the public api reasonable. You can provide public methods for those you actually need in OptionOptionPeerImpl.- Throws:
TorqueException- Any exceptions caught during processing will be rethrown wrapped into a TorqueException.
-