Class AttributeRequirementHome


  • public final class AttributeRequirementHome
    extends Object
    This class provides instances management methods (create, find, ...) for AttributeRequirement objects
    • Method Detail

      • create

        public static AttributeRequirement create​(AttributeRequirement attributeRequirement,
                                                  ServiceContract serviceContract)
        Create an instance of the attributeRequirement class
        Parameters:
        attributeRequirement - The instance of the AttributeRequirement which contains the informations to store
        Returns:
        The instance of attributeRequirement which has been created with its primary key.
      • update

        public static AttributeRequirement update​(AttributeRequirement attributeRequirement)
        Update of the attributeRequirement which is specified in parameter
        Parameters:
        attributeRequirement - The instance of the AttributeRequirement which contains the data to store
        Returns:
        The instance of the attributeRequirement which has been updated
      • remove

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

        public static Optional<AttributeRequirement> findByPrimaryKey​(int nKey)
        Returns an instance of a attributeRequirement whose identifier is specified in parameter
        Parameters:
        nKey - The attributeRequirement primary key
        Returns:
        an instance of AttributeRequirement
      • getAttributeRequirementsList

        public static List<AttributeRequirement> getAttributeRequirementsList()
        Load the data of all the attributeRequirement objects and returns them as a list
        Returns:
        the list which contains the data of all the attributeRequirement objects
      • getIdAttributeRequirementsList

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

        public static fr.paris.lutece.util.ReferenceList getAttributeRequirementsReferenceList()
        Load the data of all the attributeRequirement objects and returns them as a referenceList
        Returns:
        the referenceList which contains the data of all the attributeRequirement objects
      • getAttributeRequirementsListByIds

        public static List<AttributeRequirement> getAttributeRequirementsListByIds​(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