java.lang.Object
fr.paris.lutece.plugins.notificationstore.business.DemandTypeHome

public final class DemandTypeHome extends Object
This class provides instances management methods (create, find, ...) for DemandType objects
  • Method Summary

    Modifier and Type
    Method
    Description
    static fr.paris.lutece.plugins.grubusiness.business.demand.DemandType
    create(fr.paris.lutece.plugins.grubusiness.business.demand.DemandType demandType)
    Create an instance of the demandType class
    static Optional<fr.paris.lutece.plugins.grubusiness.business.demand.DemandType>
    findByPrimaryKey(int nKey)
    Returns an instance of a demandType whose identifier is specified in parameter
    static Optional<fr.paris.lutece.plugins.grubusiness.business.demand.DemandType>
    Returns an instance of a demandType whose identifier is specified in parameter
    static List<fr.paris.lutece.plugins.grubusiness.business.demand.DemandType>
    Load the data of all the demandType objects and returns them as a list
    static List<fr.paris.lutece.plugins.grubusiness.business.demand.DemandType>
    Load the data of all the demandType objects by category code and returns them as a list
    static List<fr.paris.lutece.plugins.grubusiness.business.demand.DemandType>
    Load the data of all the avant objects and returns them as a list
    static fr.paris.lutece.util.ReferenceList
    get a reference list of demand types
    static List<Integer>
    Load the id of all the demandType objects and returns them as a list
    static void
    remove(int nKey)
    Remove the demandType whose identifier is specified in parameter
    static List<Integer>
    searchItemsIdList(Map<String,String> mapFilterCriteria, String strColumnToOrder, String strSortMode)
     
    static fr.paris.lutece.plugins.grubusiness.business.demand.DemandType
    update(fr.paris.lutece.plugins.grubusiness.business.demand.DemandType demandType)
    Update of the demandType which is specified in parameter

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • create

      public static fr.paris.lutece.plugins.grubusiness.business.demand.DemandType create(fr.paris.lutece.plugins.grubusiness.business.demand.DemandType demandType)
      Create an instance of the demandType class
      Parameters:
      demandType - The instance of the DemandType which contains the informations to store
      Returns:
      The instance of demandType which has been created with its primary key.
    • update

      public static fr.paris.lutece.plugins.grubusiness.business.demand.DemandType update(fr.paris.lutece.plugins.grubusiness.business.demand.DemandType demandType)
      Update of the demandType which is specified in parameter
      Parameters:
      demandType - The instance of the DemandType which contains the data to store
      Returns:
      The instance of the demandType which has been updated
    • remove

      public static void remove(int nKey)
      Remove the demandType whose identifier is specified in parameter
      Parameters:
      nKey - The demandType Id
    • findByPrimaryKey

      public static Optional<fr.paris.lutece.plugins.grubusiness.business.demand.DemandType> findByPrimaryKey(int nKey)
      Returns an instance of a demandType whose identifier is specified in parameter
      Parameters:
      nKey - The demandType primary key
      Returns:
      an instance of DemandType
    • getDemandType

      public static Optional<fr.paris.lutece.plugins.grubusiness.business.demand.DemandType> getDemandType(String type_id)
      Returns an instance of a demandType whose identifier is specified in parameter
      Parameters:
      nKey - The demandType primary key
      Returns:
      an instance of DemandType
    • getDemandTypesList

      public static List<fr.paris.lutece.plugins.grubusiness.business.demand.DemandType> getDemandTypesList()
      Load the data of all the demandType objects and returns them as a list
      Returns:
      the list which contains the data of all the demandType objects
    • getIdDemandTypesList

      public static List<Integer> getIdDemandTypesList()
      Load the id of all the demandType objects and returns them as a list
      Returns:
      the list which contains the id of all the demandType objects
    • getDemandTypesListByIds

      public static List<fr.paris.lutece.plugins.grubusiness.business.demand.DemandType> getDemandTypesListByIds(List<Integer> listIds)
      Load the data of all the avant objects and returns them as a list
      Parameters:
      listIds - liste of ids
      Returns:
      the list which contains the data of all the avant objects
    • getDemandTypesReferenceList

      public static fr.paris.lutece.util.ReferenceList getDemandTypesReferenceList()
      get a reference list of demand types
      Returns:
      the reference list
    • getDemandTypesListByCategoryCode

      public static List<fr.paris.lutece.plugins.grubusiness.business.demand.DemandType> getDemandTypesListByCategoryCode(String strCategoryCode)
      Load the data of all the demandType objects by category code and returns them as a list
      Parameters:
      strCategoryCode -
      Returns:
      the list which contains the data of all the demandType objects by category code
    • searchItemsIdList

      public static List<Integer> searchItemsIdList(Map<String,String> mapFilterCriteria, String strColumnToOrder, String strSortMode)