Class IdentityDuplicateJspBean

  • All Implemented Interfaces:
    Serializable

    @Controller(controllerJsp="IdentityDuplicate.jsp",
                controllerPath="jsp/admin/plugins/identitymediation/",
                right="IDENTITYMEDIATION_MANAGEMENT")
    public class IdentityDuplicateJspBean
    extends AbstractIdentityDuplicateJspBean
    This class provides the user interface to manage identity duplicates (search, resolve)
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String doCancel​(javax.servlet.http.HttpServletRequest request)
      Cancel and release the acknowledgement for the 2 selected identities.
      String doCreateIdentityMergeTask​(javax.servlet.http.HttpServletRequest request)
      Create a merge demand by providing both CUIDs
      String doExcludeDuplicate​(javax.servlet.http.HttpServletRequest request)
      Marks the selected identity (the potential duplicate) as NOT being a duplicate of the previously selected identity.
      String doMergeDuplicate​(javax.servlet.http.HttpServletRequest request)
      Merges the selected identity (the duplicate) with the previously selected identity (the main identity).
      String doSwapIdentities​(javax.servlet.http.HttpServletRequest request)
      Swaps the selected identities to work with.
      String getAllDuplicates​(javax.servlet.http.HttpServletRequest request)
      Search duplicates for each rule
      String getDuplicateTypes​(javax.servlet.http.HttpServletRequest request)  
      String getResolveDuplicates​(javax.servlet.http.HttpServletRequest request)
      Returns the form to manually resolve an identity duplicates
      String getSearchDuplicates​(javax.servlet.http.HttpServletRequest request)
      Process the data to send the search request and returns the duplicates search form and results
      String getSelectIdentities​(javax.servlet.http.HttpServletRequest request)
      Returns the form to select which identities to process
      • Methods inherited from class fr.paris.lutece.portal.util.mvc.admin.MVCAdminJspBean

        processController
      • Methods inherited from class fr.paris.lutece.portal.web.admin.PluginAdminPageJspBean

        getPlugin, init
      • Methods inherited from class fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean

        getAdminPage, getFeatureIcon, getHomeUrl, getLocale, getPageTitle, getUser, setFeatureGroup, setFeatureIcon, setPageTitleProperty, validate, validate, validate
    • Constructor Detail

      • IdentityDuplicateJspBean

        public IdentityDuplicateJspBean()
    • Method Detail

      • getDuplicateTypes

        @View("chooseDuplicateType")
        public String getDuplicateTypes​(javax.servlet.http.HttpServletRequest request)
                                 throws fr.paris.lutece.portal.service.admin.AccessDeniedException
        Parameters:
        request -
        Returns:
        Throws:
        fr.paris.lutece.portal.service.admin.AccessDeniedException
      • getSearchDuplicates

        @View(value="searchDuplicates",
              defaultView=true)
        public String getSearchDuplicates​(javax.servlet.http.HttpServletRequest request)
                                   throws fr.paris.lutece.portal.service.admin.AccessDeniedException
        Process the data to send the search request and returns the duplicates search form and results
        Parameters:
        request - The Http request
        Returns:
        the html code of the duplicate form
        Throws:
        fr.paris.lutece.portal.service.admin.AccessDeniedException
      • getAllDuplicates

        @View("searchAllDuplicates")
        public String getAllDuplicates​(javax.servlet.http.HttpServletRequest request)
                                throws fr.paris.lutece.portal.service.admin.AccessDeniedException
        Search duplicates for each rule
        Parameters:
        request - the request
        Returns:
        the view
        Throws:
        fr.paris.lutece.portal.service.admin.AccessDeniedException
      • getSelectIdentities

        @View("selectIdentities")
        public String getSelectIdentities​(javax.servlet.http.HttpServletRequest request)
                                   throws fr.paris.lutece.portal.service.admin.AccessDeniedException
        Returns the form to select which identities to process
        Parameters:
        request -
        Returns:
        the view
        Throws:
        fr.paris.lutece.portal.service.admin.AccessDeniedException
      • getResolveDuplicates

        @View("resolveDuplicates")
        public String getResolveDuplicates​(javax.servlet.http.HttpServletRequest request)
                                    throws fr.paris.lutece.portal.service.admin.AccessDeniedException
        Returns the form to manually resolve an identity duplicates
        Parameters:
        request - The Http request
        Returns:
        the html code of the form
        Throws:
        fr.paris.lutece.portal.service.admin.AccessDeniedException
      • doSwapIdentities

        @Action("swapIdentities")
        public String doSwapIdentities​(javax.servlet.http.HttpServletRequest request)
                                throws fr.paris.lutece.portal.service.admin.AccessDeniedException
        Swaps the selected identities to work with.
        Parameters:
        request -
        Returns:
        the view
        Throws:
        fr.paris.lutece.portal.service.admin.AccessDeniedException
      • doMergeDuplicate

        @Action("mergeDuplicate")
        public String doMergeDuplicate​(javax.servlet.http.HttpServletRequest request)
                                throws fr.paris.lutece.portal.service.admin.AccessDeniedException
        Merges the selected identity (the duplicate) with the previously selected identity (the main identity).
        Parameters:
        request -
        Returns:
        Throws:
        fr.paris.lutece.portal.service.admin.AccessDeniedException
      • doExcludeDuplicate

        @Action("excludeDuplicate")
        public String doExcludeDuplicate​(javax.servlet.http.HttpServletRequest request)
                                  throws fr.paris.lutece.portal.service.admin.AccessDeniedException
        Marks the selected identity (the potential duplicate) as NOT being a duplicate of the previously selected identity.
        Parameters:
        request -
        Returns:
        Throws:
        fr.paris.lutece.portal.service.admin.AccessDeniedException
      • doCancel

        @Action("cancel")
        public String doCancel​(javax.servlet.http.HttpServletRequest request)
                        throws fr.paris.lutece.portal.service.admin.AccessDeniedException
        Cancel and release the acknowledgement for the 2 selected identities.
        Parameters:
        request -
        Returns:
        Throws:
        fr.paris.lutece.portal.service.admin.AccessDeniedException
      • doCreateIdentityMergeTask

        @Action("createIdentityMergeTask")
        public String doCreateIdentityMergeTask​(javax.servlet.http.HttpServletRequest request)
                                         throws fr.paris.lutece.portal.service.admin.AccessDeniedException
        Create a merge demand by providing both CUIDs
        Parameters:
        request -
        Returns:
        Throws:
        fr.paris.lutece.portal.service.admin.AccessDeniedException