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 CommonsImportgetCommonsImport(java.lang.String strKey)Get a commons import by its keystatic java.util.List<CommonsImport>getCommonsImports()Get the list of commons importsstatic CommonsIncludegetCommonsInclude(java.lang.String strKey)Get a commons include by its keystatic java.util.List<CommonsInclude>getCommonsIncludes()Get the list of commons includesstatic ReferenceListgetCommonsList()Get the commons liststatic CommonsImportgetCurrentCommonsImport()Get the current commons importstatic CommonsIncludegetCurrentCommonsInclude()Get the current commons includestatic java.lang.StringgetCurrentCommonsKey()Get the current commons keystatic CommonsImportgetDefaultCommonsImport()Get the default commons importstatic 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
-
getCommonsImports
public static java.util.List<CommonsImport> getCommonsImports()
Get the list of commons imports- Returns:
- The list
-
activateCommons
public static void activateCommons(java.lang.String strKey)
Activate a commons library- Parameters:
strKey- The commons key
-
getCommonsList
public static ReferenceList getCommonsList()
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
-
getCommonsImport
public static CommonsImport getCommonsImport(java.lang.String strKey)
Get a commons import by its key- Parameters:
strKey- The key- Returns:
- The commons import object
-
getDefaultCommonsInclude
public static CommonsInclude getDefaultCommonsInclude()
Get the default commons include- Returns:
- The commons include object
-
getDefaultCommonsImport
public static CommonsImport getDefaultCommonsImport()
Get the default commons import- Returns:
- The commons import object
-
getCurrentCommonsInclude
public static CommonsInclude getCurrentCommonsInclude()
Get the current commons include- Returns:
- The commons include object
-
getCurrentCommonsImport
public static CommonsImport getCurrentCommonsImport()
Get the current commons import- Returns:
- The commons import object
-
-