Package org.sakaiproject.component.cover
Class ServerConfigurationService
- java.lang.Object
-
- org.sakaiproject.component.cover.ServerConfigurationService
-
public class ServerConfigurationService extends Object
ServerConfigurationService is a static Cover for the
ServerConfigurationService; see that interface for usage details.- Version:
- $Revision$
-
-
Field Summary
Fields Modifier and Type Field Description static StringCURRENT_PORTAL_PATHstatic StringCURRENT_SERVER_URLstatic StringSERVICE_NAME
-
Constructor Summary
Constructors Constructor Description ServerConfigurationService()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringgetAccessPath()static StringgetAccessUrl()static booleangetBoolean(String param0, boolean param1)static ListgetCategoryGroups(String param0)Access the list of groups by category (site type)static ListgetDefaultTools(String param0)static StringgetGatewaySiteId()static StringgetHelpUrl(String param0)static ServerConfigurationServicegetInstance()Access the component instance: special cover only method.static intgetInt(String param0, int param1)static StringgetLoggedOutUrl()static StringgetPortalUrl()static StringgetSakaiHomePath()static StringgetServerId()static StringgetServerIdInstance()static StringgetServerInstance()static StringgetServerName()static StringgetServerUrl()static StringgetString(String param0)static StringgetString(String param0, String param1)static String[]getStrings(String param0)static List<String>getToolCategories(String category)access the list of tool categories for the given site typestatic Map<String,List<String>>getToolCategoriesAsMap(String category)access the map of tool categories to tool ids for this site typestatic ListgetToolGroup(String param0)static ListgetToolOrder(String param0)static ListgetToolsRequired(String param0)Access the list of tools by groupstatic Map<String,String>getToolToCategoryMap(String category)access a map of tool id to tool category id for this site typestatic StringgetToolUrl()static StringgetUserHomeUrl()static booleantoolGroupIsRequired(String param0, String param1)static booleantoolGroupIsSelected(String param0, String param1)
-
-
-
Field Detail
-
CURRENT_SERVER_URL
public static final String CURRENT_SERVER_URL
- See Also:
- Constant Field Values
-
CURRENT_PORTAL_PATH
public static final String CURRENT_PORTAL_PATH
- See Also:
- Constant Field Values
-
SERVICE_NAME
public static String SERVICE_NAME
-
-
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()
-
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)
-
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.
-
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
-
-