java.lang.Object
fr.paris.lutece.plugins.identitystore.service.indexer.elastic.index.service.IdentityObjectHome

public class IdentityObjectHome extends Object
  • Constructor Details

    • IdentityObjectHome

      public IdentityObjectHome()
  • Method Details

    • getEligibleIdListForIndex

      public static List<Integer> getEligibleIdListForIndex()
      Get the list of identity ids that are eligible to indexing process
      Returns:
      the list of identity ids
    • findByCustomerId

      public static IdentityObject findByCustomerId(String customerId)
      Get an identity by its customer ID
      Parameters:
      customerId - The identifier of the identity
      Returns:
      The instance of the identity
    • loadEligibleIdentitiesForIndex

      public static List<IdentityObject> loadEligibleIdentitiesForIndex(List<Integer> idList)
      Load the identity objects that are eligible to indexing process and returns them as a list
      Parameters:
      limit - the limit size of the stream
      offset - the offset of the stream
      Returns:
      The list which contains the identity objects