Class CandidateIdentityAttributeHome

java.lang.Object
fr.paris.lutece.plugins.identityimport.business.CandidateIdentityAttributeHome

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

    • create

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

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

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

      public static void delete(List<Integer> idIdentities)
    • findByPrimaryKey

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

      public static List<Integer> getIdCandidateIdentityAttributesList(int idIdentity)
      Load the id of all the candidateIdentityAttribute objects and returns them as a list
      Returns:
      the list which contains the id of all the candidateIdentityAttribute objects
    • getCandidateIdentityAttributesList

      public static List<CandidateIdentityAttribute> getCandidateIdentityAttributesList(int idIdentity)
      Load the id of all the candidateIdentityAttribute objects and returns them as a list
      Returns:
      the list which contains the id of all the candidateIdentityAttribute objects
    • getCandidateIdentityAttributesListByIds

      public static List<CandidateIdentityAttribute> getCandidateIdentityAttributesListByIds(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