Codota Logo
CmsCategoryService.readCategoryResources
Code IndexAdd Codota to your IDE (free)

How to use
readCategoryResources
method
in
org.opencms.relations.CmsCategoryService

Best Java code snippets using org.opencms.relations.CmsCategoryService.readCategoryResources (Showing top 4 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-solr

/**
 * Reads the resources for a category identified by the given category path.<p>
 * 
 * @param cms the current cms context
 * @param categoryPath the path of the category to read the resources for
 * @param recursive <code>true</code> if including sub-categories
 * 
 * @return a list of {@link CmsResource} objects
 * 
 * @throws CmsException if something goes wrong
 * 
 * @deprecated use {@link #readCategoryResources(CmsObject, String, boolean, String)} instead
 */
public List readCategoryResources(CmsObject cms, String categoryPath, boolean recursive) throws CmsException {
  return readCategoryResources(cms, categoryPath, recursive, null);
}
origin: org.opencms/opencms-core

/**
 * Reads the resources for a category identified by the given category path.<p>
 *
 * @param cms the current cms context
 * @param categoryPath the path of the category to read the resources for
 * @param recursive <code>true</code> if including sub-categories
 * @param referencePath the reference path to find all the category repositories
 *
 * @return a list of {@link CmsResource} objects
 *
 * @throws CmsException if something goes wrong
 */
public List<CmsResource> readCategoryResources(
  CmsObject cms,
  String categoryPath,
  boolean recursive,
  String referencePath) throws CmsException {
  return readCategoryResources(cms, categoryPath, recursive, referencePath, CmsResourceFilter.DEFAULT);
}
origin: org.opencms/opencms-core

result = service.readCategoryResources(getCms(), getParamGalleryPath(), true, editedResource);
origin: org.opencms/opencms-solr

result = service.readCategoryResources(getCms(), getParamGalleryPath(), true, editedResource);
org.opencms.relationsCmsCategoryServicereadCategoryResources

Javadoc

Reads the resources for a category identified by the given category path.

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
  • <init>
  • 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.
  • getCategory,
  • getCategoryRepositories,
  • getRepositoryBaseFolderName,
  • internalCategoryRootPath,
  • internalReadResourceCategories,
  • internalReadSubCategories,
  • deleteCategory,
  • moveCategory,
  • readCategoriesForRepositories

Popular in Java

  • Making http post requests using okhttp
  • addToBackStack (FragmentTransaction)
  • putExtra (Intent)
  • scheduleAtFixedRate (ScheduledExecutorService)
    Creates and executes a periodic action that becomes enabled first after the given initial delay, and
  • IOException (java.io)
    Signals that an I/O exception of some sort has occurred. This class is the general class of exceptio
  • URLConnection (java.net)
    The abstract class URLConnection is the superclass of all classes that represent a communications li
  • PriorityQueue (java.util)
    An unbounded priority Queue based on a priority heap. The elements of the priority queue are ordered
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
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