Class CommonsService

java.lang.Object
fr.paris.lutece.portal.service.template.CommonsService

public class CommonsService extends Object
CommonsService
  • Method Details

    • getCommonsIncludes

      public static List<CommonsInclude> getCommonsIncludes()
      Get the list of commons includes
      Returns:
      The list
    • getCommonsImports

      public static List<CommonsImport> getCommonsImports()
      Get the list of commons imports
      Returns:
      The list
    • activateCommons

      public static void activateCommons(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 String getCurrentCommonsKey()
      Get the current commons key
      Returns:
      The key
    • getCommonsInclude

      public static CommonsInclude getCommonsInclude(String strKey)
      Get a commons include by its key
      Parameters:
      strKey - The key
      Returns:
      The commons include object
    • getCommonsImport

      public static CommonsImport getCommonsImport(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