Package org.sakaiproject.sitemanage.api
Interface SiteTypeProvider
-
public interface SiteTypeProviderThis is to allow individual Sakai deployment to add customized site types and logic to apply those to users- Author:
- zqian
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetSiteAlias(String type, List<String> params)Construct site alias for certain typeStringgetSiteDescription(String type, List<String> params)Construct site title for certain typeStringgetSiteShortDescription(String type, List<String> params)Construct site title for certain typeStringgetSiteTitle(String type, List<String> params)Construct site title for certain typeHashMap<String,String>getTemplateForSiteTypes()List of template site for creating certain types of sitesList<String>getTypes()The whole list of customized typesList<String>getTypesForSiteCreation()The site types would show up in the site creation listList<String>getTypesForSiteList()The site types for site list view
-
-
-
Method Detail
-
getTypesForSiteCreation
List<String> getTypesForSiteCreation()
The site types would show up in the site creation list- Returns:
-
getTemplateForSiteTypes
HashMap<String,String> getTemplateForSiteTypes()
List of template site for creating certain types of sites- Returns:
-
getSiteTitle
String getSiteTitle(String type, List<String> params)
Construct site title for certain type- Parameters:
type-params-- Returns:
-
getSiteDescription
String getSiteDescription(String type, List<String> params)
Construct site title for certain type- Parameters:
type-params-- Returns:
-
getSiteShortDescription
String getSiteShortDescription(String type, List<String> params)
Construct site title for certain type- Parameters:
type-params-- Returns:
-
-