Class PdcSearchSessionController

    • Method Detail

      • getNbItemsPerPage

        public int getNbItemsPerPage()
        ************************************************************************************************************** PDC search methods (via DomainsBar) ****************************************************************************************************************
      • getIndexOfFirstItemToDisplay

        public int getIndexOfFirstItemToDisplay()
      • setIndexOfFirstItemToDisplay

        public void setIndexOfFirstItemToDisplay​(String index)
      • getIndexOfFirstResultToDisplay

        public int getIndexOfFirstResultToDisplay()
      • setIndexOfFirstResultToDisplay

        public void setIndexOfFirstResultToDisplay​(int index)
      • getDisplayParamChoices

        public String getDisplayParamChoices()
      • getNbResToDisplay

        public int getNbResToDisplay()
      • setNbResToDisplay

        public void setNbResToDisplay​(int nbResToDisplay)
      • getSortOrder

        public String getSortOrder()
      • setSortOrder

        public void setSortOrder​(String sortOrder)
      • getSortValue

        public int getSortValue()
      • setSortValue

        public void setSortValue​(int sortValue)
      • getResultGroupFilter

        public ResultGroupFilter getResultGroupFilter()
        Build the list of result group filter from current global search result
        Returns:
        new ResultGroupFilter object which contains all data to filter result
      • getSortedResultsToDisplay

        public List<GlobalSilverResult> getSortedResultsToDisplay​(boolean reallySortResults)
      • getTotalResults

        public int getTotalResults()
      • getCurrentValue

        public Value getCurrentValue()
      • setSecondaryAxis

        public void setSecondaryAxis​(String secondAxis)
      • getSecondaryAxis

        public String getSecondaryAxis()
      • removeAllCriterias

        public void removeAllCriterias()
      • setSelectedSilverContents

        public void setSelectedSilverContents​(List<GlobalSilverResult> silverContents)
      • getActiveThesaurus

        public boolean getActiveThesaurus()
      • getJargon

        public Jargon getJargon()
      • saveICenter

        public int saveICenter​(Interests ic)
        Interest Center methods / ****************************************************************************************************************
      • initUserPanel

        public String initUserPanel()
        UserPanel methods / ****************************************************************************************************************
      • buildComponentListWhereToSearch

        public void buildComponentListWhereToSearch​(String space,
                                                    String component)
        This method allows the user to search over optional space and/or component
        Parameters:
        space - an optional space identifier.
        component - an optional component identifier.
      • buildCustomComponentListWhereToSearch

        public void buildCustomComponentListWhereToSearch​(String space,
                                                          List<String> components)
        This method allows the user to search over optional space and/or components
        Parameters:
        space - an optional space identifier.
        components - an optional component list of identifier.
      • getAllowedSpaces

        public List<SpaceInstLight> getAllowedSpaces()
        Returns the list of allowed spaces/domains for the current user.
      • getAllowedComponents

        public List<SilverpeasComponentInstance> getAllowedComponents​(String space)
        Returns the list of allowed components for the current user in the given space/domain.
      • getSearchType

        public int getSearchType()
        Returns:
        type of search (Simple, Advanced or Expert)
      • setSearchType

        public void setSearchType​(int i)
        Parameters:
        i - - type of the current search
      • isRefreshEnabled

        public boolean isRefreshEnabled()
      • isXmlSearchVisible

        public boolean isXmlSearchVisible()
      • isPertinenceVisible

        public boolean isPertinenceVisible()
      • setXmlData

        public void setXmlData​(DataRecord xmlData)
      • getSearchPage

        public String getSearchPage()
      • setSearchPage

        public void setSearchPage​(String searchPage)
      • getSearchPageId

        public String getSearchPageId()
      • setSearchPageId

        public void setSearchPageId​(String searchPageId)
      • getResultPage

        public String getResultPage()
      • setResultPage

        public void setResultPage​(String resultPage)
      • getResultPageId

        public String getResultPageId()
      • setResultPageId

        public void setResultPageId​(String resultPageId)
      • getSpellingWords

        public List<String> getSpellingWords()
        gets suggestions or spelling words if a search doesn't return satisfying results. A minimal score trigger the suggestions search (0.5 by default)
        Returns:
        a list that contains suggestions.
      • getGlobalSR

        public List<GlobalSilverResult> getGlobalSR()
        Returns:
        the list of current global silver result
      • clearFilteredSR

        public void clearFilteredSR()
      • getCurrentResultsDisplay

        public int getCurrentResultsDisplay()
      • setCurrentResultsDisplay

        public void setCurrentResultsDisplay​(int currentResultsDisplay)
      • setCurrentResultsDisplay

        public void setCurrentResultsDisplay​(String param)
      • getXmlFormSortValue

        public String getXmlFormSortValue()
        Gets the XML form field used to realize sorting
        Returns:
        the xmlFormSortValue
      • setXmlFormSortValue

        public void setXmlFormSortValue​(String xmlFormSortValue)
        Sets the XML form field used to realize sorting
        Parameters:
        xmlFormSortValue - the xmlFormSortValue to set
      • getSortImplemtor

        public String getSortImplemtor()
        Gets the keyword to retreive the implementation class name to realize sorting or filtering
        Returns:
        the sortImplemtor
      • setSortImplemtor

        public void setSortImplemtor​(String sortImplementor)
        Parameters:
        sortImplementor - the sortImplementor to set
      • isEnableExternalSearch

        public boolean isEnableExternalSearch()
        Returns:
        the isEnableExternalSearch attribute
      • getSearchTypeConfig

        public List<SearchTypeConfigurationVO> getSearchTypeConfig()
        Retrieve configuration from properties file
        Returns:
        a list of search type configuration value object
      • getDataType

        public String getDataType()
        Returns:
        the dataType search
      • setDataType

        public void setDataType​(String dataType)
        Parameters:
        dataType - the dataType search to set
      • isDataTypeDefined

        public boolean isDataTypeDefined()
      • getSelectedFacetEntries

        public ResultFilterVO getSelectedFacetEntries()
      • setSelectedFacetEntries

        public void setSelectedFacetEntries​(ResultFilterVO selectedFacetEntries)
      • isPlatformUsesPDC

        public boolean isPlatformUsesPDC()
      • clearSearchParameters

        public void clearSearchParameters​(boolean clearPages)