Class WebConfiguration

java.lang.Object
org.serviceconnector.conf.WebConfiguration

public class WebConfiguration extends Object
The Class WebConfiguration.
  • Constructor Details

    • WebConfiguration

      public WebConfiguration()
      Instantiates a new SCMP cache configuration.
  • Method Details

    • load

      public void load(org.apache.commons.configuration2.CompositeConfiguration compositeConfiguration) throws Exception
      Loads web parameters from properties file.
      Service Connector web parameters:
      web.xslTransformationCache.enabled=true
      Parameters:
      compositeConfiguration - the composite configuration
      Throws:
      Exception - the exception
    • isTransletEnabled

      public boolean isTransletEnabled()
      Checks if is translet enabled.
      Returns:
      true, if is translet enabled
    • getWebSessionScheduleTimeoutSeconds

      public int getWebSessionScheduleTimeoutSeconds()
      Gets the web session schedule timeout seconds.
      Returns:
      the web session schedule timeout seconds
    • getWebSessionTimeoutMinutes

      public int getWebSessionTimeoutMinutes()
      Gets the web session timeout minutes.
      Returns:
      the web session timeout minutes
    • getPageHeaderPrefix

      public String getPageHeaderPrefix()
      Gets the page header prefix.
      Returns:
      the page header prefix
    • getScDownloadService

      public String getScDownloadService()
      Gets the sc download service.
      Returns:
      the sc download service
    • getScUploadService

      public String getScUploadService()
      Gets the sc upload service.
      Returns:
      the sc upload service
    • isScTerminateAllowed

      public boolean isScTerminateAllowed()
      Checks if is SC can be terminated from the GUI.
      Returns:
      true, if termination is allowed
    • getColorScheme

      public String getColorScheme()
      Gets the color scheme
      Returns:
      the color scheme name