Interface IDashBoardIdentityService

All Known Implementing Classes:
DashboardIdentityService

public interface IDashBoardIdentityService
The Interface IDashBoardIdentityService.
  • Method Details

    • getDashBoardIdentity

      DashboardIdentity getDashBoardIdentity(String strApplicationCode) throws fr.paris.lutece.portal.service.util.AppException
      Gets the dash board identity
      Parameters:
      strApplicationCode - the str application code
      Returns:
      the dash board identity
      Throws:
      fr.paris.lutece.portal.service.util.AppException - the app exception
    • getDashBoardIdentity

      DashboardIdentity getDashBoardIdentity(String strApplicationCode, String strGuid) throws fr.paris.lutece.portal.service.util.AppException
      Gets the dash board identity.
      Parameters:
      strApplicationCode - the str application code
      strGuid - the user guid
      Returns:
      the dash board identity
      Throws:
      fr.paris.lutece.portal.service.util.AppException - the app exception
    • checkDashboardIdentityFields

      Map<String,String> checkDashboardIdentityFields(DashboardIdentity dashboardIdentity, javax.servlet.http.HttpServletRequest request, boolean bOnlyCheckMandatory)
      Check fields format of dashboardIdentity.
      Parameters:
      dashboardIdentity - dashboardIdentity to check
      request - the httpServletrequest
      bOnlyCheckMandatory - true if only mandatory file must be checked
      Returns:
      a Map of errors
    • checkDashboardIdentityFields

      Map<String,String> checkDashboardIdentityFields(DashboardIdentity dashboardIdentity, javax.servlet.http.HttpServletRequest request, boolean bOnlyCheckMandatory, AttributeCategory attributeCategory)
      Check fields format of dashboardIdentity.
      Parameters:
      dashboardIdentity - dashboardIdentity to check
      request - the httpServletrequest
      bOnlyCheckMandatory - true if only mandatory file must be checked
      attributeCategory - only check attributeCategory
      Returns:
      a Map of errors
    • updateDashboardIdentity

      void updateDashboardIdentity(DashboardIdentity dashboardIdentity, boolean bUpdateOnlyManadtory) throws fr.paris.lutece.portal.service.util.AppException
      Update identitity using dashboardinformations.
      Parameters:
      dashboardIdentity - the dashboard identity
      bUpdateOnlyManadtory - Only Update mandatory Informations
      Throws:
      fr.paris.lutece.portal.service.util.AppException - the app exception
    • updateDashboardIdentity

      void updateDashboardIdentity(DashboardIdentity dashboardIdentity, boolean bUpdateOnlyManadtory, AttributeCategory attributeCategory) throws fr.paris.lutece.portal.service.util.AppException
      Update identitity using dashboardinformations.
      Parameters:
      dashboardIdentity - the dashboard identity
      bUpdateOnlyManadtory - Only Update mandatory Informations
      attributeCategory - update only DashbordIdentity Attribute in this Category
      Throws:
      fr.paris.lutece.portal.service.util.AppException - the app exception
    • getIdentityToUpdate

      fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.IdentityDto getIdentityToUpdate(DashboardIdentity dashboardIdentity, boolean bUpdateOnlyManadtory)
      Return an IdentityDTO object wich contains only identity fields to update
      Parameters:
      dashboardIdentity - the dashboard Identity
      bUpdateOnlyManadtory - only madantarory field must be updated
      Returns:
      an IdentityDTO object wich contains only identity fields to update
    • populateDashboardIdentity

      void populateDashboardIdentity(DashboardIdentity dashboardIdentity, javax.servlet.http.HttpServletRequest request)
      Populate dashboard identity.
      Parameters:
      dashboardIdentity - the identity
      request - the request
    • populateDashboardIdentity

      void populateDashboardIdentity(DashboardIdentity dashboardIdentity, javax.servlet.http.HttpServletRequest request, AttributeCategory attributeCategory)
      Populate dashboard identity.
      Parameters:
      dashboardIdentity - the identity
      request - the request
      attributeCategory - update only DashbordIdentity Attribute in this Category
    • getSuspiciousIdentities

      fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.DuplicateSearchResponse getSuspiciousIdentities(DashboardIdentity dashboardIdentity, List<String> listRules)
      Search suspicious identities
      Parameters:
      dashboardIdentity -
      listRules -
      Returns:
      suspicious identities
    • existSuspiciousIdentities

      boolean existSuspiciousIdentities(DashboardIdentity dashboardIdentity, List<String> listRules)
      Return true if exist suspicious identities
      Parameters:
      dashboardIdentity -
      listRules -
      Returns:
      true if exist suspicious identities
    • needCertification

      boolean needCertification(String strApplicationCode, String strGuid, DashboardIdentity dashboardIdentity, List<String> listAttributesNeedCertification, int nLevelMin, int nLevelMax) throws fr.paris.lutece.portal.service.util.AppException
      Throws:
      fr.paris.lutece.portal.service.util.AppException
    • getActiveServiceContract

      fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.contract.ServiceContractSearchResponse getActiveServiceContract(String strApplicationCode)
      Get active service contract
      Parameters:
      strApplicationCode -
      Returns:
      active service contract
    • checkDashboardIdentityFieldsFromServiceContract

      Map<String,String> checkDashboardIdentityFieldsFromServiceContract(DashboardIdentity dashboardIdentity, javax.servlet.http.HttpServletRequest request, boolean bOnlyCheckMandatory, String strAppCode)