Class IdentityObjectHome
- java.lang.Object
-
- fr.paris.lutece.plugins.identitystore.service.indexer.elastic.index.service.IdentityObjectHome
-
public class IdentityObjectHome extends Object
-
-
Constructor Summary
Constructors Constructor Description IdentityObjectHome()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IdentityObjectfindByCustomerId(String customerId)Get an identity by its customer IDstatic List<Integer>getEligibleIdListForIndex()Get the list of identity ids that are eligible to indexing processstatic List<IdentityObject>loadEligibleIdentitiesForIndex(List<Integer> idList)Load the identity objects that are eligible to indexing process and returns them as a list
-
-
-
Method Detail
-
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 streamoffset- the offset of the stream- Returns:
- The list which contains the identity objects
-
-