Class IdentityObjectDAO

  • All Implemented Interfaces:
    IIdentityObjectDAO

    public final class IdentityObjectDAO
    extends java.lang.Object
    implements IIdentityObjectDAO
    This class provides Data Access methods for Identity objects
    • Field Summary

      • Fields inherited from interface fr.paris.lutece.plugins.identitystore.service.indexer.elastic.index.business.IIdentityObjectDAO

        BEAN_NAME
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<java.lang.Integer> getEligibleIdListForIndex​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Get the list of identity ids that are eligible to indexing process
      java.util.List<IdentityObject> loadEligibleIdentitiesForIndex​(java.util.List<java.lang.Integer> idList, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the identity objects that are eligible to indexing process and returns them as a list
      IdentityObject loadFull​(java.lang.String customerId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data from the table
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • IdentityObjectDAO

        public IdentityObjectDAO()
    • Method Detail

      • loadFull

        public IdentityObject loadFull​(java.lang.String customerId,
                                       fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data from the table
        Specified by:
        loadFull in interface IIdentityObjectDAO
        Parameters:
        customerId - The identifier of the identity
        plugin - the Plugin
        Returns:
        The instance of the identity
      • getEligibleIdListForIndex

        public java.util.List<java.lang.Integer> getEligibleIdListForIndex​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Get the list of identity ids that are eligible to indexing process
        Specified by:
        getEligibleIdListForIndex in interface IIdentityObjectDAO
        Parameters:
        plugin - the plugin
        Returns:
        the list of identity ids
      • loadEligibleIdentitiesForIndex

        public java.util.List<IdentityObject> loadEligibleIdentitiesForIndex​(java.util.List<java.lang.Integer> idList,
                                                                             fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the identity objects that are eligible to indexing process and returns them as a list
        Specified by:
        loadEligibleIdentitiesForIndex in interface IIdentityObjectDAO
        Parameters:
        idList - the list of identity ids to be loaded
        plugin - the Plugin
        Returns:
        The list which contains the identity objects