|
||||||
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.CmsFile
org.opencms.file.history.CmsHistoryFile
org.opencms.file.CmsBackupResource
CmsHistoryFile
instead
public class CmsBackupResource
A backup resource for the OpenCms VFS resource history.
Backup resources are basic resources that contain additional information used to describe the backup state. Backup resource extend CmsFile since the might contain binary content, but they can also in fact be backup resources for a folder.
Backup resources contain the names of the users that created or last modified the resource as a String because a user id might have been deleted.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.opencms.file.CmsResource |
---|
CmsResource.CmsResourceCopyMode, CmsResource.CmsResourceDeleteMode, CmsResource.CmsResourceUndoMode |
Field Summary |
---|
Constructor Summary | |
---|---|
CmsBackupResource(CmsUUID backupId,
int tagId,
int version,
CmsUUID structureId,
CmsUUID resourceId,
java.lang.String path,
int type,
int flags,
CmsUUID projectId,
CmsResourceState state,
long dateCreated,
CmsUUID userCreated,
java.lang.String userCreatedName,
long dateLastModified,
CmsUUID userLastModified,
java.lang.String userLastModifiedName,
long dateReleased,
long dateExpired,
int size,
long dateContent,
CmsUUID parentId,
byte[] content)
Deprecated. Constructor, creates a new CmsBackupResource object. |
Method Summary | |
---|---|
CmsUUID |
getBackupId()
Deprecated. Returns the history id of this historical resource. |
java.lang.String |
getCreatedByName()
Deprecated. Returns the user name of the creator of this historical resource. |
java.lang.String |
getLastModifiedByName()
Deprecated. Returns the name of the user who last changed this historical resource. |
Methods inherited from class org.opencms.file.history.CmsHistoryFile |
---|
clone, getParentId, getPublishTag, getPublishTagId, getResourceVersion, getStructureVersion, getUserCreatedName, getUserLastModifiedName, toString |
Methods inherited from class org.opencms.file.CmsFile |
---|
getContents, getLength, isFile, isFolder, setContents, upgrade |
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 CmsBackupResource(CmsUUID backupId, int tagId, int version, CmsUUID structureId, CmsUUID resourceId, java.lang.String path, int type, int flags, CmsUUID projectId, CmsResourceState state, long dateCreated, CmsUUID userCreated, java.lang.String userCreatedName, long dateLastModified, CmsUUID userLastModified, java.lang.String userLastModifiedName, long dateReleased, long dateExpired, int size, long dateContent, CmsUUID parentId, byte[] content)
backupId
- the backup id of this backup resourcetagId
- the tag id of this backup resourceversion
- the version of this backup 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 resourceuserCreatedName
- the name 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 resourceuserLastModifiedName
- the name of the user who did the last modification of this resourcedateReleased
- the release date of this resourcedateExpired
- the expiration date of this resourcesize
- the size of the file content of this resourcedateContent
- the date of the last modification of the content of this resourceparentId
- structure id of the parent of this historical resourcecontent
- the binary content data of this fileMethod Detail |
---|
public CmsUUID getBackupId()
I_CmsHistoryResource
getBackupId
in interface I_CmsHistoryResource
getBackupId
in class CmsHistoryFile
CmsHistoryFile.getBackupId()
public java.lang.String getCreatedByName()
I_CmsHistoryResource
getCreatedByName
in interface I_CmsHistoryResource
getCreatedByName
in class CmsHistoryFile
CmsHistoryFile.getCreatedByName()
public java.lang.String getLastModifiedByName()
I_CmsHistoryResource
getLastModifiedByName
in interface I_CmsHistoryResource
getLastModifiedByName
in class CmsHistoryFile
CmsHistoryFile.getLastModifiedByName()
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |