Tabnine Logo
PortalConfiguration.getBoolean
Code IndexAdd Tabnine to your IDE (free)

How to use
getBoolean
method
in
org.apache.jetspeed.administration.PortalConfiguration

Best Java code snippets using org.apache.jetspeed.administration.PortalConfiguration.getBoolean (Showing top 7 results out of 315)

origin: org.apache.portals.jetspeed-2/jetspeed-portal

public void start()
{
  if (Jetspeed.getConfiguration() != null) {
    this.autoRefreshEnabled = Jetspeed.getConfiguration().getBoolean(PortalConfigurationConstants.AUTO_REFRESH_ENABLED, true);
  }
}
origin: org.apache.portals.jetspeed-2/jetspeed-registry

public void init()
{
  try {
    configuration = Jetspeed.getComponentManager().lookupComponent("PortalConfiguration");
  }
  catch (Exception e) {
    configuration = null; // not set in some unit tests
  }
  if (configuration != null) {
    enableSessionCache = configuration.getBoolean(PortalConfigurationConstants.ENABLED_PREFERENCES_SESSION_CACHE);
  }
  else {
    enableSessionCache = false;
  }
}
origin: org.apache.portals.jetspeed-2/jetspeed-portal

xssRequestEnabled = portalConfiguration.getBoolean(PortalConfigurationConstants.XSS_FILTER_REQUEST, true);
xssPostEnabled = portalConfiguration.getBoolean(PortalConfigurationConstants.XSS_FILTER_POST, false);
if (xssPostEnabled) {
  XSSRequestWrapper.initPatterns(portalConfiguration.getStringArray(PortalConfigurationConstants.XSS_REGEX),
origin: org.apache.portals.jetspeed-2/jetspeed-portal

boolean redirectHomeSpace = Jetspeed.getConfiguration().getBoolean(PortalConfigurationConstants.JETUI_REDIRECT_HOME_SPACE, true);
if (redirectHomeSpace && jetuiMode.equals(PortalConfigurationConstants.JETUI_CUSTOMIZATION_AJAX)) {
  String destination = (String)session.getAttribute(LoginConstants.DESTINATION);
origin: org.apache.portals.jetspeed-2/jetspeed-portal

  new Boolean(Jetspeed.getContext().getConfiguration().getBoolean("merge.portal.parameters.with.portlet.parameters", false));
mergePortalParametersBeforePortletParameters = 
  new Boolean(Jetspeed.getContext().getConfiguration().getBoolean("merge.portal.parameters.before.portlet.parameters", false));
origin: org.apache.portals.jetspeed-2/jetspeed-portal

public AbstractPortalURL(NavigationalState navState, PortalContext portalContext)
{
  if ( navStateParameter == null )
  {
    navStateParameter = 
      portalContext.getConfigurationProperty("portalurl.navigationalstate.parameter.name", 
          DEFAULT_NAV_STATE_PARAMETER);
  }
  this.navState = navState;
  if ( relativeOnly == null )
  {
    relativeOnly = new Boolean(portalContext.getConfiguration().getBoolean("portalurl.relative.only", false));
  }
  if (pagePipeline == null) {
    synchronized (lock) {
      String pagePipelineName = portalContext.getConfiguration().getString(JetspeedEngineConstants.PIPELINE_DEFAULT, "/portal");
      PipelineMapper pipelineMapper = Jetspeed.getEngine().getComponentManager().lookupComponent("pipeline-mapper");
      pagePipeline = pipelineMapper.getMappedPathByPipelineId(pagePipelineName);
      portletPipeline = pipelineMapper.getMappedPathByPipelineId(PortalReservedParameters.PORTLET_PIPELINE);
    }
  }
}

origin: org.apache.portals.jetspeed-2/jetspeed-portal

String jetuiMode = Jetspeed.getConfiguration().getString(PortalConfigurationConstants.JETUI_CUSTOMIZATION_METHOD, PortalConfigurationConstants.JETUI_CUSTOMIZATION_SERVER);
this.ajaxCustomization = (jetuiMode.equals(PortalConfigurationConstants.JETUI_CUSTOMIZATION_AJAX));
this.autoRefreshEnabled = Jetspeed.getConfiguration().getBoolean(PortalConfigurationConstants.AUTO_REFRESH_ENABLED, true);
org.apache.jetspeed.administrationPortalConfigurationgetBoolean

Javadoc

Retrieve a portal configuration setting

Popular methods of PortalConfiguration

  • getString
    Retrieve a portal configuration setting
  • getStringArray
    Retrieve the multivalued string array of portal configuration setting for a given key
  • getKeys
    Retrieve an iterator over the keys of all portal configuration settings
  • getList
    Retrieve a list of multivalued portal configuration settings
  • setString
    Set a non-persisted (runtime only) configuration setting value for a given key

Popular in Java

  • Updating database using SQL prepared statement
  • setScale (BigDecimal)
  • getSupportFragmentManager (FragmentActivity)
  • getContentResolver (Context)
  • ObjectMapper (com.fasterxml.jackson.databind)
    ObjectMapper provides functionality for reading and writing JSON, either to and from basic POJOs (Pl
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • InputStreamReader (java.io)
    A class for turning a byte stream into a character stream. Data read from the source input stream is
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • ConcurrentHashMap (java.util.concurrent)
    A plug-in replacement for JDK1.5 java.util.concurrent.ConcurrentHashMap. This version is based on or
  • JComboBox (javax.swing)
  • Top plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now