Class UserAdminPrefs

    • Field Detail

      • DEFAULT_MAX_TABLE_ROWS

        public static final int DEFAULT_MAX_TABLE_ROWS
        The default maximum number of table rows.
        See Also:
        Constant Field Values
      • DEFAULT_SEARCH_FILTER_START_DATE

        public static final String DEFAULT_SEARCH_FILTER_START_DATE
        The default search filter start date.
        See Also:
        Constant Field Values
    • Constructor Detail

      • UserAdminPrefs

        public UserAdminPrefs()
    • Method Detail

      • getComposerPublishClientId

        public Long getComposerPublishClientId()
        Return the Composer Publishing Client ID filter.
        Returns:
        the composerPublishClientId
        Since:
        4.1.3
      • setComposerPublishClientId

        public void setComposerPublishClientId​(Long composerPublishClientId)
        Set the Composer Publishing Client ID filter.
        Parameters:
        composerPublishClientId - the composerPublishClientId to set
        Since:
        4.1.3
      • getGroovyScript

        public String getGroovyScript()
        Gets the groovy script.
        Returns:
        the Groovy Script
      • setGroovyScript

        public void setGroovyScript​(String value)
        Set the groovy script.
        Parameters:
        value - the Groovy Script to set
      • getGroovyScriptParameters

        public Map<String,​String> getGroovyScriptParameters()
        Gets the groovy script parameters.
        Returns:
        the groovyScriptParameters
      • setGroovyScriptParameters

        public void setGroovyScriptParameters​(Map<String,​String> groovyScriptParameters)
        Sets the groovy script parameters.
        Parameters:
        groovyScriptParameters - the groovyScriptParameters to set
      • getGroovyScriptTimeout

        public int getGroovyScriptTimeout()
        Returns:
        the groovyScriptTimeout
      • setGroovyScriptTimeout

        public void setGroovyScriptTimeout​(int groovyScriptTimeout)
        Parameters:
        groovyScriptTimeout - the groovyScriptTimeout to set
      • getMaxTableRows

        public int getMaxTableRows()
        Gets the max table rows.
        Returns:
        the max display table rows
      • setMaxTableRows

        public void setMaxTableRows​(int maxTableRows)
        Set the max display table rows.
        Parameters:
        maxTableRows - the max display table rows
      • getPortalPageViewParams

        public String getPortalPageViewParams()
        Gets the portal page view params.
        Returns:
        the portalPageViewParams
      • setPortalPageViewParams

        public void setPortalPageViewParams​(String portalPageViewParams)
        Sets the portal page view params.
        Parameters:
        portalPageViewParams - the portalPageViewParams to set
      • getSearchFilerStartDate

        public String getSearchFilerStartDate()
        Return the search filter start date.
        Returns:
        the search filter start date
      • setSearchFilerStartDate

        public void setSearchFilerStartDate​(String searchFilerStartDate)
        Set the search filter start date.
        Parameters:
        searchFilerStartDate - the search filter start date
      • getRecentFormIds

        public List<Long> getRecentFormIds()
        Return the list of recently accessed form IDs.
        Returns:
        the list of recently accessed form IDs
      • setRecentFormIds

        public void setRecentFormIds​(List<Long> recentFormIds)
        Set the list of recently accessed form IDs.
        Parameters:
        recentFormIds - the list of recently accessed form IDs
      • addRecentFormId

        public void addRecentFormId​(Long formId)
        Add a recently accessed form Id.
        Parameters:
        formId - recently accessed form Id
      • getRecentServiceIds

        public List<Long> getRecentServiceIds()
        Return the list of recently accessed service IDs.
        Returns:
        the list of recently accessed service IDs
        Since:
        5.0.0
      • setRecentServiceIds

        public void setRecentServiceIds​(List<Long> recentServiceIds)
        Set the list of recently accessed service IDs.
        Parameters:
        recentServiceIds - the list of recently accessed service IDs
        Since:
        5.0.0
      • addRecentServiceId

        public void addRecentServiceId​(Long serviceId)
        Add a recently accessed form Id.
        Parameters:
        serviceId - recently accessed service Id
        Since:
        5.0.0
      • restoreDefaults

        public void restoreDefaults()
        Restore the default preference values.
      • getGroovyScriptParameterTypes

        public Map<String,​String> getGroovyScriptParameterTypes()
        Gets the groovy script parameter types.
        Returns:
        the groovyScriptParameterTypes
      • setGroovyScriptParameterTypes

        public void setGroovyScriptParameterTypes​(Map<String,​String> groovyScriptParameterTypes)
        Sets the groovy script parameter types.
        Parameters:
        groovyScriptParameterTypes - the groovyScriptParameterTypes to set
      • getQueryJson

        public String getQueryJson​(String crdId)
        Returns the query JSON String used by the Reference Data
        Parameters:
        crdId - the ClientRefData.id
        Returns:
        the query JSON String
        Since:
        17.10.0
      • setQueryJson

        public void setQueryJson​(String crdId,
                                 String queryJson)
        Sets the query JSON String used by the Reference Data
        Parameters:
        crdId - the ClientRefData.id
        queryJson - the query JSON String associated with the Client Ref Data
        Since:
        17.10.0
      • getQueryJsonMap

        public Map<String,​String> getQueryJsonMap()
        Gets the query JSON map.
        Returns:
        the query JSON map
      • setQueryJsonMap

        public void setQueryJsonMap​(Map<String,​String> queryJsonMap)
        Sets the query JSON map.
        Parameters:
        queryJsonMap - the query JSON map to set
      • getShowPerfStats

        public Boolean getShowPerfStats()
        Return true if should show performance statistics.
        Returns:
        true if should show performance statistics
        Since:
        18.5.0
      • setShowPerfStats

        public void setShowPerfStats​(Boolean value)
        Set show performance statistics.
        Parameters:
        value - set whether to show performance stats
        Since:
        18.5.0