Codota Logo
I_CmsHistoryResource.getParentId
Code IndexAdd Codota to your IDE (free)

How to use
getParentId
method
in
org.opencms.file.history.I_CmsHistoryResource

Best Java code snippets using org.opencms.file.history.I_CmsHistoryResource.getParentId (Showing top 9 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Gson g =
  • Codota Iconnew Gson()
  • Codota IconGsonBuilder gsonBuilder;gsonBuilder.create()
  • Codota Iconnew GsonBuilder().create()
  • Smart code suggestions by Codota
}
origin: org.opencms/opencms-solr

CmsUUID parentId = histRes.getParentId();
long dateContent = res.getLong(m_sqlManager.readQuery("C_RESOURCES_DATE_CONTENT"));
origin: org.opencms/opencms-core

CmsUUID parentId = histRes.getParentId();
long dateContent = res.getLong(m_sqlManager.readQuery("C_RESOURCES_DATE_CONTENT"));
origin: org.opencms/opencms-solr

String path = CmsResource.getParentFolder(resourcePath);
CmsUUID parentId = histRes.getParentId();
try {
origin: org.opencms/opencms-solr

try {
  parent = m_vfsDriver.readResource(dbc, dbc.currentProject().getUuid(), histRes.getParentId(), true);
} catch (CmsVfsResourceNotFoundException e) {
  } catch (CmsVfsResourceNotFoundException e1) {
    restoreDeletedResource(dbc, histRes.getParentId());
    parent = readResource(dbc, histRes.getParentId(), CmsResourceFilter.IGNORE_EXPIRATION);
origin: org.opencms/opencms-core

String path = CmsResource.getParentFolder(resourcePath);
CmsUUID parentId = histRes.getParentId();
try {
origin: org.opencms/opencms-core

try {
  parent = getVfsDriver(dbc).readResource(dbc, dbc.currentProject().getUuid(), histRes.getParentId(), true);
} catch (CmsVfsResourceNotFoundException e) {
  } catch (CmsVfsResourceNotFoundException e1) {
    restoreDeletedResource(dbc, histRes.getParentId());
    parent = readResource(dbc, histRes.getParentId(), CmsResourceFilter.IGNORE_EXPIRATION);
origin: org.opencms/opencms-core

/**
 * Constructor from a history resource.<p>
 *
 * @param resource the base history resource
 */
public CmsHistoryFolder(I_CmsHistoryResource resource) {
  this(
    resource.getPublishTag(),
    resource.getStructureId(),
    resource.getResourceId(),
    resource.getRootPath(),
    resource.getTypeId(),
    resource.getFlags(),
    resource.getProjectLastModified(),
    resource.getState(),
    resource.getDateCreated(),
    resource.getUserCreated(),
    resource.getDateLastModified(),
    resource.getUserLastModified(),
    resource.getDateReleased(),
    resource.getDateExpired(),
    resource.getVersion(),
    resource.getParentId(),
    resource.getResourceVersion(),
    resource.getStructureVersion());
}
origin: org.opencms/opencms-core

/**
 * Constructor from a history resource.<p>
 *
 * @param resource the base history resource
 */
public CmsHistoryFile(I_CmsHistoryResource resource) {
  this(
    resource.getPublishTag(),
    resource.getStructureId(),
    resource.getResourceId(),
    resource.getRootPath(),
    resource.getTypeId(),
    resource.getFlags(),
    resource.getProjectLastModified(),
    resource.getState(),
    resource.getDateCreated(),
    resource.getUserCreated(),
    resource.getDateLastModified(),
    resource.getUserLastModified(),
    resource.getDateReleased(),
    resource.getDateExpired(),
    resource.getLength(),
    resource.getDateContent(),
    resource.getVersion(),
    resource.getParentId(),
    resource.isFile() ? ((CmsFile)resource).getContents() : null,
    resource.getResourceVersion(),
    resource.getStructureVersion());
}
origin: org.opencms/opencms-core

CmsUUID parentId = histRes.getParentId();
long dateContent = hr.getDateContent();
org.opencms.file.historyI_CmsHistoryResourcegetParentId

Javadoc

Returns the structure id of the parent resource.

Popular methods of I_CmsHistoryResource

  • getDateLastModified
    Returns the date of the last modification of this resource.
  • getLength
    Returns the length of the resource. If the resource is a file, then this is the byte size of the fil
  • getPublishTag
    Returns the publish tag of this historical resource.
  • getRootPath
    Returns the name of a resource with it's full path from the root folder including the current site r
  • getState
    Returns the state of this resource.
  • getStructureId
    Returns the id of the structure record of this resource.
  • getTypeId
    Returns the resource type id for this resource.
  • getUserLastModified
    Returns the user id of the user who made the last change on this resource.
  • getVersion
    Returns the version number of this historical resource.
  • isFile
    Returns true if the resource is a file, i.e. can have no sub-resources.
  • getDateExpired
    Returns the expiration date this resource.
  • getDateReleased
    Returns the release date this resource.
  • getDateExpired,
  • getDateReleased,
  • getFlags,
  • getProjectLastModified,
  • getResourceId,
  • getResourceVersion,
  • getStructureVersion,
  • isFolder,
  • getDateContent

Popular in Java

  • Reading from database using SQL prepared statement
  • runOnUiThread (Activity)
  • setRequestProperty (URLConnection)
    Sets the general request property. If a property with the key already exists, overwrite its value wi
  • findViewById (Activity)
  • 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
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • Kernel (java.awt.image)
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
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