Package com.easydesk.om
Class BaseEasyDeskModulePeerImpl
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
EasyDeskModulePeerImpl
Group Detail Representation Table Artifactizable(Group)
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 EasyDeskModulePeer
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor.BaseEasyDeskModulePeerImpl(RecordMapper<EasyDeskModule> recordMapper, TableMap tableMap, String databaseName) Constructor providing the objects to be injected as parameters. -
Method Summary
Modifier and TypeMethodDescriptionbuildColumnValues(EasyDeskModule easyDeskModule) 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<EasyDeskModule> 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(EasyDeskModule obj) Deletes a data object, i.e. a row in a table, in the database.intdoDelete(EasyDeskModule obj, Connection con) Deletes a data object, i.e. a row in a table, in the database.intdoDelete(Collection<EasyDeskModule> objects) Deletes data objects, i.e. rows in a table, in the database.intdoDelete(Collection<EasyDeskModule> objects, Connection con) Deletes data objects, i.e. rows in a table, in the database.protected List<EasyDeskModule> selects a collection of EasyDeskModule objects pre-filled with all related objects.protected List<EasyDeskModule> doSelectJoinAllExceptEasyDeskGroupImpl(Criteria criteria, Connection conn) selects a collection of EasyDeskModule objects pre-filled with related objects.protected List<EasyDeskModule> selects a collection of EasyDeskModule objects pre-filled with all related objects.protected List<EasyDeskModule> doSelectJoinAllExceptEasyDeskModuleRelatedByParentId(Criteria criteria, Connection conn) selects a collection of EasyDeskModule objects pre-filled with related objects.protected List<EasyDeskModule> selects a collection of EasyDeskModule objects pre-filled with all related objects.protected List<EasyDeskModule> doSelectJoinAllExceptEasyDeskModuleRelatedByTemplateId(Criteria criteria, Connection conn) selects a collection of EasyDeskModule objects pre-filled with related objects.doSelectJoinEasyDeskGroupImpl(Criteria criteria) Selects a collection of dbObjectClassName objects pre-filled with their EasyDeskGroupImpl objects.doSelectJoinEasyDeskGroupImpl(Criteria criteria, Connection conn) Selects a collection of EasyDeskModule objects pre-filled with their EasyDeskGroupImpl objects.Selects a collection of dbObjectClassName objects pre-filled with their EasyDeskModule objects.doSelectJoinEasyDeskModuleRelatedByParentId(Criteria criteria, Connection conn) Selects a collection of EasyDeskModule objects pre-filled with their EasyDeskModule objects.Selects a collection of dbObjectClassName objects pre-filled with their EasyDeskModule objects.doSelectJoinEasyDeskModuleRelatedByTemplateId(Criteria criteria, Connection conn) Selects a collection of EasyDeskModule objects pre-filled with their EasyDeskModule 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(Long pk) Retrieve a single object by pkretrieveByPK(Long pk, Connection con) Retrieve a single object by pkretrieveByPK(ObjectKey<?> pk) Retrieve a single object by pkretrieveByPK(ObjectKey<?> pk, Connection con) Retrieve a single object by pkretrieveByTypedPKs(Collection<Long> pks) Retrieve multiple objects by pk.retrieveByTypedPKs(Collection<Long> pks, Connection dbcon) Retrieve multiple objects by pk.voidsetAndSaveAnonymousNotificationFilters(EasyDeskModule toLinkTo, Collection<AnonymousNotificationFilter> toSave) Saves the passed collection as linked objects.voidsetAndSaveAnonymousNotificationFilters(EasyDeskModule toLinkTo, Collection<AnonymousNotificationFilter> toSave, Connection connection) Saves the passed collection as linked objects.voidsetAndSaveAttributeGroups(EasyDeskModule toLinkTo, Collection<AttributeGroup> toSave) Saves the passed collection as linked objects.voidsetAndSaveAttributeGroups(EasyDeskModule toLinkTo, Collection<AttributeGroup> toSave, Connection connection) Saves the passed collection as linked objects.voidsetAndSaveEasyDeskModuleRelatedByParentIds(EasyDeskModule toLinkTo, Collection<EasyDeskModule> toSave) Saves the passed collection as linked objects.voidsetAndSaveEasyDeskModuleRelatedByParentIds(EasyDeskModule toLinkTo, Collection<EasyDeskModule> toSave, Connection connection) Saves the passed collection as linked objects.voidsetAndSaveEasyDeskModuleRelatedByTemplateIds(EasyDeskModule toLinkTo, Collection<EasyDeskModule> toSave) Saves the passed collection as linked objects.voidsetAndSaveEasyDeskModuleRelatedByTemplateIds(EasyDeskModule toLinkTo, Collection<EasyDeskModule> toSave, Connection connection) Saves the passed collection as linked objects.voidsetAndSaveEasyDeskValidators(EasyDeskModule toLinkTo, Collection<EasyDeskValidator> toSave) Saves the passed collection as linked objects.voidsetAndSaveEasyDeskValidators(EasyDeskModule toLinkTo, Collection<EasyDeskValidator> toSave, Connection connection) Saves the passed collection as linked objects.voidsetAndSaveEasyErrors(EasyDeskModule toLinkTo, Collection<EasyError> toSave) Saves the passed collection as linked objects.voidsetAndSaveEasyErrors(EasyDeskModule toLinkTo, Collection<EasyError> toSave, Connection connection) Saves the passed collection as linked objects.voidsetAndSaveGlobalParameters(EasyDeskModule toLinkTo, Collection<GlobalParameter> toSave) Saves the passed collection as linked objects.voidsetAndSaveGlobalParameters(EasyDeskModule toLinkTo, Collection<GlobalParameter> toSave, Connection connection) Saves the passed collection as linked objects.voidsetAndSaveItems(EasyDeskModule toLinkTo, Collection<Item> toSave) Saves the passed collection as linked objects.voidsetAndSaveItems(EasyDeskModule toLinkTo, Collection<Item> toSave, Connection connection) Saves the passed collection as linked objects.voidsetAndSaveLocalizedErrorInfos(EasyDeskModule toLinkTo, Collection<LocalizedErrorInfo> toSave) Saves the passed collection as linked objects.voidsetAndSaveLocalizedErrorInfos(EasyDeskModule toLinkTo, Collection<LocalizedErrorInfo> toSave, Connection connection) Saves the passed collection as linked objects.voidsetAndSaveLocalizedListInfos(EasyDeskModule toLinkTo, Collection<LocalizedListInfo> toSave) Saves the passed collection as linked objects.voidsetAndSaveLocalizedListInfos(EasyDeskModule toLinkTo, Collection<LocalizedListInfo> toSave, Connection connection) Saves the passed collection as linked objects.voidsetAndSaveLocalizedOptionInfos(EasyDeskModule toLinkTo, Collection<LocalizedOptionInfo> toSave) Saves the passed collection as linked objects.voidsetAndSaveLocalizedOptionInfos(EasyDeskModule toLinkTo, Collection<LocalizedOptionInfo> toSave, Connection connection) Saves the passed collection as linked objects.voidsetAndSaveMITListItemRelatedByModuleIds(EasyDeskModule toLinkTo, Collection<MITListItem> toSave) Saves the passed collection as linked objects.voidsetAndSaveMITListItemRelatedByModuleIds(EasyDeskModule toLinkTo, Collection<MITListItem> toSave, Connection connection) Saves the passed collection as linked objects.voidsetAndSaveMITListItemRelatedByParentIds(EasyDeskModule toLinkTo, Collection<MITListItem> toSave) Saves the passed collection as linked objects.voidsetAndSaveMITListItemRelatedByParentIds(EasyDeskModule toLinkTo, Collection<MITListItem> toSave, Connection connection) Saves the passed collection as linked objects.voidsetAndSaveModuleAttributes(EasyDeskModule toLinkTo, Collection<ModuleAttribute> toSave) Saves the passed collection as linked objects.voidsetAndSaveModuleAttributes(EasyDeskModule toLinkTo, Collection<ModuleAttribute> toSave, Connection connection) Saves the passed collection as linked objects.voidsetAndSaveModuleItemTypes(EasyDeskModule toLinkTo, Collection<ModuleItemType> toSave) Saves the passed collection as linked objects.voidsetAndSaveModuleItemTypes(EasyDeskModule toLinkTo, Collection<ModuleItemType> toSave, Connection connection) Saves the passed collection as linked objects.voidsetAndSaveModuleOptions(EasyDeskModule toLinkTo, Collection<ModuleOption> toSave) Saves the passed collection as linked objects.voidsetAndSaveModuleOptions(EasyDeskModule toLinkTo, Collection<ModuleOption> toSave, Connection connection) Saves the passed collection as linked objects.voidsetAndSaveModuleUserAttributes(EasyDeskModule toLinkTo, Collection<ModuleUserAttribute> toSave) Saves the passed collection as linked objects.voidsetAndSaveModuleUserAttributes(EasyDeskModule toLinkTo, Collection<ModuleUserAttribute> toSave, Connection connection) Saves the passed collection as linked objects.voidsetAndSaveNotificationFilters(EasyDeskModule toLinkTo, Collection<NotificationFilter> toSave) Saves the passed collection as linked objects.voidsetAndSaveNotificationFilters(EasyDeskModule toLinkTo, Collection<NotificationFilter> toSave, Connection connection) Saves the passed collection as linked objects.voidsetAndSaveOptionOptions(EasyDeskModule toLinkTo, Collection<OptionOption> toSave) Saves the passed collection as linked objects.voidsetAndSaveOptionOptions(EasyDeskModule toLinkTo, Collection<OptionOption> toSave, Connection connection) Saves the passed collection as linked objects.voidsetAndSaveQuerys(EasyDeskModule toLinkTo, Collection<Query> toSave) Saves the passed collection as linked objects.voidsetAndSaveQuerys(EasyDeskModule toLinkTo, Collection<Query> toSave, Connection connection) Saves the passed collection as linked objects.voidsetAndSaveQueryValues(EasyDeskModule toLinkTo, Collection<QueryValue> toSave) Saves the passed collection as linked objects.voidsetAndSaveQueryValues(EasyDeskModule toLinkTo, Collection<QueryValue> toSave, Connection connection) Saves the passed collection as linked objects.voidsetAndSaveReports(EasyDeskModule toLinkTo, Collection<Report> toSave) Saves the passed collection as linked objects.voidsetAndSaveReports(EasyDeskModule toLinkTo, Collection<Report> toSave, Connection connection) Saves the passed collection as linked objects.voidsetAndSaveTemplateGroups(EasyDeskModule toLinkTo, Collection<TemplateGroup> toSave) Saves the passed collection as linked objects.voidsetAndSaveTemplateGroups(EasyDeskModule toLinkTo, Collection<TemplateGroup> toSave, Connection connection) Saves the passed collection as linked objects.voidsetAndSaveTransitionConditions(EasyDeskModule toLinkTo, Collection<TransitionCondition> toSave) Saves the passed collection as linked objects.voidsetAndSaveTransitionConditions(EasyDeskModule toLinkTo, Collection<TransitionCondition> toSave, Connection connection) Saves the passed collection as linked objects.voidsetAndSaveUserAttributeOptions(EasyDeskModule toLinkTo, Collection<UserAttributeOption> toSave) Saves the passed collection as linked objects.voidsetAndSaveUserAttributeOptions(EasyDeskModule toLinkTo, Collection<UserAttributeOption> toSave, Connection connection) Saves the passed collection as linked objects.voidsetAndSaveValueFormatters(EasyDeskModule toLinkTo, Collection<ValueFormatter> toSave) Saves the passed collection as linked objects.voidsetAndSaveValueFormatters(EasyDeskModule toLinkTo, Collection<ValueFormatter> toSave, Connection connection) Saves the passed collection as linked objects.voidsetAndSaveWorkflowGroups(EasyDeskModule toLinkTo, Collection<WorkflowGroup> toSave) Saves the passed collection as linked objects.voidsetAndSaveWorkflowGroups(EasyDeskModule toLinkTo, Collection<WorkflowGroup> toSave, Connection connection) Saves the passed collection as linked objects.voidsetAndSaveWorkflows(EasyDeskModule toLinkTo, Collection<Workflow> toSave) Saves the passed collection as linked objects.voidsetAndSaveWorkflows(EasyDeskModule toLinkTo, Collection<Workflow> toSave, Connection connection) Saves the passed collection as linked objects.Methods 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
-
BaseEasyDeskModulePeerImpl
public BaseEasyDeskModulePeerImpl()Constructor. The recordMapper, tableMap and databaseName fields are correctly initialized. -
BaseEasyDeskModulePeerImpl
public BaseEasyDeskModulePeerImpl(RecordMapper<EasyDeskModule> 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<EasyDeskModule>- 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(EasyDeskModule) 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<EasyDeskModule>- 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<EasyDeskModule>- 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<EasyDeskModule>- 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<EasyDeskModule>- Throws:
TorqueException- if the table map cannot be retrieved (should not happen).
-
retrieveByPK
public EasyDeskModule retrieveByPK(Long 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 EasyDeskModule retrieveByPK(Long 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.
-
retrieveByPK
public EasyDeskModule 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 EasyDeskModule 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.
-
retrieveByTypedPKs
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.
-
retrieveByTypedPKs
public List<EasyDeskModule> retrieveByTypedPKs(Collection<Long> 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.
-
retrieveByObjectKeys
public List<EasyDeskModule> retrieveByObjectKeys(Collection<ObjectKey<?>> pks) 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.- 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<EasyDeskModule> 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.
-
doSelectJoinEasyDeskModuleRelatedByParentId
public List<EasyDeskModule> doSelectJoinEasyDeskModuleRelatedByParentId(Criteria criteria) throws TorqueException 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.
-
doSelectJoinEasyDeskModuleRelatedByParentId
public List<EasyDeskModule> doSelectJoinEasyDeskModuleRelatedByParentId(Criteria criteria, Connection conn) throws TorqueException Selects a collection of EasyDeskModule objects pre-filled with their EasyDeskModule objects.- Throws:
TorqueException- Any exceptions caught during processing will be rethrown wrapped into a TorqueException.
-
doSelectJoinEasyDeskModuleRelatedByTemplateId
public List<EasyDeskModule> doSelectJoinEasyDeskModuleRelatedByTemplateId(Criteria criteria) throws TorqueException 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.
-
doSelectJoinEasyDeskModuleRelatedByTemplateId
public List<EasyDeskModule> doSelectJoinEasyDeskModuleRelatedByTemplateId(Criteria criteria, Connection conn) throws TorqueException Selects a collection of EasyDeskModule objects pre-filled with their EasyDeskModule objects.- Throws:
TorqueException- Any exceptions caught during processing will be rethrown wrapped into a TorqueException.
-
doSelectJoinEasyDeskGroupImpl
Selects a collection of dbObjectClassName objects pre-filled with their EasyDeskGroupImpl objects.- Throws:
TorqueException- Any exceptions caught during processing will be rethrown wrapped into a TorqueException.
-
doSelectJoinEasyDeskGroupImpl
public List<EasyDeskModule> doSelectJoinEasyDeskGroupImpl(Criteria criteria, Connection conn) throws TorqueException Selects a collection of EasyDeskModule objects pre-filled with their EasyDeskGroupImpl objects.- Throws:
TorqueException- Any exceptions caught during processing will be rethrown wrapped into a TorqueException.
-
doSelectJoinAllExceptEasyDeskModuleRelatedByParentId
protected List<EasyDeskModule> doSelectJoinAllExceptEasyDeskModuleRelatedByParentId(Criteria criteria) throws TorqueException selects a collection of EasyDeskModule 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 EasyDeskModulePeerImpl.- Throws:
TorqueException- Any exceptions caught during processing will be rethrown wrapped into a TorqueException.
-
doSelectJoinAllExceptEasyDeskModuleRelatedByParentId
protected List<EasyDeskModule> doSelectJoinAllExceptEasyDeskModuleRelatedByParentId(Criteria criteria, Connection conn) throws TorqueException selects a collection of EasyDeskModule 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 EasyDeskModulePeerImpl.- Throws:
TorqueException- Any exceptions caught during processing will be rethrown wrapped into a TorqueException.
-
doSelectJoinAllExceptEasyDeskModuleRelatedByTemplateId
protected List<EasyDeskModule> doSelectJoinAllExceptEasyDeskModuleRelatedByTemplateId(Criteria criteria) throws TorqueException selects a collection of EasyDeskModule 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 EasyDeskModulePeerImpl.- Throws:
TorqueException- Any exceptions caught during processing will be rethrown wrapped into a TorqueException.
-
doSelectJoinAllExceptEasyDeskModuleRelatedByTemplateId
protected List<EasyDeskModule> doSelectJoinAllExceptEasyDeskModuleRelatedByTemplateId(Criteria criteria, Connection conn) throws TorqueException selects a collection of EasyDeskModule 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 EasyDeskModulePeerImpl.- Throws:
TorqueException- Any exceptions caught during processing will be rethrown wrapped into a TorqueException.
-
doSelectJoinAllExceptEasyDeskGroupImpl
protected List<EasyDeskModule> doSelectJoinAllExceptEasyDeskGroupImpl(Criteria criteria) throws TorqueException selects a collection of EasyDeskModule 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 EasyDeskModulePeerImpl.- Throws:
TorqueException- Any exceptions caught during processing will be rethrown wrapped into a TorqueException.
-
doSelectJoinAllExceptEasyDeskGroupImpl
protected List<EasyDeskModule> doSelectJoinAllExceptEasyDeskGroupImpl(Criteria criteria, Connection conn) throws TorqueException selects a collection of EasyDeskModule 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 EasyDeskModulePeerImpl.- Throws:
TorqueException- Any exceptions caught during processing will be rethrown wrapped into a TorqueException.
-
setAndSaveAttributeGroups
public void setAndSaveAttributeGroups(EasyDeskModule toLinkTo, Collection<AttributeGroup> toSave) throws Exception Saves the passed collection as linked objects. This means the following is done:- The current collection of objects which are linked to toLinkTo and which are also in the list toSave is read from the database into the list intersection.
- All objects in toSave which are not in intersection are inserted.
- All objects in intersection are updated with the corresponding values in toSave and saved.
- All objects in the database which are linked to toLinkTo but are not in toSave are deleted from the database.
- Parameters:
toLinkTo- the object which collections should be set with the values in toSave.toSave- Contains the objects to save, not null, may not contain null.- Throws:
TorqueException- if an error accessing the database occurs.NullPointerException- if toSave is null or contains null elements.Exception
-
setAndSaveAttributeGroups
public void setAndSaveAttributeGroups(EasyDeskModule toLinkTo, Collection<AttributeGroup> toSave, Connection connection) throws Exception Saves the passed collection as linked objects. This means the following is done:- The current collection of objects which are linked to toLinkTo and which are also in the list toSave is read from the database into the list intersection.
- All objects in toSave which are not in intersection are inserted.
- All objects in intersection are updated with the corresponding values in toSave and saved.
- All objects in the database which are linked to toLinkTo but are not in toSave are deleted from the database.
- Parameters:
toLinkTo- the object which collections should be set with the values in toSave.toSave- Contains the objects to save, not null, may not contain null.connection- the database connection to use.- Throws:
TorqueException- if an error accessing the database occurs.NullPointerException- if toSave is null or contains null elements.Exception
-
setAndSaveItems
Saves the passed collection as linked objects. This means the following is done:- The current collection of objects which are linked to toLinkTo and which are also in the list toSave is read from the database into the list intersection.
- All objects in toSave which are not in intersection are inserted.
- All objects in intersection are updated with the corresponding values in toSave and saved.
- All objects in the database which are linked to toLinkTo but are not in toSave are deleted from the database.
- Parameters:
toLinkTo- the object which collections should be set with the values in toSave.toSave- Contains the objects to save, not null, may not contain null.- Throws:
TorqueException- if an error accessing the database occurs.NullPointerException- if toSave is null or contains null elements.Exception
-
setAndSaveItems
public void setAndSaveItems(EasyDeskModule toLinkTo, Collection<Item> toSave, Connection connection) throws Exception Saves the passed collection as linked objects. This means the following is done:- The current collection of objects which are linked to toLinkTo and which are also in the list toSave is read from the database into the list intersection.
- All objects in toSave which are not in intersection are inserted.
- All objects in intersection are updated with the corresponding values in toSave and saved.
- All objects in the database which are linked to toLinkTo but are not in toSave are deleted from the database.
- Parameters:
toLinkTo- the object which collections should be set with the values in toSave.toSave- Contains the objects to save, not null, may not contain null.connection- the database connection to use.- Throws:
TorqueException- if an error accessing the database occurs.NullPointerException- if toSave is null or contains null elements.Exception
-
setAndSaveModuleItemTypes
public void setAndSaveModuleItemTypes(EasyDeskModule toLinkTo, Collection<ModuleItemType> toSave) throws Exception Saves the passed collection as linked objects. This means the following is done:- The current collection of objects which are linked to toLinkTo and which are also in the list toSave is read from the database into the list intersection.
- All objects in toSave which are not in intersection are inserted.
- All objects in intersection are updated with the corresponding values in toSave and saved.
- All objects in the database which are linked to toLinkTo but are not in toSave are deleted from the database.
- Parameters:
toLinkTo- the object which collections should be set with the values in toSave.toSave- Contains the objects to save, not null, may not contain null.- Throws:
TorqueException- if an error accessing the database occurs.NullPointerException- if toSave is null or contains null elements.Exception
-
setAndSaveModuleItemTypes
public void setAndSaveModuleItemTypes(EasyDeskModule toLinkTo, Collection<ModuleItemType> toSave, Connection connection) throws Exception Saves the passed collection as linked objects. This means the following is done:- The current collection of objects which are linked to toLinkTo and which are also in the list toSave is read from the database into the list intersection.
- All objects in toSave which are not in intersection are inserted.
- All objects in intersection are updated with the corresponding values in toSave and saved.
- All objects in the database which are linked to toLinkTo but are not in toSave are deleted from the database.
- Parameters:
toLinkTo- the object which collections should be set with the values in toSave.toSave- Contains the objects to save, not null, may not contain null.connection- the database connection to use.- Throws:
TorqueException- if an error accessing the database occurs.NullPointerException- if toSave is null or contains null elements.Exception
-
setAndSaveMITListItemRelatedByModuleIds
public void setAndSaveMITListItemRelatedByModuleIds(EasyDeskModule toLinkTo, Collection<MITListItem> toSave) throws Exception Saves the passed collection as linked objects. This means the following is done:- The current collection of objects which are linked to toLinkTo and which are also in the list toSave is read from the database into the list intersection.
- All objects in toSave which are not in intersection are inserted.
- All objects in intersection are updated with the corresponding values in toSave and saved.
- All objects in the database which are linked to toLinkTo but are not in toSave are deleted from the database.
- Parameters:
toLinkTo- the object which collections should be set with the values in toSave.toSave- Contains the objects to save, not null, may not contain null.- Throws:
TorqueException- if an error accessing the database occurs.NullPointerException- if toSave is null or contains null elements.Exception
-
setAndSaveMITListItemRelatedByModuleIds
public void setAndSaveMITListItemRelatedByModuleIds(EasyDeskModule toLinkTo, Collection<MITListItem> toSave, Connection connection) throws Exception Saves the passed collection as linked objects. This means the following is done:- The current collection of objects which are linked to toLinkTo and which are also in the list toSave is read from the database into the list intersection.
- All objects in toSave which are not in intersection are inserted.
- All objects in intersection are updated with the corresponding values in toSave and saved.
- All objects in the database which are linked to toLinkTo but are not in toSave are deleted from the database.
- Parameters:
toLinkTo- the object which collections should be set with the values in toSave.toSave- Contains the objects to save, not null, may not contain null.connection- the database connection to use.- Throws:
TorqueException- if an error accessing the database occurs.NullPointerException- if toSave is null or contains null elements.Exception
-
setAndSaveMITListItemRelatedByParentIds
public void setAndSaveMITListItemRelatedByParentIds(EasyDeskModule toLinkTo, Collection<MITListItem> toSave) throws Exception Saves the passed collection as linked objects. This means the following is done:- The current collection of objects which are linked to toLinkTo and which are also in the list toSave is read from the database into the list intersection.
- All objects in toSave which are not in intersection are inserted.
- All objects in intersection are updated with the corresponding values in toSave and saved.
- All objects in the database which are linked to toLinkTo but are not in toSave are deleted from the database.
- Parameters:
toLinkTo- the object which collections should be set with the values in toSave.toSave- Contains the objects to save, not null, may not contain null.- Throws:
TorqueException- if an error accessing the database occurs.NullPointerException- if toSave is null or contains null elements.Exception
-
setAndSaveMITListItemRelatedByParentIds
public void setAndSaveMITListItemRelatedByParentIds(EasyDeskModule toLinkTo, Collection<MITListItem> toSave, Connection connection) throws Exception Saves the passed collection as linked objects. This means the following is done:- The current collection of objects which are linked to toLinkTo and which are also in the list toSave is read from the database into the list intersection.
- All objects in toSave which are not in intersection are inserted.
- All objects in intersection are updated with the corresponding values in toSave and saved.
- All objects in the database which are linked to toLinkTo but are not in toSave are deleted from the database.
- Parameters:
toLinkTo- the object which collections should be set with the values in toSave.toSave- Contains the objects to save, not null, may not contain null.connection- the database connection to use.- Throws:
TorqueException- if an error accessing the database occurs.NullPointerException- if toSave is null or contains null elements.Exception
-
setAndSaveModuleAttributes
public void setAndSaveModuleAttributes(EasyDeskModule toLinkTo, Collection<ModuleAttribute> toSave) throws Exception Saves the passed collection as linked objects. This means the following is done:- The current collection of objects which are linked to toLinkTo and which are also in the list toSave is read from the database into the list intersection.
- All objects in toSave which are not in intersection are inserted.
- All objects in intersection are updated with the corresponding values in toSave and saved.
- All objects in the database which are linked to toLinkTo but are not in toSave are deleted from the database.
- Parameters:
toLinkTo- the object which collections should be set with the values in toSave.toSave- Contains the objects to save, not null, may not contain null.- Throws:
TorqueException- if an error accessing the database occurs.NullPointerException- if toSave is null or contains null elements.Exception
-
setAndSaveModuleAttributes
public void setAndSaveModuleAttributes(EasyDeskModule toLinkTo, Collection<ModuleAttribute> toSave, Connection connection) throws Exception Saves the passed collection as linked objects. This means the following is done:- The current collection of objects which are linked to toLinkTo and which are also in the list toSave is read from the database into the list intersection.
- All objects in toSave which are not in intersection are inserted.
- All objects in intersection are updated with the corresponding values in toSave and saved.
- All objects in the database which are linked to toLinkTo but are not in toSave are deleted from the database.
- Parameters:
toLinkTo- the object which collections should be set with the values in toSave.toSave- Contains the objects to save, not null, may not contain null.connection- the database connection to use.- Throws:
TorqueException- if an error accessing the database occurs.NullPointerException- if toSave is null or contains null elements.Exception
-
setAndSaveModuleOptions
public void setAndSaveModuleOptions(EasyDeskModule toLinkTo, Collection<ModuleOption> toSave) throws Exception Saves the passed collection as linked objects. This means the following is done:- The current collection of objects which are linked to toLinkTo and which are also in the list toSave is read from the database into the list intersection.
- All objects in toSave which are not in intersection are inserted.
- All objects in intersection are updated with the corresponding values in toSave and saved.
- All objects in the database which are linked to toLinkTo but are not in toSave are deleted from the database.
- Parameters:
toLinkTo- the object which collections should be set with the values in toSave.toSave- Contains the objects to save, not null, may not contain null.- Throws:
TorqueException- if an error accessing the database occurs.NullPointerException- if toSave is null or contains null elements.Exception
-
setAndSaveModuleOptions
public void setAndSaveModuleOptions(EasyDeskModule toLinkTo, Collection<ModuleOption> toSave, Connection connection) throws Exception Saves the passed collection as linked objects. This means the following is done:- The current collection of objects which are linked to toLinkTo and which are also in the list toSave is read from the database into the list intersection.
- All objects in toSave which are not in intersection are inserted.
- All objects in intersection are updated with the corresponding values in toSave and saved.
- All objects in the database which are linked to toLinkTo but are not in toSave are deleted from the database.
- Parameters:
toLinkTo- the object which collections should be set with the values in toSave.toSave- Contains the objects to save, not null, may not contain null.connection- the database connection to use.- Throws:
TorqueException- if an error accessing the database occurs.NullPointerException- if toSave is null or contains null elements.Exception
-
setAndSaveModuleUserAttributes
public void setAndSaveModuleUserAttributes(EasyDeskModule toLinkTo, Collection<ModuleUserAttribute> toSave) throws Exception Saves the passed collection as linked objects. This means the following is done:- The current collection of objects which are linked to toLinkTo and which are also in the list toSave is read from the database into the list intersection.
- All objects in toSave which are not in intersection are inserted.
- All objects in intersection are updated with the corresponding values in toSave and saved.
- All objects in the database which are linked to toLinkTo but are not in toSave are deleted from the database.
- Parameters:
toLinkTo- the object which collections should be set with the values in toSave.toSave- Contains the objects to save, not null, may not contain null.- Throws:
TorqueException- if an error accessing the database occurs.NullPointerException- if toSave is null or contains null elements.Exception
-
setAndSaveModuleUserAttributes
public void setAndSaveModuleUserAttributes(EasyDeskModule toLinkTo, Collection<ModuleUserAttribute> toSave, Connection connection) throws Exception Saves the passed collection as linked objects. This means the following is done:- The current collection of objects which are linked to toLinkTo and which are also in the list toSave is read from the database into the list intersection.
- All objects in toSave which are not in intersection are inserted.
- All objects in intersection are updated with the corresponding values in toSave and saved.
- All objects in the database which are linked to toLinkTo but are not in toSave are deleted from the database.
- Parameters:
toLinkTo- the object which collections should be set with the values in toSave.toSave- Contains the objects to save, not null, may not contain null.connection- the database connection to use.- Throws:
TorqueException- if an error accessing the database occurs.NullPointerException- if toSave is null or contains null elements.Exception
-
setAndSaveUserAttributeOptions
public void setAndSaveUserAttributeOptions(EasyDeskModule toLinkTo, Collection<UserAttributeOption> toSave) throws Exception Saves the passed collection as linked objects. This means the following is done:- The current collection of objects which are linked to toLinkTo and which are also in the list toSave is read from the database into the list intersection.
- All objects in toSave which are not in intersection are inserted.
- All objects in intersection are updated with the corresponding values in toSave and saved.
- All objects in the database which are linked to toLinkTo but are not in toSave are deleted from the database.
- Parameters:
toLinkTo- the object which collections should be set with the values in toSave.toSave- Contains the objects to save, not null, may not contain null.- Throws:
TorqueException- if an error accessing the database occurs.NullPointerException- if toSave is null or contains null elements.Exception
-
setAndSaveUserAttributeOptions
public void setAndSaveUserAttributeOptions(EasyDeskModule toLinkTo, Collection<UserAttributeOption> toSave, Connection connection) throws Exception Saves the passed collection as linked objects. This means the following is done:- The current collection of objects which are linked to toLinkTo and which are also in the list toSave is read from the database into the list intersection.
- All objects in toSave which are not in intersection are inserted.
- All objects in intersection are updated with the corresponding values in toSave and saved.
- All objects in the database which are linked to toLinkTo but are not in toSave are deleted from the database.
- Parameters:
toLinkTo- the object which collections should be set with the values in toSave.toSave- Contains the objects to save, not null, may not contain null.connection- the database connection to use.- Throws:
TorqueException- if an error accessing the database occurs.NullPointerException- if toSave is null or contains null elements.Exception
-
setAndSaveQuerys
Saves the passed collection as linked objects. This means the following is done:- The current collection of objects which are linked to toLinkTo and which are also in the list toSave is read from the database into the list intersection.
- All objects in toSave which are not in intersection are inserted.
- All objects in intersection are updated with the corresponding values in toSave and saved.
- All objects in the database which are linked to toLinkTo but are not in toSave are deleted from the database.
- Parameters:
toLinkTo- the object which collections should be set with the values in toSave.toSave- Contains the objects to save, not null, may not contain null.- Throws:
TorqueException- if an error accessing the database occurs.NullPointerException- if toSave is null or contains null elements.Exception
-
setAndSaveQuerys
public void setAndSaveQuerys(EasyDeskModule toLinkTo, Collection<Query> toSave, Connection connection) throws Exception Saves the passed collection as linked objects. This means the following is done:- The current collection of objects which are linked to toLinkTo and which are also in the list toSave is read from the database into the list intersection.
- All objects in toSave which are not in intersection are inserted.
- All objects in intersection are updated with the corresponding values in toSave and saved.
- All objects in the database which are linked to toLinkTo but are not in toSave are deleted from the database.
- Parameters:
toLinkTo- the object which collections should be set with the values in toSave.toSave- Contains the objects to save, not null, may not contain null.connection- the database connection to use.- Throws:
TorqueException- if an error accessing the database occurs.NullPointerException- if toSave is null or contains null elements.Exception
-
setAndSaveTemplateGroups
public void setAndSaveTemplateGroups(EasyDeskModule toLinkTo, Collection<TemplateGroup> toSave) throws Exception Saves the passed collection as linked objects. This means the following is done:- The current collection of objects which are linked to toLinkTo and which are also in the list toSave is read from the database into the list intersection.
- All objects in toSave which are not in intersection are inserted.
- All objects in intersection are updated with the corresponding values in toSave and saved.
- All objects in the database which are linked to toLinkTo but are not in toSave are deleted from the database.
- Parameters:
toLinkTo- the object which collections should be set with the values in toSave.toSave- Contains the objects to save, not null, may not contain null.- Throws:
TorqueException- if an error accessing the database occurs.NullPointerException- if toSave is null or contains null elements.Exception
-
setAndSaveTemplateGroups
public void setAndSaveTemplateGroups(EasyDeskModule toLinkTo, Collection<TemplateGroup> toSave, Connection connection) throws Exception Saves the passed collection as linked objects. This means the following is done:- The current collection of objects which are linked to toLinkTo and which are also in the list toSave is read from the database into the list intersection.
- All objects in toSave which are not in intersection are inserted.
- All objects in intersection are updated with the corresponding values in toSave and saved.
- All objects in the database which are linked to toLinkTo but are not in toSave are deleted from the database.
- Parameters:
toLinkTo- the object which collections should be set with the values in toSave.toSave- Contains the objects to save, not null, may not contain null.connection- the database connection to use.- Throws:
TorqueException- if an error accessing the database occurs.NullPointerException- if toSave is null or contains null elements.Exception
-
setAndSaveQueryValues
public void setAndSaveQueryValues(EasyDeskModule toLinkTo, Collection<QueryValue> toSave) throws Exception Saves the passed collection as linked objects. This means the following is done:- The current collection of objects which are linked to toLinkTo and which are also in the list toSave is read from the database into the list intersection.
- All objects in toSave which are not in intersection are inserted.
- All objects in intersection are updated with the corresponding values in toSave and saved.
- All objects in the database which are linked to toLinkTo but are not in toSave are deleted from the database.
- Parameters:
toLinkTo- the object which collections should be set with the values in toSave.toSave- Contains the objects to save, not null, may not contain null.- Throws:
TorqueException- if an error accessing the database occurs.NullPointerException- if toSave is null or contains null elements.Exception
-
setAndSaveQueryValues
public void setAndSaveQueryValues(EasyDeskModule toLinkTo, Collection<QueryValue> toSave, Connection connection) throws Exception Saves the passed collection as linked objects. This means the following is done:- The current collection of objects which are linked to toLinkTo and which are also in the list toSave is read from the database into the list intersection.
- All objects in toSave which are not in intersection are inserted.
- All objects in intersection are updated with the corresponding values in toSave and saved.
- All objects in the database which are linked to toLinkTo but are not in toSave are deleted from the database.
- Parameters:
toLinkTo- the object which collections should be set with the values in toSave.toSave- Contains the objects to save, not null, may not contain null.connection- the database connection to use.- Throws:
TorqueException- if an error accessing the database occurs.NullPointerException- if toSave is null or contains null elements.Exception
-
setAndSaveReports
Saves the passed collection as linked objects. This means the following is done:- The current collection of objects which are linked to toLinkTo and which are also in the list toSave is read from the database into the list intersection.
- All objects in toSave which are not in intersection are inserted.
- All objects in intersection are updated with the corresponding values in toSave and saved.
- All objects in the database which are linked to toLinkTo but are not in toSave are deleted from the database.
- Parameters:
toLinkTo- the object which collections should be set with the values in toSave.toSave- Contains the objects to save, not null, may not contain null.- Throws:
TorqueException- if an error accessing the database occurs.NullPointerException- if toSave is null or contains null elements.Exception
-
setAndSaveReports
public void setAndSaveReports(EasyDeskModule toLinkTo, Collection<Report> toSave, Connection connection) throws Exception Saves the passed collection as linked objects. This means the following is done:- The current collection of objects which are linked to toLinkTo and which are also in the list toSave is read from the database into the list intersection.
- All objects in toSave which are not in intersection are inserted.
- All objects in intersection are updated with the corresponding values in toSave and saved.
- All objects in the database which are linked to toLinkTo but are not in toSave are deleted from the database.
- Parameters:
toLinkTo- the object which collections should be set with the values in toSave.toSave- Contains the objects to save, not null, may not contain null.connection- the database connection to use.- Throws:
TorqueException- if an error accessing the database occurs.NullPointerException- if toSave is null or contains null elements.Exception
-
setAndSaveTransitionConditions
public void setAndSaveTransitionConditions(EasyDeskModule toLinkTo, Collection<TransitionCondition> toSave) throws Exception Saves the passed collection as linked objects. This means the following is done:- The current collection of objects which are linked to toLinkTo and which are also in the list toSave is read from the database into the list intersection.
- All objects in toSave which are not in intersection are inserted.
- All objects in intersection are updated with the corresponding values in toSave and saved.
- All objects in the database which are linked to toLinkTo but are not in toSave are deleted from the database.
- Parameters:
toLinkTo- the object which collections should be set with the values in toSave.toSave- Contains the objects to save, not null, may not contain null.- Throws:
TorqueException- if an error accessing the database occurs.NullPointerException- if toSave is null or contains null elements.Exception
-
setAndSaveTransitionConditions
public void setAndSaveTransitionConditions(EasyDeskModule toLinkTo, Collection<TransitionCondition> toSave, Connection connection) throws Exception Saves the passed collection as linked objects. This means the following is done:- The current collection of objects which are linked to toLinkTo and which are also in the list toSave is read from the database into the list intersection.
- All objects in toSave which are not in intersection are inserted.
- All objects in intersection are updated with the corresponding values in toSave and saved.
- All objects in the database which are linked to toLinkTo but are not in toSave are deleted from the database.
- Parameters:
toLinkTo- the object which collections should be set with the values in toSave.toSave- Contains the objects to save, not null, may not contain null.connection- the database connection to use.- Throws:
TorqueException- if an error accessing the database occurs.NullPointerException- if toSave is null or contains null elements.Exception
-
setAndSaveGlobalParameters
public void setAndSaveGlobalParameters(EasyDeskModule toLinkTo, Collection<GlobalParameter> toSave) throws Exception Saves the passed collection as linked objects. This means the following is done:- The current collection of objects which are linked to toLinkTo and which are also in the list toSave is read from the database into the list intersection.
- All objects in toSave which are not in intersection are inserted.
- All objects in intersection are updated with the corresponding values in toSave and saved.
- All objects in the database which are linked to toLinkTo but are not in toSave are deleted from the database.
- Parameters:
toLinkTo- the object which collections should be set with the values in toSave.toSave- Contains the objects to save, not null, may not contain null.- Throws:
TorqueException- if an error accessing the database occurs.NullPointerException- if toSave is null or contains null elements.Exception
-
setAndSaveGlobalParameters
public void setAndSaveGlobalParameters(EasyDeskModule toLinkTo, Collection<GlobalParameter> toSave, Connection connection) throws Exception Saves the passed collection as linked objects. This means the following is done:- The current collection of objects which are linked to toLinkTo and which are also in the list toSave is read from the database into the list intersection.
- All objects in toSave which are not in intersection are inserted.
- All objects in intersection are updated with the corresponding values in toSave and saved.
- All objects in the database which are linked to toLinkTo but are not in toSave are deleted from the database.
- Parameters:
toLinkTo- the object which collections should be set with the values in toSave.toSave- Contains the objects to save, not null, may not contain null.connection- the database connection to use.- Throws:
TorqueException- if an error accessing the database occurs.NullPointerException- if toSave is null or contains null elements.Exception
-
setAndSaveNotificationFilters
public void setAndSaveNotificationFilters(EasyDeskModule toLinkTo, Collection<NotificationFilter> toSave) throws Exception Saves the passed collection as linked objects. This means the following is done:- The current collection of objects which are linked to toLinkTo and which are also in the list toSave is read from the database into the list intersection.
- All objects in toSave which are not in intersection are inserted.
- All objects in intersection are updated with the corresponding values in toSave and saved.
- All objects in the database which are linked to toLinkTo but are not in toSave are deleted from the database.
- Parameters:
toLinkTo- the object which collections should be set with the values in toSave.toSave- Contains the objects to save, not null, may not contain null.- Throws:
TorqueException- if an error accessing the database occurs.NullPointerException- if toSave is null or contains null elements.Exception
-
setAndSaveNotificationFilters
public void setAndSaveNotificationFilters(EasyDeskModule toLinkTo, Collection<NotificationFilter> toSave, Connection connection) throws Exception Saves the passed collection as linked objects. This means the following is done:- The current collection of objects which are linked to toLinkTo and which are also in the list toSave is read from the database into the list intersection.
- All objects in toSave which are not in intersection are inserted.
- All objects in intersection are updated with the corresponding values in toSave and saved.
- All objects in the database which are linked to toLinkTo but are not in toSave are deleted from the database.
- Parameters:
toLinkTo- the object which collections should be set with the values in toSave.toSave- Contains the objects to save, not null, may not contain null.connection- the database connection to use.- Throws:
TorqueException- if an error accessing the database occurs.NullPointerException- if toSave is null or contains null elements.Exception
-
setAndSaveAnonymousNotificationFilters
public void setAndSaveAnonymousNotificationFilters(EasyDeskModule toLinkTo, Collection<AnonymousNotificationFilter> toSave) throws Exception Saves the passed collection as linked objects. This means the following is done:- The current collection of objects which are linked to toLinkTo and which are also in the list toSave is read from the database into the list intersection.
- All objects in toSave which are not in intersection are inserted.
- All objects in intersection are updated with the corresponding values in toSave and saved.
- All objects in the database which are linked to toLinkTo but are not in toSave are deleted from the database.
- Parameters:
toLinkTo- the object which collections should be set with the values in toSave.toSave- Contains the objects to save, not null, may not contain null.- Throws:
TorqueException- if an error accessing the database occurs.NullPointerException- if toSave is null or contains null elements.Exception
-
setAndSaveAnonymousNotificationFilters
public void setAndSaveAnonymousNotificationFilters(EasyDeskModule toLinkTo, Collection<AnonymousNotificationFilter> toSave, Connection connection) throws Exception Saves the passed collection as linked objects. This means the following is done:- The current collection of objects which are linked to toLinkTo and which are also in the list toSave is read from the database into the list intersection.
- All objects in toSave which are not in intersection are inserted.
- All objects in intersection are updated with the corresponding values in toSave and saved.
- All objects in the database which are linked to toLinkTo but are not in toSave are deleted from the database.
- Parameters:
toLinkTo- the object which collections should be set with the values in toSave.toSave- Contains the objects to save, not null, may not contain null.connection- the database connection to use.- Throws:
TorqueException- if an error accessing the database occurs.NullPointerException- if toSave is null or contains null elements.Exception
-
setAndSaveWorkflows
public void setAndSaveWorkflows(EasyDeskModule toLinkTo, Collection<Workflow> toSave) throws Exception Saves the passed collection as linked objects. This means the following is done:- The current collection of objects which are linked to toLinkTo and which are also in the list toSave is read from the database into the list intersection.
- All objects in toSave which are not in intersection are inserted.
- All objects in intersection are updated with the corresponding values in toSave and saved.
- All objects in the database which are linked to toLinkTo but are not in toSave are deleted from the database.
- Parameters:
toLinkTo- the object which collections should be set with the values in toSave.toSave- Contains the objects to save, not null, may not contain null.- Throws:
TorqueException- if an error accessing the database occurs.NullPointerException- if toSave is null or contains null elements.Exception
-
setAndSaveWorkflows
public void setAndSaveWorkflows(EasyDeskModule toLinkTo, Collection<Workflow> toSave, Connection connection) throws Exception Saves the passed collection as linked objects. This means the following is done:- The current collection of objects which are linked to toLinkTo and which are also in the list toSave is read from the database into the list intersection.
- All objects in toSave which are not in intersection are inserted.
- All objects in intersection are updated with the corresponding values in toSave and saved.
- All objects in the database which are linked to toLinkTo but are not in toSave are deleted from the database.
- Parameters:
toLinkTo- the object which collections should be set with the values in toSave.toSave- Contains the objects to save, not null, may not contain null.connection- the database connection to use.- Throws:
TorqueException- if an error accessing the database occurs.NullPointerException- if toSave is null or contains null elements.Exception
-
setAndSaveWorkflowGroups
public void setAndSaveWorkflowGroups(EasyDeskModule toLinkTo, Collection<WorkflowGroup> toSave) throws Exception Saves the passed collection as linked objects. This means the following is done:- The current collection of objects which are linked to toLinkTo and which are also in the list toSave is read from the database into the list intersection.
- All objects in toSave which are not in intersection are inserted.
- All objects in intersection are updated with the corresponding values in toSave and saved.
- All objects in the database which are linked to toLinkTo but are not in toSave are deleted from the database.
- Parameters:
toLinkTo- the object which collections should be set with the values in toSave.toSave- Contains the objects to save, not null, may not contain null.- Throws:
TorqueException- if an error accessing the database occurs.NullPointerException- if toSave is null or contains null elements.Exception
-
setAndSaveWorkflowGroups
public void setAndSaveWorkflowGroups(EasyDeskModule toLinkTo, Collection<WorkflowGroup> toSave, Connection connection) throws Exception Saves the passed collection as linked objects. This means the following is done:- The current collection of objects which are linked to toLinkTo and which are also in the list toSave is read from the database into the list intersection.
- All objects in toSave which are not in intersection are inserted.
- All objects in intersection are updated with the corresponding values in toSave and saved.
- All objects in the database which are linked to toLinkTo but are not in toSave are deleted from the database.
- Parameters:
toLinkTo- the object which collections should be set with the values in toSave.toSave- Contains the objects to save, not null, may not contain null.connection- the database connection to use.- Throws:
TorqueException- if an error accessing the database occurs.NullPointerException- if toSave is null or contains null elements.Exception
-
setAndSaveEasyDeskValidators
public void setAndSaveEasyDeskValidators(EasyDeskModule toLinkTo, Collection<EasyDeskValidator> toSave) throws Exception Saves the passed collection as linked objects. This means the following is done:- The current collection of objects which are linked to toLinkTo and which are also in the list toSave is read from the database into the list intersection.
- All objects in toSave which are not in intersection are inserted.
- All objects in intersection are updated with the corresponding values in toSave and saved.
- All objects in the database which are linked to toLinkTo but are not in toSave are deleted from the database.
- Parameters:
toLinkTo- the object which collections should be set with the values in toSave.toSave- Contains the objects to save, not null, may not contain null.- Throws:
TorqueException- if an error accessing the database occurs.NullPointerException- if toSave is null or contains null elements.Exception
-
setAndSaveEasyDeskValidators
public void setAndSaveEasyDeskValidators(EasyDeskModule toLinkTo, Collection<EasyDeskValidator> toSave, Connection connection) throws Exception Saves the passed collection as linked objects. This means the following is done:- The current collection of objects which are linked to toLinkTo and which are also in the list toSave is read from the database into the list intersection.
- All objects in toSave which are not in intersection are inserted.
- All objects in intersection are updated with the corresponding values in toSave and saved.
- All objects in the database which are linked to toLinkTo but are not in toSave are deleted from the database.
- Parameters:
toLinkTo- the object which collections should be set with the values in toSave.toSave- Contains the objects to save, not null, may not contain null.connection- the database connection to use.- Throws:
TorqueException- if an error accessing the database occurs.NullPointerException- if toSave is null or contains null elements.Exception
-
setAndSaveEasyErrors
public void setAndSaveEasyErrors(EasyDeskModule toLinkTo, Collection<EasyError> toSave) throws Exception Saves the passed collection as linked objects. This means the following is done:- The current collection of objects which are linked to toLinkTo and which are also in the list toSave is read from the database into the list intersection.
- All objects in toSave which are not in intersection are inserted.
- All objects in intersection are updated with the corresponding values in toSave and saved.
- All objects in the database which are linked to toLinkTo but are not in toSave are deleted from the database.
- Parameters:
toLinkTo- the object which collections should be set with the values in toSave.toSave- Contains the objects to save, not null, may not contain null.- Throws:
TorqueException- if an error accessing the database occurs.NullPointerException- if toSave is null or contains null elements.Exception
-
setAndSaveEasyErrors
public void setAndSaveEasyErrors(EasyDeskModule toLinkTo, Collection<EasyError> toSave, Connection connection) throws Exception Saves the passed collection as linked objects. This means the following is done:- The current collection of objects which are linked to toLinkTo and which are also in the list toSave is read from the database into the list intersection.
- All objects in toSave which are not in intersection are inserted.
- All objects in intersection are updated with the corresponding values in toSave and saved.
- All objects in the database which are linked to toLinkTo but are not in toSave are deleted from the database.
- Parameters:
toLinkTo- the object which collections should be set with the values in toSave.toSave- Contains the objects to save, not null, may not contain null.connection- the database connection to use.- Throws:
TorqueException- if an error accessing the database occurs.NullPointerException- if toSave is null or contains null elements.Exception
-
setAndSaveValueFormatters
public void setAndSaveValueFormatters(EasyDeskModule toLinkTo, Collection<ValueFormatter> toSave) throws Exception Saves the passed collection as linked objects. This means the following is done:- The current collection of objects which are linked to toLinkTo and which are also in the list toSave is read from the database into the list intersection.
- All objects in toSave which are not in intersection are inserted.
- All objects in intersection are updated with the corresponding values in toSave and saved.
- All objects in the database which are linked to toLinkTo but are not in toSave are deleted from the database.
- Parameters:
toLinkTo- the object which collections should be set with the values in toSave.toSave- Contains the objects to save, not null, may not contain null.- Throws:
TorqueException- if an error accessing the database occurs.NullPointerException- if toSave is null or contains null elements.Exception
-
setAndSaveValueFormatters
public void setAndSaveValueFormatters(EasyDeskModule toLinkTo, Collection<ValueFormatter> toSave, Connection connection) throws Exception Saves the passed collection as linked objects. This means the following is done:- The current collection of objects which are linked to toLinkTo and which are also in the list toSave is read from the database into the list intersection.
- All objects in toSave which are not in intersection are inserted.
- All objects in intersection are updated with the corresponding values in toSave and saved.
- All objects in the database which are linked to toLinkTo but are not in toSave are deleted from the database.
- Parameters:
toLinkTo- the object which collections should be set with the values in toSave.toSave- Contains the objects to save, not null, may not contain null.connection- the database connection to use.- Throws:
TorqueException- if an error accessing the database occurs.NullPointerException- if toSave is null or contains null elements.Exception
-
setAndSaveEasyDeskModuleRelatedByParentIds
public void setAndSaveEasyDeskModuleRelatedByParentIds(EasyDeskModule toLinkTo, Collection<EasyDeskModule> toSave) throws Exception Saves the passed collection as linked objects. This means the following is done:- The current collection of objects which are linked to toLinkTo and which are also in the list toSave is read from the database into the list intersection.
- All objects in toSave which are not in intersection are inserted.
- All objects in intersection are updated with the corresponding values in toSave and saved.
- All objects in the database which are linked to toLinkTo but are not in toSave are deleted from the database.
- Parameters:
toLinkTo- the object which collections should be set with the values in toSave.toSave- Contains the objects to save, not null, may not contain null.- Throws:
TorqueException- if an error accessing the database occurs.NullPointerException- if toSave is null or contains null elements.Exception
-
setAndSaveEasyDeskModuleRelatedByParentIds
public void setAndSaveEasyDeskModuleRelatedByParentIds(EasyDeskModule toLinkTo, Collection<EasyDeskModule> toSave, Connection connection) throws Exception Saves the passed collection as linked objects. This means the following is done:- The current collection of objects which are linked to toLinkTo and which are also in the list toSave is read from the database into the list intersection.
- All objects in toSave which are not in intersection are inserted.
- All objects in intersection are updated with the corresponding values in toSave and saved.
- All objects in the database which are linked to toLinkTo but are not in toSave are deleted from the database.
- Parameters:
toLinkTo- the object which collections should be set with the values in toSave.toSave- Contains the objects to save, not null, may not contain null.connection- the database connection to use.- Throws:
TorqueException- if an error accessing the database occurs.NullPointerException- if toSave is null or contains null elements.Exception
-
setAndSaveEasyDeskModuleRelatedByTemplateIds
public void setAndSaveEasyDeskModuleRelatedByTemplateIds(EasyDeskModule toLinkTo, Collection<EasyDeskModule> toSave) throws Exception Saves the passed collection as linked objects. This means the following is done:- The current collection of objects which are linked to toLinkTo and which are also in the list toSave is read from the database into the list intersection.
- All objects in toSave which are not in intersection are inserted.
- All objects in intersection are updated with the corresponding values in toSave and saved.
- All objects in the database which are linked to toLinkTo but are not in toSave are deleted from the database.
- Parameters:
toLinkTo- the object which collections should be set with the values in toSave.toSave- Contains the objects to save, not null, may not contain null.- Throws:
TorqueException- if an error accessing the database occurs.NullPointerException- if toSave is null or contains null elements.Exception
-
setAndSaveEasyDeskModuleRelatedByTemplateIds
public void setAndSaveEasyDeskModuleRelatedByTemplateIds(EasyDeskModule toLinkTo, Collection<EasyDeskModule> toSave, Connection connection) throws Exception Saves the passed collection as linked objects. This means the following is done:- The current collection of objects which are linked to toLinkTo and which are also in the list toSave is read from the database into the list intersection.
- All objects in toSave which are not in intersection are inserted.
- All objects in intersection are updated with the corresponding values in toSave and saved.
- All objects in the database which are linked to toLinkTo but are not in toSave are deleted from the database.
- Parameters:
toLinkTo- the object which collections should be set with the values in toSave.toSave- Contains the objects to save, not null, may not contain null.connection- the database connection to use.- Throws:
TorqueException- if an error accessing the database occurs.NullPointerException- if toSave is null or contains null elements.Exception
-
setAndSaveLocalizedErrorInfos
public void setAndSaveLocalizedErrorInfos(EasyDeskModule toLinkTo, Collection<LocalizedErrorInfo> toSave) throws Exception Saves the passed collection as linked objects. This means the following is done:- The current collection of objects which are linked to toLinkTo and which are also in the list toSave is read from the database into the list intersection.
- All objects in toSave which are not in intersection are inserted.
- All objects in intersection are updated with the corresponding values in toSave and saved.
- All objects in the database which are linked to toLinkTo but are not in toSave are deleted from the database.
- Parameters:
toLinkTo- the object which collections should be set with the values in toSave.toSave- Contains the objects to save, not null, may not contain null.- Throws:
TorqueException- if an error accessing the database occurs.NullPointerException- if toSave is null or contains null elements.Exception
-
setAndSaveLocalizedErrorInfos
public void setAndSaveLocalizedErrorInfos(EasyDeskModule toLinkTo, Collection<LocalizedErrorInfo> toSave, Connection connection) throws Exception Saves the passed collection as linked objects. This means the following is done:- The current collection of objects which are linked to toLinkTo and which are also in the list toSave is read from the database into the list intersection.
- All objects in toSave which are not in intersection are inserted.
- All objects in intersection are updated with the corresponding values in toSave and saved.
- All objects in the database which are linked to toLinkTo but are not in toSave are deleted from the database.
- Parameters:
toLinkTo- the object which collections should be set with the values in toSave.toSave- Contains the objects to save, not null, may not contain null.connection- the database connection to use.- Throws:
TorqueException- if an error accessing the database occurs.NullPointerException- if toSave is null or contains null elements.Exception
-
setAndSaveLocalizedListInfos
public void setAndSaveLocalizedListInfos(EasyDeskModule toLinkTo, Collection<LocalizedListInfo> toSave) throws Exception Saves the passed collection as linked objects. This means the following is done:- The current collection of objects which are linked to toLinkTo and which are also in the list toSave is read from the database into the list intersection.
- All objects in toSave which are not in intersection are inserted.
- All objects in intersection are updated with the corresponding values in toSave and saved.
- All objects in the database which are linked to toLinkTo but are not in toSave are deleted from the database.
- Parameters:
toLinkTo- the object which collections should be set with the values in toSave.toSave- Contains the objects to save, not null, may not contain null.- Throws:
TorqueException- if an error accessing the database occurs.NullPointerException- if toSave is null or contains null elements.Exception
-
setAndSaveLocalizedListInfos
public void setAndSaveLocalizedListInfos(EasyDeskModule toLinkTo, Collection<LocalizedListInfo> toSave, Connection connection) throws Exception Saves the passed collection as linked objects. This means the following is done:- The current collection of objects which are linked to toLinkTo and which are also in the list toSave is read from the database into the list intersection.
- All objects in toSave which are not in intersection are inserted.
- All objects in intersection are updated with the corresponding values in toSave and saved.
- All objects in the database which are linked to toLinkTo but are not in toSave are deleted from the database.
- Parameters:
toLinkTo- the object which collections should be set with the values in toSave.toSave- Contains the objects to save, not null, may not contain null.connection- the database connection to use.- Throws:
TorqueException- if an error accessing the database occurs.NullPointerException- if toSave is null or contains null elements.Exception
-
setAndSaveLocalizedOptionInfos
public void setAndSaveLocalizedOptionInfos(EasyDeskModule toLinkTo, Collection<LocalizedOptionInfo> toSave) throws Exception Saves the passed collection as linked objects. This means the following is done:- The current collection of objects which are linked to toLinkTo and which are also in the list toSave is read from the database into the list intersection.
- All objects in toSave which are not in intersection are inserted.
- All objects in intersection are updated with the corresponding values in toSave and saved.
- All objects in the database which are linked to toLinkTo but are not in toSave are deleted from the database.
- Parameters:
toLinkTo- the object which collections should be set with the values in toSave.toSave- Contains the objects to save, not null, may not contain null.- Throws:
TorqueException- if an error accessing the database occurs.NullPointerException- if toSave is null or contains null elements.Exception
-
setAndSaveLocalizedOptionInfos
public void setAndSaveLocalizedOptionInfos(EasyDeskModule toLinkTo, Collection<LocalizedOptionInfo> toSave, Connection connection) throws Exception Saves the passed collection as linked objects. This means the following is done:- The current collection of objects which are linked to toLinkTo and which are also in the list toSave is read from the database into the list intersection.
- All objects in toSave which are not in intersection are inserted.
- All objects in intersection are updated with the corresponding values in toSave and saved.
- All objects in the database which are linked to toLinkTo but are not in toSave are deleted from the database.
- Parameters:
toLinkTo- the object which collections should be set with the values in toSave.toSave- Contains the objects to save, not null, may not contain null.connection- the database connection to use.- Throws:
TorqueException- if an error accessing the database occurs.NullPointerException- if toSave is null or contains null elements.Exception
-
setAndSaveOptionOptions
public void setAndSaveOptionOptions(EasyDeskModule toLinkTo, Collection<OptionOption> toSave) throws Exception Saves the passed collection as linked objects. This means the following is done:- The current collection of objects which are linked to toLinkTo and which are also in the list toSave is read from the database into the list intersection.
- All objects in toSave which are not in intersection are inserted.
- All objects in intersection are updated with the corresponding values in toSave and saved.
- All objects in the database which are linked to toLinkTo but are not in toSave are deleted from the database.
- Parameters:
toLinkTo- the object which collections should be set with the values in toSave.toSave- Contains the objects to save, not null, may not contain null.- Throws:
TorqueException- if an error accessing the database occurs.NullPointerException- if toSave is null or contains null elements.Exception
-
setAndSaveOptionOptions
public void setAndSaveOptionOptions(EasyDeskModule toLinkTo, Collection<OptionOption> toSave, Connection connection) throws Exception Saves the passed collection as linked objects. This means the following is done:- The current collection of objects which are linked to toLinkTo and which are also in the list toSave is read from the database into the list intersection.
- All objects in toSave which are not in intersection are inserted.
- All objects in intersection are updated with the corresponding values in toSave and saved.
- All objects in the database which are linked to toLinkTo but are not in toSave are deleted from the database.
- Parameters:
toLinkTo- the object which collections should be set with the values in toSave.toSave- Contains the objects to save, not null, may not contain null.connection- the database connection to use.- Throws:
TorqueException- if an error accessing the database occurs.NullPointerException- if toSave is null or contains null elements.Exception
-