java.lang.Object
fr.paris.lutece.plugins.identityexport.business.ProfileHome

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

    • create

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

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

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

      public static Optional<Profile> findByPrimaryKey(int nKey)
      Returns an instance of a profil whose identifier is specified in parameter
      Parameters:
      nKey - The profil primary key
      Returns:
      an instance of Profil
    • getProfilsList

      public static List<Profile> getProfilsList()
      Load the data of all the profil objects and returns them as a list
      Returns:
      the list which contains the data of all the profil objects
    • getIdProfilsList

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

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

      public static List<Profile> getProfilsListByIds(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
    • getProfilsListAutoExtract

      public static List<Profile> getProfilsListAutoExtract()
      Load the id of all the profil objects and returns them as a list
      Returns:
      the list which contains the id of all the profil objects