Class CommonsService
- java.lang.Object
-
- fr.paris.lutece.portal.service.template.CommonsService
-
public class CommonsService extends java.lang.ObjectCommonsService
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidactivateCommons(java.lang.String strKey)Activate a commons librarystatic CommonsIncludegetCommonsInclude(java.lang.String strKey)Get a commons include by its keystatic ReferenceListgetCommonsIncludeList()Get the commons liststatic java.util.List<CommonsInclude>getCommonsIncludes()Get the list of commons includesstatic CommonsIncludegetCurrentCommonsInclude()Get the current commons includestatic java.lang.StringgetCurrentCommonsKey()Get the current commons keystatic CommonsIncludegetDefaultCommonsInclude()Get the default commons include
-
-
-
Method Detail
-
getCommonsIncludes
public static java.util.List<CommonsInclude> getCommonsIncludes()
Get the list of commons includes- Returns:
- The list
-
activateCommons
public static void activateCommons(java.lang.String strKey)
Activate a commons library- Parameters:
strKey- The commons key
-
getCommonsIncludeList
public static ReferenceList getCommonsIncludeList()
Get the commons list- Returns:
- The list
-
getCurrentCommonsKey
public static java.lang.String getCurrentCommonsKey()
Get the current commons key- Returns:
- The key
-
getCommonsInclude
public static CommonsInclude getCommonsInclude(java.lang.String strKey)
Get a commons include by its key- Parameters:
strKey- The key- Returns:
- The commons include object
-
getDefaultCommonsInclude
public static CommonsInclude getDefaultCommonsInclude()
Get the default commons include- Returns:
- The commons include object
-
getCurrentCommonsInclude
public static CommonsInclude getCurrentCommonsInclude()
Get the current commons include- Returns:
- The commons include object
-
-