Codota Logo
CmsRelationType.getAllWeak
Code IndexAdd Codota to your IDE (free)

How to use
getAllWeak
method
in
org.opencms.relations.CmsRelationType

Best Java code snippets using org.opencms.relations.CmsRelationType.getAllWeak (Showing top 2 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
StringBuilder s =
  • Codota Iconnew StringBuilder()
  • Codota Iconnew StringBuilder(32)
  • Codota IconString str;new StringBuilder(str)
  • Smart code suggestions by Codota
}
origin: org.opencms/opencms-solr

/**
 * Returns an extended filter with weak type restriction.<p>
 * 
 * @return an extended filter with weak type restriction
 */
public CmsRelationFilter filterWeak() {
  CmsRelationFilter filter = (CmsRelationFilter)this.clone();
  if (filter.m_types.isEmpty()) {
    filter.m_types.addAll(CmsRelationType.getAllWeak());
  } else {
    filter.m_types = new HashSet(CmsRelationType.filterWeak(filter.m_types));
  }
  return filter;
}
origin: org.opencms/opencms-core

/**
 * Returns an extended filter with weak type restriction.<p>
 *
 * @return an extended filter with weak type restriction
 */
public CmsRelationFilter filterWeak() {
  CmsRelationFilter filter = (CmsRelationFilter)clone();
  if (filter.m_types.isEmpty()) {
    filter.m_types.addAll(CmsRelationType.getAllWeak());
  } else {
    filter.m_types = new HashSet<CmsRelationType>(CmsRelationType.filterWeak(filter.m_types));
  }
  return filter;
}
org.opencms.relationsCmsRelationTypegetAllWeak

Javadoc

Returns all weak relation types.

Popular methods of CmsRelationType

  • getLocalizedName
    Returns a localized name for the given relation type.
  • <init>
    Private constructor for system relation types.
  • filterDefinedInContent
    Returns all relation types in the given list that define relations in the content.
  • filterInternal
    Returns all internal defined relation types in the given list.
  • filterNotDefinedInContent
    Returns all relation types in the given list that are not defined in the content.
  • filterStrong
    Returns all strong relation types in the given list.
  • filterUserDefined
    Returns all user defined relation types in the given list.
  • filterWeak
    Returns all weak relation types in the given list.
  • getAll
    Returns all relation types.
  • getAllDefinedInContent
    Returns all relation types for relations defined in the content.
  • getAllInternal
    Returns all internally defined relation types.
  • getAllNotDefinedInContent
    Returns all relation types for relations that are not defined in the content.
  • getAllInternal,
  • getAllNotDefinedInContent,
  • getAllStrong,
  • getAllUserDefined,
  • getId,
  • getName,
  • getNameForXml,
  • getType,
  • hashCode

Popular in Java

  • Running tasks concurrently on multiple threads
  • onCreateOptionsMenu (Activity)
  • requestLocationUpdates (LocationManager)
  • setScale (BigDecimal)
    Returns a BigDecimal whose scale is the specified value, and whose value is numerically equal to thi
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • Reference (javax.naming)
  • Runner (org.openjdk.jmh.runner)
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