Class IdentityDAO

  • All Implemented Interfaces:
    IIdentityDAO

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

      • Fields inherited from interface fr.paris.lutece.plugins.identitystore.business.identity.IIdentityDAO

        BEAN_NAME
    • Constructor Summary

      Constructors 
      Constructor Description
      IdentityDAO()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addChangeHistory​(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.history.IdentityChange identityChange, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      log changes
      void addOrUpdateChangeHistory​(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.history.IdentityChange identityChange, fr.paris.lutece.portal.service.plugin.Plugin plugin)  
      void cancelMerge​(Identity identity, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Cancel identity merge
      void deleteAttributeHistory​(int identityId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Delete all attribute history of the identity's provided id.
      java.util.List<IndicatorsActionsType> getActionsTypesDuringInterval​(int interval, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Count how many actions and their type were done during an delimited time.
      java.lang.Integer getCountActiveMonParisdentities​(boolean monParisActive, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Count All identities that has been connected or not.
      java.util.Map<java.lang.Integer,​java.lang.Integer> getCountAttributesByIdentities​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Count how many attributes each entity has.
      java.lang.Integer getCountDeletedIdentities​(boolean deleted, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Count All identities that has been deleted or not.
      java.lang.Integer getCountIdentities​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Count All Identities.
      java.lang.Integer getCountIndexEligibleIdentities​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      java.lang.Integer getCountIndexNotEligibleIdentities​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      java.lang.Integer getCountMergedIdentities​(boolean merged, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Count All identities that has been merged or not.
      java.lang.Integer getCountUnmergedIdentitiesWithoutAttributes​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Count how many attributes has no attribute and isn't merged.
      java.util.List<java.lang.String> getHistoryStatusList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      java.sql.Timestamp getIdentityLastUpdateDate​(java.lang.String customerId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Get the identity last update date coresponding to the given customer ID
      IndicatorsActionsType getIndicatorFromQuery​(fr.paris.lutece.util.sql.DAOUtil daoUtil)  
      void hardDelete​(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Delete a record from the table
      void insert​(Identity identity, int dataRetentionPeriodInMonth, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Insert a new record in the table.
      Identity load​(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data from the table
      void merge​(Identity identity, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Merge identity
      java.lang.String newCustomerIdKey()
      Generates a new customerId key using Java UUID
      java.util.List<Identity> selectAll​(fr.paris.lutece.portal.service.plugin.Plugin plugin)  
      java.util.List<java.lang.String> selectByAttributeExisting​(java.util.List<java.lang.Integer> idAttributeList, int nbFilledAttributes, boolean notMerged, boolean notSuspicious, int rulePriority, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Find all identities that have all attributes specified in the list in parameters.
      Identities MUST have all those attributes in order to be returned.
      java.util.List<Identity> selectByAttributesValueForApiSearch​(java.util.List<fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.SearchAttribute> searchAttributes, int nMaxNbIdentityReturned, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Find by a combination of Attribute values.
      Identity selectByConnectionId​(java.lang.String strConnectionId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Find by connection ID
      Identity selectByCustomerId​(java.lang.String strCustomerId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Find by customer ID
      java.util.List<Identity> selectExpiredNotMergedAndNotConnectedIdentities​(int limit, boolean withGuidOnly, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Search for identities that are not connected, and have a past expirationDate.
      int selectIdByCustomerId​(java.lang.String strCustomerId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Find an identity ID from the specified customer ID
      java.util.List<fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.history.IdentityChange> selectIdentityHistoryByCustomerId​(java.lang.String strCustomerId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      get identity history
      java.util.List<fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.history.IdentityChange> selectIdentityHistoryBySearchParameters​(java.lang.String customerId, java.lang.String clientCode, java.lang.String authorName, fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.history.IdentityChangeType changeType, java.lang.String changeStatus, java.lang.String authorType, java.util.Date modificationDate, java.util.Map<java.lang.String,​java.lang.String> metadata, java.lang.Integer nbDaysFrom, org.apache.commons.lang3.tuple.Pair<java.util.Date,​java.util.Date> modificationDateInterval, fr.paris.lutece.portal.service.plugin.Plugin plugin, int nMaxNbIdentityReturned)
      Search for history entries that matches the following parameters
      java.util.List<Identity> selectMergedIdentities​(int identityId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Search for identities that are merged to the provided identity ID.
      Identity selectNotMergedByConnectionId​(java.lang.String strCustomerId, fr.paris.lutece.portal.service.plugin.Plugin plugin)  
      Identity selectNotMergedByCustomerId​(java.lang.String strCustomerId, fr.paris.lutece.portal.service.plugin.Plugin plugin)  
      java.util.List<java.lang.String> selectNotMergedNotConnectedWithNonCertifiedAttributeCustomerIds​(java.lang.String attributeKey, java.lang.String certProcess, int limit, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Search for identity customer IDs that are not connected, not merged, and have the specified attribute non-certified.
      java.util.List<fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.crud.UpdatedIdentityDto> selectUpdated​(java.lang.Integer days, java.util.List<fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.history.IdentityChangeType> identityChangeTypes, java.util.List<fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.SearchUpdatedAttribute> updatedAttributes, java.lang.Integer max, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      get identities that have been updated during the previous `days`.
      java.util.List<fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.crud.UpdatedIdentityDto> selectUpdatedFromIds​(java.util.List<java.lang.Integer> identityIds, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      select updated identities from their IDs.
      java.util.List<java.lang.Integer> selectUpdatedIds​(java.lang.Integer days, java.util.List<fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.history.IdentityChangeType> identityChangeTypes, java.util.List<fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.SearchUpdatedAttribute> updatedAttributes, java.lang.Integer max, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      get identity IDs that have been updated during the previous `days`.
      void softDelete​(java.lang.String strCuid, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Modify the columuns is_deleted and date_delete and connection_id to null
      void store​(Identity identity, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Update the record in the table
      • Methods inherited from class java.lang.Object

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

      • IdentityDAO

        public IdentityDAO()
    • Method Detail

      • newCustomerIdKey

        public java.lang.String newCustomerIdKey()
        Generates a new customerId key using Java UUID
        Returns:
        The new customerID
      • insert

        public void insert​(Identity identity,
                           int dataRetentionPeriodInMonth,
                           fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Insert a new record in the table.
        Specified by:
        insert in interface IIdentityDAO
        Parameters:
        identity - instance of the Identity object to insert
        plugin - the Plugin
      • load

        public Identity load​(int nKey,
                             fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data from the table
        Specified by:
        load in interface IIdentityDAO
        Parameters:
        nKey - The identifier of the identity
        plugin - the Plugin
        Returns:
        The instance of the identity
      • hardDelete

        public void hardDelete​(int nKey,
                               fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Delete a record from the table
        Specified by:
        hardDelete in interface IIdentityDAO
        Parameters:
        nKey - The identifier of the Identity to delete
        plugin - the Plugin
      • softDelete

        public void softDelete​(java.lang.String strCuid,
                               fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Modify the columuns is_deleted and date_delete and connection_id to null
        Specified by:
        softDelete in interface IIdentityDAO
        Parameters:
        strCuid - The id of the Identity to delete
        plugin - the Plugin
      • merge

        public void merge​(Identity identity,
                          fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Merge identity
        Specified by:
        merge in interface IIdentityDAO
      • cancelMerge

        public void cancelMerge​(Identity identity,
                                fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Description copied from interface: IIdentityDAO
        Cancel identity merge
        Specified by:
        cancelMerge in interface IIdentityDAO
      • store

        public void store​(Identity identity,
                          fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Update the record in the table
        Specified by:
        store in interface IIdentityDAO
        Parameters:
        identity - the reference of the Identity
        plugin - the Plugin
      • selectAll

        public java.util.List<Identity> selectAll​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Specified by:
        selectAll in interface IIdentityDAO
      • selectByConnectionId

        public Identity selectByConnectionId​(java.lang.String strConnectionId,
                                             fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Description copied from interface: IIdentityDAO
        Find by connection ID
        Specified by:
        selectByConnectionId in interface IIdentityDAO
        Parameters:
        strConnectionId - The connection ID
        plugin - The plugin
        Returns:
        The identity
      • selectByCustomerId

        public Identity selectByCustomerId​(java.lang.String strCustomerId,
                                           fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Description copied from interface: IIdentityDAO
        Find by customer ID
        Specified by:
        selectByCustomerId in interface IIdentityDAO
        Parameters:
        strCustomerId - The customerID
        plugin - The plugin
        Returns:
        The identity
      • selectNotMergedByCustomerId

        public Identity selectNotMergedByCustomerId​(java.lang.String strCustomerId,
                                                    fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Specified by:
        selectNotMergedByCustomerId in interface IIdentityDAO
      • selectIdByCustomerId

        public int selectIdByCustomerId​(java.lang.String strCustomerId,
                                        fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Description copied from interface: IIdentityDAO
        Find an identity ID from the specified customer ID
        Specified by:
        selectIdByCustomerId in interface IIdentityDAO
        Parameters:
        strCustomerId - the customer ID
        plugin - the plugin
        Returns:
        The identity ID
      • selectByAttributesValueForApiSearch

        public java.util.List<Identity> selectByAttributesValueForApiSearch​(java.util.List<fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.SearchAttribute> searchAttributes,
                                                                            int nMaxNbIdentityReturned,
                                                                            fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Find by a combination of Attribute values. Search for identities that match the conditions defined for each of the selected attributes, that is on each of these attributes the exact value is in a list of expected values (no wildcards).
        Specified by:
        selectByAttributesValueForApiSearch in interface IIdentityDAO
        Parameters:
        searchAttributes - The list of searched attributes selected with the list of values
        nMaxNbIdentityReturned - The maximum number of Identity returned in the list
        plugin - The plugin
        Returns:
        The identity
      • selectByAttributeExisting

        public java.util.List<java.lang.String> selectByAttributeExisting​(java.util.List<java.lang.Integer> idAttributeList,
                                                                          int nbFilledAttributes,
                                                                          boolean notMerged,
                                                                          boolean notSuspicious,
                                                                          int rulePriority,
                                                                          fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Find all identities that have all attributes specified in the list in parameters.
        Identities MUST have all those attributes in order to be returned.
        Specified by:
        selectByAttributeExisting in interface IIdentityDAO
        Parameters:
        idAttributeList - the attributes id
        nbFilledAttributes - minimum number of filled attributes over idAttributeList
        notMerged - if the returned identities have to be not merged
        notSuspicious - if the returned identities have to not be suspicious
        rulePriority - when suspicions are not filtered ( notSuspicious = false ), return only lower priority suspicions
        plugin - the plugin
        Returns:
        A list of matching identities
      • addChangeHistory

        public void addChangeHistory​(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.history.IdentityChange identityChange,
                                     fr.paris.lutece.portal.service.plugin.Plugin plugin)
                              throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
        Description copied from interface: IIdentityDAO
        log changes
        Specified by:
        addChangeHistory in interface IIdentityDAO
        Throws:
        fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
      • addOrUpdateChangeHistory

        public void addOrUpdateChangeHistory​(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.history.IdentityChange identityChange,
                                             fr.paris.lutece.portal.service.plugin.Plugin plugin)
                                      throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
        Specified by:
        addOrUpdateChangeHistory in interface IIdentityDAO
        Throws:
        fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
      • selectIdentityHistoryByCustomerId

        public java.util.List<fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.history.IdentityChange> selectIdentityHistoryByCustomerId​(java.lang.String strCustomerId,
                                                                                                                                            fr.paris.lutece.portal.service.plugin.Plugin plugin)
                                                                                                                                     throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
        get identity history
        Specified by:
        selectIdentityHistoryByCustomerId in interface IIdentityDAO
        Returns:
        the list of identity changes
        Throws:
        fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
      • selectUpdated

        public java.util.List<fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.crud.UpdatedIdentityDto> selectUpdated​(java.lang.Integer days,
                                                                                                                         java.util.List<fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.history.IdentityChangeType> identityChangeTypes,
                                                                                                                         java.util.List<fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.SearchUpdatedAttribute> updatedAttributes,
                                                                                                                         java.lang.Integer max,
                                                                                                                         fr.paris.lutece.portal.service.plugin.Plugin plugin)
        get identities that have been updated during the previous `days`.
        Specified by:
        selectUpdated in interface IIdentityDAO
        Parameters:
        days - max number of days since the last update
        identityChangeTypes - filters on specific change types
        updatedAttributes - filters on specific updated attributes
        Returns:
        the list of identities
      • selectUpdatedIds

        public java.util.List<java.lang.Integer> selectUpdatedIds​(java.lang.Integer days,
                                                                  java.util.List<fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.history.IdentityChangeType> identityChangeTypes,
                                                                  java.util.List<fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.SearchUpdatedAttribute> updatedAttributes,
                                                                  java.lang.Integer max,
                                                                  fr.paris.lutece.portal.service.plugin.Plugin plugin)
        get identity IDs that have been updated during the previous `days`.
        Specified by:
        selectUpdatedIds in interface IIdentityDAO
        Parameters:
        days - max number of days since the last update
        identityChangeTypes - filters on specific change types
        updatedAttributes - filters on specific updated attributes
        Returns:
        the list of identities
      • selectUpdatedFromIds

        public java.util.List<fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.crud.UpdatedIdentityDto> selectUpdatedFromIds​(java.util.List<java.lang.Integer> identityIds,
                                                                                                                                fr.paris.lutece.portal.service.plugin.Plugin plugin)
        select updated identities from their IDs.
        Specified by:
        selectUpdatedFromIds in interface IIdentityDAO
        Parameters:
        identityIds - list of desired identity IDs
        plugin - the plugin
        Returns:
        the list of identities
      • selectIdentityHistoryBySearchParameters

        public java.util.List<fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.history.IdentityChange> selectIdentityHistoryBySearchParameters​(java.lang.String customerId,
                                                                                                                                                  java.lang.String clientCode,
                                                                                                                                                  java.lang.String authorName,
                                                                                                                                                  fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.history.IdentityChangeType changeType,
                                                                                                                                                  java.lang.String changeStatus,
                                                                                                                                                  java.lang.String authorType,
                                                                                                                                                  java.util.Date modificationDate,
                                                                                                                                                  java.util.Map<java.lang.String,​java.lang.String> metadata,
                                                                                                                                                  java.lang.Integer nbDaysFrom,
                                                                                                                                                  org.apache.commons.lang3.tuple.Pair<java.util.Date,​java.util.Date> modificationDateInterval,
                                                                                                                                                  fr.paris.lutece.portal.service.plugin.Plugin plugin,
                                                                                                                                                  int nMaxNbIdentityReturned)
                                                                                                                                           throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
        Search for history entries that matches the following parameters
        Specified by:
        selectIdentityHistoryBySearchParameters in interface IIdentityDAO
        Parameters:
        customerId - customer id of the identity
        clientCode - client code that modified the identity
        authorName - name of the author that modified the identity
        changeType - the type of identity change
        metadata - metadata of the identity change
        nbDaysFrom - number of day from the current date
        Returns:
        Throws:
        fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
      • selectExpiredNotMergedAndNotConnectedIdentities

        public java.util.List<Identity> selectExpiredNotMergedAndNotConnectedIdentities​(int limit,
                                                                                        boolean withGuidOnly,
                                                                                        fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Search for identities that are not connected, and have a past expirationDate.
        Specified by:
        selectExpiredNotMergedAndNotConnectedIdentities in interface IIdentityDAO
        Parameters:
        limit - the max number of results
        plugin - the plugin
        Returns:
        a list of Identity
      • selectNotMergedNotConnectedWithNonCertifiedAttributeCustomerIds

        public java.util.List<java.lang.String> selectNotMergedNotConnectedWithNonCertifiedAttributeCustomerIds​(java.lang.String attributeKey,
                                                                                                                java.lang.String certProcess,
                                                                                                                int limit,
                                                                                                                fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Search for identity customer IDs that are not connected, not merged, and have the specified attribute non-certified.
        Specified by:
        selectNotMergedNotConnectedWithNonCertifiedAttributeCustomerIds in interface IIdentityDAO
        Parameters:
        attributeKey - the attribute key to be present and non-certified
        limit - the max number of returned identities
        Returns:
        a list of customer IDs
      • selectMergedIdentities

        public java.util.List<Identity> selectMergedIdentities​(int identityId,
                                                               fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Search for identities that are merged to the provided identity ID.
        Specified by:
        selectMergedIdentities in interface IIdentityDAO
        Parameters:
        identityId - the 'master' identity ID
        plugin - the plugin
        Returns:
        a list of Identity
      • deleteAttributeHistory

        public void deleteAttributeHistory​(int identityId,
                                           fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Delete all attribute history of the identity's provided id.
        Specified by:
        deleteAttributeHistory in interface IIdentityDAO
        Parameters:
        identityId - the identity's id
        plugin - the plugin
      • getIdentityLastUpdateDate

        public java.sql.Timestamp getIdentityLastUpdateDate​(java.lang.String customerId,
                                                            fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Get the identity last update date coresponding to the given customer ID
        Specified by:
        getIdentityLastUpdateDate in interface IIdentityDAO
        Parameters:
        customerId - the customer ID
        plugin - the plugin
        Returns:
        the last update date or null if the identity doesn't exist for the provided CUID
      • getCountIdentities

        public java.lang.Integer getCountIdentities​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Count All Identities.
        Specified by:
        getCountIdentities in interface IIdentityDAO
      • getCountDeletedIdentities

        public java.lang.Integer getCountDeletedIdentities​(boolean deleted,
                                                           fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Count All identities that has been deleted or not.
        Specified by:
        getCountDeletedIdentities in interface IIdentityDAO
        Parameters:
        deleted - define if the dao count deleted or not deleted identities
      • getCountMergedIdentities

        public java.lang.Integer getCountMergedIdentities​(boolean merged,
                                                          fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Count All identities that has been merged or not.
        Specified by:
        getCountMergedIdentities in interface IIdentityDAO
        Parameters:
        merged - define if the dao count merged or not merged identities
      • getCountActiveMonParisdentities

        public java.lang.Integer getCountActiveMonParisdentities​(boolean monParisActive,
                                                                 fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Count All identities that has been connected or not.
        Specified by:
        getCountActiveMonParisdentities in interface IIdentityDAO
        Parameters:
        monParisActive - define if the dao count connected or not connected identities
      • getCountAttributesByIdentities

        public java.util.Map<java.lang.Integer,​java.lang.Integer> getCountAttributesByIdentities​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Count how many attributes each entity has.
        Specified by:
        getCountAttributesByIdentities in interface IIdentityDAO
      • getCountUnmergedIdentitiesWithoutAttributes

        public java.lang.Integer getCountUnmergedIdentitiesWithoutAttributes​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Count how many attributes has no attribute and isn't merged.
        Specified by:
        getCountUnmergedIdentitiesWithoutAttributes in interface IIdentityDAO
      • getCountIndexEligibleIdentities

        public java.lang.Integer getCountIndexEligibleIdentities​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Specified by:
        getCountIndexEligibleIdentities in interface IIdentityDAO
      • getCountIndexNotEligibleIdentities

        public java.lang.Integer getCountIndexNotEligibleIdentities​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Specified by:
        getCountIndexNotEligibleIdentities in interface IIdentityDAO
      • getActionsTypesDuringInterval

        public java.util.List<IndicatorsActionsType> getActionsTypesDuringInterval​(int interval,
                                                                                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Count how many actions and their type were done during an delimited time.
        Specified by:
        getActionsTypesDuringInterval in interface IIdentityDAO
      • getHistoryStatusList

        public java.util.List<java.lang.String> getHistoryStatusList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Specified by:
        getHistoryStatusList in interface IIdentityDAO
      • getIndicatorFromQuery

        public IndicatorsActionsType getIndicatorFromQuery​(fr.paris.lutece.util.sql.DAOUtil daoUtil)