Class TagDemandTypeHome
java.lang.Object
fr.paris.lutece.plugins.mydashboard.modules.grusupply.business.TagDemandTypeHome
This class provides instances management methods (create, find, ...) for TagDemandType objects
-
Method Summary
Modifier and TypeMethodDescriptionstatic TagDemandTypecreate(TagDemandType tagDemandType) Create an instance of the tagDemandType classstatic TagDemandTypefindByPrimaryKey(int nKey) Returns an instance of a tagDemandType whose identifier is specified in parameterstatic List<TagDemandType>Load the data of all the tagDemandType objects and returns them in form of a liststatic List<TagDemandType>getTagDemandTypesList(int nIdDemandType) Load the data of all the tagDemandType objects and returns them in form of a liststatic voidremove(int nTagDemandTypeId) Remove the tagDemandType whose identifier is specified in parameterstatic voidremoveByIdDemandType(int nIdDemandType) Remove the tagDemandType by id demand typestatic TagDemandTypeupdate(TagDemandType tagDemandType) Update of the tagDemandType which is specified in parameter
-
Method Details
-
create
Create an instance of the tagDemandType class- Parameters:
tagDemandType- The instance of the TagDemandType which contains the informations to store- Returns:
- The instance of tagDemandType which has been created with its primary key.
-
update
Update of the tagDemandType which is specified in parameter- Parameters:
tagDemandType- The instance of the TagDemandType which contains the data to store- Returns:
- The instance of the tagDemandType which has been updated
-
remove
public static void remove(int nTagDemandTypeId) Remove the tagDemandType whose identifier is specified in parameter- Parameters:
nTagDemandTypeId- The tagDemandType Id
-
removeByIdDemandType
public static void removeByIdDemandType(int nIdDemandType) Remove the tagDemandType by id demand type- Parameters:
nIdDemandType- The demandType id
-
findByPrimaryKey
Returns an instance of a tagDemandType whose identifier is specified in parameter- Parameters:
nKey- The tagDemandType primary key- Returns:
- an instance of TagDemandType
-
getTagDemandTypesList
Load the data of all the tagDemandType objects and returns them in form of a list- Parameters:
nIdDemandType- The id demand type- Returns:
- the list which contains the data of all the tagDemandType objects
-
getTagDemandTypesList
Load the data of all the tagDemandType objects and returns them in form of a list- Returns:
- the list which contains the data of all the tagDemandType objects
-