java.lang.Object
fr.paris.lutece.plugins.mydashboard.modules.grusupply.business.TagDemandTypeHome

public final class TagDemandTypeHome extends Object
This class provides instances management methods (create, find, ...) for TagDemandType objects
  • Method Details

    • create

      public static TagDemandType create(TagDemandType tagDemandType)
      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

      public static TagDemandType update(TagDemandType tagDemandType)
      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

      public static TagDemandType findByPrimaryKey(int nKey)
      Returns an instance of a tagDemandType whose identifier is specified in parameter
      Parameters:
      nKey - The tagDemandType primary key
      Returns:
      an instance of TagDemandType
    • getTagDemandTypesList

      public static List<TagDemandType> getTagDemandTypesList(int nIdDemandType)
      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

      public static List<TagDemandType> 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