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