Class TagDemandTypeDAO
java.lang.Object
fr.paris.lutece.plugins.mydashboard.modules.grusupply.business.TagDemandTypeDAO
- All Implemented Interfaces:
ITagDemandTypeDAO
This class provides Data Access methods for TagDemandType objects
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(int nTagDemandTypeId) Delete a record from the tablevoiddeleteByIdDemandType(int nIdDemandType) Delete a record from the tablevoidinsert(TagDemandType tagDemandType) Insert a new record in the table.load(int nId) Load the data from the tableLoad the data of all the tagDemandType objects and returns them as a ListselectTagDemandTypesList(int nIdDemandType) Load the data of all the tagDemandType objects and returns them as a Listvoidstore(TagDemandType tagDemandType) Update the record in the table
-
Constructor Details
-
TagDemandTypeDAO
public TagDemandTypeDAO()
-
-
Method Details
-
insert
Insert a new record in the table.- Specified by:
insertin interfaceITagDemandTypeDAO- Parameters:
tagDemandType- instance of the TagDemandType object to inssert
-
load
Load the data from the table- Specified by:
loadin interfaceITagDemandTypeDAO- Returns:
- The instance of the tagDemandType
-
delete
public void delete(int nTagDemandTypeId) Delete a record from the table- Specified by:
deletein interfaceITagDemandTypeDAO- Parameters:
nTagDemandTypeId- int identifier of the TagDemandType to delete
-
deleteByIdDemandType
public void deleteByIdDemandType(int nIdDemandType) Description copied from interface:ITagDemandTypeDAODelete a record from the table- Specified by:
deleteByIdDemandTypein interfaceITagDemandTypeDAO- Parameters:
nIdDemandType- the demandType id
-
store
Update the record in the table- Specified by:
storein interfaceITagDemandTypeDAO- Parameters:
tagDemandType- the reference of the TagDemandType
-
selectTagDemandTypesList
Load the data of all the tagDemandType objects and returns them as a List- Specified by:
selectTagDemandTypesListin interfaceITagDemandTypeDAO- Returns:
- The List which contains the data of all the tagDemandType objects
-
selectTagDemandTypesList
Description copied from interface:ITagDemandTypeDAOLoad the data of all the tagDemandType objects and returns them as a List- Specified by:
selectTagDemandTypesListin interfaceITagDemandTypeDAO- Parameters:
nIdDemandType- the id demand type- Returns:
- The List which contains the data of all the tagDemandType objects
-