Class AttributeMappingHome

java.lang.Object
fr.paris.lutece.plugins.mylutece.modules.users.business.AttributeMappingHome

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

    • create

      public static AttributeMapping create(AttributeMapping attributeMapping)
      Create an instance of the attributeMapping class
      Parameters:
      attributeMapping - The instance of the AttributeMapping which contains the informations to store
      Returns:
      The instance of attributeMapping which has been created with its primary key.
    • update

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

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

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

      public static List<AttributeMapping> getAttributeMappingsList()
      Load the data of all the attributeMapping objects and returns them as a list
      Returns:
      the list which contains the data of all the attributeMapping objects
    • getIdAttributeMappingsList

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

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