|
|||||||
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.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.
Field Summary |
Constructor Summary | |
CmsBackupResource(CmsUUID backupId,
int tagId,
int versionId,
CmsUUID structureId,
CmsUUID resourceId,
CmsUUID contentId,
java.lang.String path,
int type,
int flags,
int projectId,
int state,
long dateCreated,
CmsUUID userCreated,
java.lang.String userCreatedName,
long dateLastModified,
CmsUUID userLastModified,
java.lang.String userLastModifiedName,
long dateReleased,
long dateExpired,
int size,
byte[] content)
Constructor, creates a new CmsBackupResource object. |
Method Summary | |
java.lang.Object |
clone()
Returns a clone of this Objects instance. |
CmsUUID |
getBackupId()
Returns the backup id of this resource. |
java.lang.String |
getCreatedByName()
Returns the user name of the creator of this backup resource. |
java.lang.String |
getLastModifiedByName()
Returns the name of the user who last changed this backup resource. |
int |
getTagId()
Returns the tag id of this resource. |
int |
getVersionId()
Returns the version id of this backup resource. |
Methods inherited from class org.opencms.file.CmsFile |
getContentId, getContents, getLength, isFile, isFolder, setContents, upgrade |
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, hashCode, isFolder, isInternal, isLabeled, isTouched, setDateExpired, setDateLastModified, setDateReleased, setFlags, setState, setType, setUserLastModified, toString |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.lang.Comparable |
compareTo |
Constructor Detail |
public CmsBackupResource(CmsUUID backupId, int tagId, int versionId, CmsUUID structureId, CmsUUID resourceId, CmsUUID contentId, java.lang.String path, int type, int flags, int projectId, int state, long dateCreated, CmsUUID userCreated, java.lang.String userCreatedName, long dateLastModified, CmsUUID userLastModified, java.lang.String userLastModifiedName, long dateReleased, long dateExpired, int size, byte[] content)
backupId
- the backup id of this backup resourcetagId
- the tag id of this backup resourceversionId
- the version id of this backup resourcestructureId
- the id of this resources structure recordresourceId
- the id of this resources resource recordcontentId
- the id of this resources content 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 resourcecontent
- the binary content data of this fileMethod Detail |
public java.lang.Object clone()
clone
in class CmsFile
public CmsUUID getBackupId()
public java.lang.String getCreatedByName()
public java.lang.String getLastModifiedByName()
public int getTagId()
public int getVersionId()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |