Class ServerConfigurationService


  • public class ServerConfigurationService
    extends Object

    ServerConfigurationService is a static Cover for the ServerConfigurationService; see that interface for usage details.

    Version:
    $Revision$
    • Constructor Detail

      • ServerConfigurationService

        public ServerConfigurationService()
    • Method Detail

      • getInstance

        public static ServerConfigurationService getInstance()
        Access the component instance: special cover only method.
        Returns:
        the component instance.
      • getServerId

        public static String getServerId()
      • getServerInstance

        public static String getServerInstance()
      • getServerIdInstance

        public static String getServerIdInstance()
      • getServerName

        public static String getServerName()
      • getServerUrl

        public static String getServerUrl()
      • getAccessUrl

        public static String getAccessUrl()
      • getAccessPath

        public static String getAccessPath()
      • getHelpUrl

        public static String getHelpUrl​(String param0)
      • getPortalUrl

        public static String getPortalUrl()
      • getToolUrl

        public static String getToolUrl()
      • getGatewaySiteId

        public static String getGatewaySiteId()
      • getLoggedOutUrl

        public static String getLoggedOutUrl()
      • getUserHomeUrl

        public static String getUserHomeUrl()
      • getSakaiHomePath

        public static String getSakaiHomePath()
      • getBoolean

        public static boolean getBoolean​(String param0,
                                         boolean param1)
      • getString

        public static String getString​(String param0)
      • getStrings

        public static String[] getStrings​(String param0)
      • getToolOrder

        public static List getToolOrder​(String param0)
      • getToolsRequired

        public static List getToolsRequired​(String param0)
        Access the list of tools by group
        Parameters:
        category - The tool category
        Returns:
        An unordered list of tool ids (String) in selected group, or an empty list if there are none for this category.
      • getCategoryGroups

        public static List getCategoryGroups​(String param0)
        Access the list of groups by category (site type)
        Parameters:
        category - The tool category
        Returns:
        An ordered list of tool ids (String) indicating the desired tool display order, or an empty list if there are none for this category.
      • toolGroupIsSelected

        public static boolean toolGroupIsSelected​(String param0,
                                                  String param1)
      • toolGroupIsRequired

        public static boolean toolGroupIsRequired​(String param0,
                                                  String param1)
      • getToolGroup

        public static List getToolGroup​(String param0)
      • getDefaultTools

        public static List getDefaultTools​(String param0)
      • getInt

        public static int getInt​(String param0,
                                 int param1)
      • getToolCategories

        public static List<String> getToolCategories​(String category)
        access the list of tool categories for the given site type
        Parameters:
        category - the site type
        Returns:
        a list of tool category ids in order
      • getToolCategoriesAsMap

        public static Map<String,​List<String>> getToolCategoriesAsMap​(String category)
        access the map of tool categories to tool ids for this site type
        Parameters:
        category - the site type
        Returns:
        a map of tool category ids to tool ids
      • getToolToCategoryMap

        public static Map<String,​String> getToolToCategoryMap​(String category)
        access a map of tool id to tool category id for this site type
        Parameters:
        category - the site type
        Returns:
        map with tool id as key and category id as value