org.eclipse.stardust.engine.api.runtime
Interface Resource

All Superinterfaces:
ResourceInfo, Serializable
All Known Subinterfaces:
Document, Folder
All Known Implementing Classes:
DmsDocumentBean, org.eclipse.stardust.engine.extensions.dms.data.DmsResourceBean

public interface Resource
extends ResourceInfo

The Resource interface keeps information exising JCR resource (document or folder).

Version:
$Revision$
Author:
sauer

Method Summary
 String getId()
          Gets the unique ID of the JCR resource.
 String getPath()
          Gets the path to the JCR resource.
 String getRepositoryId()
          Indicates the repository this resource is located in.
 
Methods inherited from interface org.eclipse.stardust.engine.api.runtime.ResourceInfo
getDateCreated, getDateLastModified, getDescription, getName, getOwner, getProperties, getProperty, setDescription, setName, setOwner, setProperties, setProperty
 

Method Detail

getRepositoryId

String getRepositoryId()
Indicates the repository this resource is located in.

Returns:
The repository ID.

getId

String getId()
Gets the unique ID of the JCR resource.

Returns:
the unique ID of the JCR resource.

getPath

String getPath()
Gets the path to the JCR resource. The path uniqely identifies the JCR resource inside the repository.

Returns:
the path to the JCR resource.


Copyright © 2017 Eclipse Stardust. All Rights Reserved.