Codota Logo
CmsCategoryService.<init>
Code IndexAdd Codota to your IDE (free)

How to use
org.opencms.relations.CmsCategoryService
constructor

Best Java code snippets using org.opencms.relations.CmsCategoryService.<init> (Showing top 2 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
OutputStreamWriter o =
  • Codota IconOutputStream out;new OutputStreamWriter(out)
  • Codota IconOutputStream out;String charsetName;new OutputStreamWriter(out, charsetName)
  • Codota IconHttpURLConnection connection;new OutputStreamWriter(connection.getOutputStream())
  • Smart code suggestions by Codota
}
origin: org.opencms/opencms-core

/**
 * Returns the singleton instance.<p>
 *
 * @return the singleton instance
 */
public static CmsCategoryService getInstance() {
  if (m_instance == null) {
    m_instance = new CmsCategoryService();
  }
  return m_instance;
}
origin: org.opencms/opencms-solr

/**
 * Returns the singleton instance.<p>
 * 
 * @return the singleton instance
 */
public static CmsCategoryService getInstance() {
  if (m_instance == null) {
    m_instance = new CmsCategoryService();
  }
  return m_instance;
}
org.opencms.relationsCmsCategoryService<init>

Popular methods of CmsCategoryService

  • addResourceToCategory
    Adds a resource identified by the given resource name to the given category. The resource has to be
  • getInstance
    Returns the singleton instance.
  • readCategories
    Returns all categories given some search parameters.
  • readCategory
    Reads all categories identified by the given category path for the given reference path.
  • readResourceCategories
    Reads the categories for a resource.
  • removeResourceFromCategory
    Removes a resource identified by the given resource name from the given category. The resource has t
  • repairRelations
    Repairs broken category relations. This could be caused by renaming/moving a category folder, or cha
  • clearCategoriesForResource
    Removes the given resource from all categories.
  • createCategory
    Creates a new category. Will use the same category repository as the parent if specified, or the clo
  • getCategory
    Creates a category from the given resource.
  • getCategoryRepositories
    Returns all category repositories for the given reference path.
  • getRepositoryBaseFolderName
    Returns the category repositories base folder name.
  • getCategoryRepositories,
  • getRepositoryBaseFolderName,
  • internalCategoryRootPath,
  • internalReadResourceCategories,
  • internalReadSubCategories,
  • readCategoryResources,
  • deleteCategory,
  • moveCategory,
  • readCategoriesForRepositories

Popular in Java

  • Finding current android device location
  • getSharedPreferences (Context)
  • getResourceAsStream (ClassLoader)
    Returns a stream for the resource with the specified name. See #getResource(String) for a descriptio
  • scheduleAtFixedRate (Timer)
    Schedules the specified task for repeated fixed-rate execution, beginning after the specified delay.
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • MessageFormat (java.text)
    MessageFormat provides a means to produce concatenated messages in language-neutral way. Use this to
  • TreeMap (java.util)
    A Red-Black tree based NavigableMap implementation. The map is sorted according to the Comparable of
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • JList (javax.swing)
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
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