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

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

Best Java code snippets using org.opencms.relations.CmsRelationType.filterNotDefinedInContent (Showing top 4 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-core

/**
 * Returns all relation types for relations that are not defined in the content.<p>
 *
 * @return a list of {@link CmsRelationType} objects
 */
public static List<CmsRelationType> getAllNotDefinedInContent() {
  return filterNotDefinedInContent(getAll());
}
origin: org.opencms/opencms-solr

/**
 * Returns all relation types for relations that are not defined in the content.<p>
 * 
 * @return a list of {@link CmsRelationType} objects
 */
public static List getAllNotDefinedInContent() {
  return filterNotDefinedInContent(getAll());
}
origin: org.opencms/opencms-core

/**
 * Returns an extended filter with not defined in content type restriction.<p>
 *
 * @return an extended filter with not defined in content type restriction
 */
public CmsRelationFilter filterNotDefinedInContent() {
  CmsRelationFilter filter = (CmsRelationFilter)clone();
  if (filter.m_types.isEmpty()) {
    filter.m_types.addAll(CmsRelationType.getAllNotDefinedInContent());
  } else {
    filter.m_types = new HashSet<CmsRelationType>(CmsRelationType.filterNotDefinedInContent(filter.m_types));
  }
  return filter;
}
origin: org.opencms/opencms-solr

/**
 * Returns an extended filter with not defined in content type restriction.<p>
 * 
 * @return an extended filter with not defined in content type restriction
 */
public CmsRelationFilter filterNotDefinedInContent() {
  CmsRelationFilter filter = (CmsRelationFilter)this.clone();
  if (filter.m_types.isEmpty()) {
    filter.m_types.addAll(CmsRelationType.getAllNotDefinedInContent());
  } else {
    filter.m_types = new HashSet(CmsRelationType.filterNotDefinedInContent(filter.m_types));
  }
  return filter;
}
org.opencms.relationsCmsRelationTypefilterNotDefinedInContent

Javadoc

Returns all relation types in the given list that are not defined in the content.

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.
  • 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.
  • getAllStrong
    Returns all strong relation types.
  • getAllNotDefinedInContent,
  • getAllStrong,
  • getAllUserDefined,
  • getAllWeak,
  • getId,
  • getName,
  • getNameForXml,
  • getType,
  • hashCode

Popular in Java

  • Reactive rest calls using spring rest template
  • runOnUiThread (Activity)
  • findViewById (Activity)
  • compareTo (BigDecimal)
    Compares this BigDecimal with the specified BigDecimal. Two BigDecimal objects that are equal in val
  • InputStreamReader (java.io)
    An InputStreamReader is a bridge from byte streams to character streams: It reads bytes and decodes
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • MessageFormat (java.text)
    MessageFormat provides a means to produce concatenated messages in language-neutral way. Use this to
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • Iterator (java.util)
    An iterator over a collection. Iterator takes the place of Enumeration in the Java Collections Frame
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
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