Codota Logo
CmsCategory.getId
Code IndexAdd Codota to your IDE (free)

How to use
getId
method
in
org.opencms.relations.CmsCategory

Best Java code snippets using org.opencms.relations.CmsCategory.getId (Showing top 6 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
SimpleDateFormat s =
  • Codota IconString pattern;new SimpleDateFormat(pattern)
  • Codota IconString template;Locale locale;new SimpleDateFormat(template, locale)
  • Codota Iconnew SimpleDateFormat()
  • Smart code suggestions by Codota
}
origin: org.opencms/opencms-core

/**
 * Constructor.<p>
 *
 * @param category the server-side category
 */
public CmsCategoryBean(CmsCategory category) {
  this(
    category.getId(),
    category.getTitle(),
    category.getDescription(),
    category.getPath(),
    category.getBasePath(),
    category.getRootPath());
}
origin: org.opencms/opencms-solr

      + cat.getId()
      + "', '"
      + CmsCategoryService.getInstance().readCategory(
        cms,
        CmsResource.getParentFolder(cat.getPath()),
        referencePath).getId()
      + "', '"
      + cat.getTitle()
        widgetDialog.getLocale()).key(Messages.GUI_CATEGORY_SELECT_0)));
    options.add(new CmsSelectWidgetOption(cat.getId().toString(), false, cat.getTitle()));
  cms,
  CmsResource.getPathPart(selected.getPath(), i + baseLevel),
  referencePath).getId().toString() : ""),
param.hasError(),
(i == (level - baseLevel - 1))));
origin: org.opencms/opencms-core

    result.append(
      "new Array('"
        + cat.getId()
        + "', '"
        + CmsCategoryService.getInstance().readCategory(
          cms,
          CmsResource.getParentFolder(cat.getPath()),
          referencePath).getId()
        + "', '"
        + titleJs
            Messages.GUI_CATEGORY_SELECT_0)));
    options.add(new CmsSelectWidgetOption(cat.getId().toString(), false, titleHtml));
+ param.getId()
+ "' type='hidden' value='"
+ (selected != null ? selected.getId().toString() : "")
+ "'>\n");
    cms,
    CmsResource.getPathPart(selected.getPath(), i + baseLevel),
    referencePath).getId().toString()
  : ""),
  param.hasError(),
origin: org.opencms/opencms-core

} else {
  CmsCategory actualCat = readCategory(cms, category.getPath(), resourceName);
  if (!category.getId().equals(actualCat.getId())) {
origin: org.opencms/opencms-solr

} else {
  CmsCategory actualCat = readCategory(cms, category.getPath(), resourceName);
  if (!category.getId().equals(actualCat.getId())) {
origin: org.opencms/opencms-core

      cms.getRequestContext().removeSiteRoot(parentResource.getRootPath()));
  tryUnlock(cms.readResource(createdCategory.getId()));
} catch (Exception e) {
  error(e);
org.opencms.relationsCmsCategorygetId

Javadoc

Returns the id.

Popular methods of CmsCategory

  • getDescription
    Returns the description.
  • getPath
    Returns the path.
  • getRootPath
    Returns the category's root path.
  • getTitle
    Returns the title.
  • <init>
    Default constructor.
  • getBasePath
  • getCategoryPath
    Returns the category path for the given root path.
  • getName
    Returns the mere category name without it's complete path and without the trailing folder - slash.

Popular in Java

  • Reading from database using SQL prepared statement
  • getResourceAsStream (ClassLoader)
  • addToBackStack (FragmentTransaction)
  • getSharedPreferences (Context)
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • Hashtable (java.util)
    Hashtable is a synchronized implementation of Map. All optional operations are supported.Neither key
  • Stack (java.util)
    The Stack class represents a last-in-first-out (LIFO) stack of objects. It extends class Vector with
  • JComboBox (javax.swing)
  • Option (scala)
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