Codota Logo
CmsUserSettings$CmsSearchResultStyle.getMode
Code IndexAdd Codota to your IDE (free)

How to use
getMode
method
in
org.opencms.db.CmsUserSettings$CmsSearchResultStyle

Best Java code snippets using org.opencms.db.CmsUserSettings$CmsSearchResultStyle.getMode (Showing top 6 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
LocalDateTime l =
  • Codota Iconnew LocalDateTime()
  • Codota IconLocalDateTime.now()
  • Codota IconDateTimeFormatter formatter;String text;formatter.parseLocalDateTime(text)
  • Smart code suggestions by Codota
}
origin: org.opencms/opencms-core

/**
 * Returns the copy mode object from the old copy mode integer.<p>
 *
 * @param mode the old copy mode integer
 *
 * @return the copy mode object
 */
public static CmsSearchResultStyle valueOf(String mode) {
  if (STYLE_LIST_WITHOUT_EXCERPTS.getMode().equals(mode)) {
    return STYLE_LIST_WITHOUT_EXCERPTS;
  } else if (STYLE_LIST_WITH_EXCERPTS.getMode().equals(mode)) {
    return STYLE_LIST_WITH_EXCERPTS;
  } else {
    return STYLE_EXPLORER;
  }
}
origin: org.opencms/opencms-solr

/**
 * Returns the copy mode object from the old copy mode integer.<p>
 * 
 * @param mode the old copy mode integer
 * 
 * @return the copy mode object
 */
public static CmsSearchResultStyle valueOf(String mode) {
  if (STYLE_LIST_WITHOUT_EXCERPTS.getMode().equals(mode)) {
    return STYLE_LIST_WITHOUT_EXCERPTS;
  } else if (STYLE_LIST_WITH_EXCERPTS.getMode().equals(mode)) {
    return STYLE_LIST_WITH_EXCERPTS;
  } else {
    return STYLE_EXPLORER;
  }
}
origin: org.opencms/org.opencms.workplace

values.add(CmsSearchResultStyle.STYLE_EXPLORER.getMode());
if (getParamTabExWorkplaceSearchResult().equals(CmsSearchResultStyle.STYLE_EXPLORER.toString())) {
values.add(CmsSearchResultStyle.STYLE_LIST_WITH_EXCERPTS.getMode());
if (getParamTabExWorkplaceSearchResult().equals(CmsSearchResultStyle.STYLE_LIST_WITH_EXCERPTS.toString())) {
values.add(CmsSearchResultStyle.STYLE_LIST_WITHOUT_EXCERPTS.getMode());
if (getParamTabExWorkplaceSearchResult().equals(CmsSearchResultStyle.STYLE_LIST_WITHOUT_EXCERPTS.toString())) {
origin: org.opencms/org.opencms.workplace

/**
 * Sets the "workplace search result style".<p>
 *
 * @param style the "workplace search result style" to set
 */
public void setParamTabExWorkplaceSearchResult(String style) {
  if (style == null) {
    style = OpenCms.getWorkplaceManager().getDefaultUserSettings().getWorkplaceSearchViewStyle().getMode();
  }
  m_userSettings.setWorkplaceSearchViewStyle(CmsSearchResultStyle.valueOf(style));
}
origin: org.opencms/opencms-solr

/**
 * Sets the "workplace search result style".<p>
 * 
 * @param style the "workplace search result style" to set
 */
public void setParamTabExWorkplaceSearchResult(String style) {
  if (style == null) {
    style = OpenCms.getWorkplaceManager().getDefaultUserSettings().getWorkplaceSearchViewStyle().getMode();
  }
  m_userSettings.setWorkplaceSearchViewStyle(CmsSearchResultStyle.valueOf(style));
}
origin: org.opencms/opencms-solr

values.add(CmsSearchResultStyle.STYLE_EXPLORER.getMode());
if (getParamTabExWorkplaceSearchResult().equals(CmsSearchResultStyle.STYLE_EXPLORER.toString())) {
values.add(CmsSearchResultStyle.STYLE_LIST_WITH_EXCERPTS.getMode());
if (getParamTabExWorkplaceSearchResult().equals(CmsSearchResultStyle.STYLE_LIST_WITH_EXCERPTS.toString())) {
values.add(CmsSearchResultStyle.STYLE_LIST_WITHOUT_EXCERPTS.getMode());
if (getParamTabExWorkplaceSearchResult().equals(CmsSearchResultStyle.STYLE_LIST_WITHOUT_EXCERPTS.toString())) {
org.opencms.dbCmsUserSettings$CmsSearchResultStylegetMode

Popular methods of CmsUserSettings$CmsSearchResultStyle

  • toString
  • valueOf
    Returns the copy mode object from the old copy mode integer.
  • getKey
    Returns the localization key for this style.

Popular in Java

  • Updating database using SQL prepared statement
  • runOnUiThread (Activity)
  • getExternalFilesDir (Context)
  • requestLocationUpdates (LocationManager)
  • BufferedReader (java.io)
    Reads text from a character-input stream, buffering characters so as to provide for the efficient re
  • IOException (java.io)
    Signals that an I/O exception of some sort has occurred. This class is the general class of exceptio
  • KeyStore (java.security)
    This class represents an in-memory collection of keys and certificates. It manages two types of entr
  • TreeMap (java.util)
    A Red-Black tree based NavigableMap implementation. The map is sorted according to the Comparable of
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now