|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opencms.file.CmsResource
org.opencms.file.CmsFolder
org.opencms.file.history.CmsHistoryFolder
public class CmsHistoryFolder
A historical version of a file in the OpenCms VFS resource history.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.opencms.file.CmsResource |
---|
CmsResource.CmsResourceCopyMode, CmsResource.CmsResourceDeleteMode, CmsResource.CmsResourceUndoMode |
Field Summary |
---|
Constructor Summary | |
---|---|
CmsHistoryFolder(I_CmsHistoryResource resource)
Constructor from a history resource. |
|
CmsHistoryFolder(int publishTag,
CmsUUID structureId,
CmsUUID resourceId,
java.lang.String path,
int type,
int flags,
CmsUUID projectId,
CmsResourceState state,
long dateCreated,
CmsUUID userCreated,
long dateLastModified,
CmsUUID userLastModified,
long dateReleased,
long dateExpired,
int version,
CmsUUID parentId,
int resourceVersion,
int structureVersion)
Default Constructor. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Returns a clone of this Objects instance. |
CmsUUID |
getBackupId()
Deprecated. this field has been removed |
java.lang.String |
getCreatedByName()
Deprecated. use getUserCreatedName(CmsObject) instead |
java.lang.String |
getLastModifiedByName()
Deprecated. use getUserLastModifiedName(CmsObject) instead |
CmsUUID |
getParentId()
Returns the structure id of the parent resource. |
int |
getPublishTag()
Returns the publish tag of this historical resource. |
int |
getPublishTagId()
Deprecated. use getPublishTag() instead |
int |
getResourceVersion()
Returns the version number of the resource part for this historical resource. |
int |
getStructureVersion()
Returns the version number of the structure part for this historical resource. |
java.lang.String |
getUserCreatedName(CmsObject cms)
Returns the name of the user that created this resource. |
java.lang.String |
getUserLastModifiedName(CmsObject cms)
Returns the name of the user that last modified this resource. |
java.lang.String |
toString()
|
Methods inherited from class org.opencms.file.CmsFolder |
---|
getDateContent, getLength, isFile, isFolder, isFolderSize, isFolderType, isFolderType |
Methods inherited from class org.opencms.file.CmsResource |
---|
checkResourceName, compareTo, equals, getDateCreated, getDateExpired, getDateLastModified, getDateReleased, getFlags, getFolderPath, getName, getName, getParentFolder, getPathLevel, getPathPart, getProjectLastModified, getResourceId, getRootPath, getSiblingCount, getState, getStructureId, getTypeId, getUserCreated, getUserLastModified, getVersion, hashCode, isExpired, isFolder, isInternal, isLabeled, isReleased, isReleasedAndNotExpired, isTouched, setDateExpired, setDateLastModified, setDateReleased, setFlags, setState, setType, setUserLastModified |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.opencms.file.history.I_CmsHistoryResource |
---|
getDateContent, getDateCreated, getDateExpired, getDateLastModified, getDateReleased, getFlags, getLength, getName, getProjectLastModified, getResourceId, getRootPath, getSiblingCount, getState, getStructureId, getTypeId, getUserCreated, getUserLastModified, getVersion, isExpired, isFile, isFolder, isInternal, isLabeled, isReleased, isReleasedAndNotExpired, isTouched |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Constructor Detail |
---|
public CmsHistoryFolder(I_CmsHistoryResource resource)
resource
- the base history resourcepublic CmsHistoryFolder(int publishTag, CmsUUID structureId, CmsUUID resourceId, java.lang.String path, int type, int flags, CmsUUID projectId, CmsResourceState state, long dateCreated, CmsUUID userCreated, long dateLastModified, CmsUUID userLastModified, long dateReleased, long dateExpired, int version, CmsUUID parentId, int resourceVersion, int structureVersion)
publishTag
- the publish tag of this historical resourcestructureId
- the id of this resources structure recordresourceId
- the id of this resources resource recordpath
- the filename of this resoucetype
- the type of this resourceflags
- the flags of this resourceprojectId
- the project id this resource was last modified instate
- the state of this resourcedateCreated
- the creation date of this resourceuserCreated
- the id of the user who created this resourcedateLastModified
- the date of the last modification of this resourceuserLastModified
- the id of the user who did the last modification of this resourcedateReleased
- the release date of this resourcedateExpired
- the expiration date of this resourceversion
- the version number of this resourceparentId
- structure id of the parent of this historical resourceresourceVersion
- the version number of the resource part for this historical resourcestructureVersion
- the version number of the structure part for this historical resourceMethod Detail |
---|
public java.lang.Object clone()
clone
in class CmsFolder
public CmsUUID getBackupId()
I_CmsHistoryResource
getBackupId
in interface I_CmsHistoryResource
I_CmsHistoryResource.getBackupId()
public java.lang.String getCreatedByName()
getUserCreatedName(CmsObject)
instead
I_CmsHistoryResource
getCreatedByName
in interface I_CmsHistoryResource
I_CmsHistoryResource.getCreatedByName()
public java.lang.String getLastModifiedByName()
getUserLastModifiedName(CmsObject)
instead
I_CmsHistoryResource
getLastModifiedByName
in interface I_CmsHistoryResource
I_CmsHistoryResource.getLastModifiedByName()
public CmsUUID getParentId()
I_CmsHistoryResource
getParentId
in interface I_CmsHistoryResource
I_CmsHistoryResource.getParentId()
public int getPublishTag()
I_CmsHistoryResource
getPublishTag
in interface I_CmsHistoryResource
I_CmsHistoryResource.getPublishTag()
public int getPublishTagId()
getPublishTag()
instead
I_CmsHistoryResource
getPublishTagId
in interface I_CmsHistoryResource
I_CmsHistoryResource.getPublishTagId()
public int getResourceVersion()
I_CmsHistoryResource
getResourceVersion
in interface I_CmsHistoryResource
I_CmsHistoryResource.getResourceVersion()
public int getStructureVersion()
I_CmsHistoryResource
getStructureVersion
in interface I_CmsHistoryResource
I_CmsHistoryResource.getStructureVersion()
public java.lang.String getUserCreatedName(CmsObject cms)
cms
- the current cms context
public java.lang.String getUserLastModifiedName(CmsObject cms)
cms
- the current cms context
public java.lang.String toString()
toString
in class CmsResource
CmsResource.toString()
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |