Package org.sakaiproject.site.util
Class SiteTypeUtil
- java.lang.Object
-
- org.sakaiproject.site.util.SiteTypeUtil
-
public class SiteTypeUtil extends Object
-
-
Constructor Summary
Constructors Constructor Description SiteTypeUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static List<String>getCourseSiteTypes()get all site type strings associated with course site typestatic List<String>getProjectSiteTypes()get all site type strings associated with project site typestatic StringgetTargetSiteType(String siteType)returns the site type String to use for sites created based on the template site with siteTypestatic booleanisCourseSite(String siteType)Is the siteType of course site typesstatic booleanisProjectSite(String siteType)Is the siteType of project site types
-
-
-
Method Detail
-
getCourseSiteTypes
public static List<String> getCourseSiteTypes()
get all site type strings associated with course site type- Returns:
-
getProjectSiteTypes
public static List<String> getProjectSiteTypes()
get all site type strings associated with project site type- Returns:
-
isCourseSite
public static boolean isCourseSite(String siteType)
Is the siteType of course site types- Parameters:
siteType-- Returns:
-
isProjectSite
public static boolean isProjectSite(String siteType)
Is the siteType of project site types- Parameters:
siteType-- Returns:
-
-