|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--com.opencms.file.CmsResource
|
+--com.opencms.file.CmsBackupResource
Describes a backup resource in the Cms.
| Field Summary |
| Fields inherited from class com.opencms.file.CmsResource |
m_size |
| Constructor Summary | |
CmsBackupResource(int versionId,
int resourceId,
int parentId,
int fileId,
String resourceName,
int resourceType,
int resourceFlags,
int user,
String userName,
int group,
String groupName,
int projectId,
int accessFlags,
int state,
int launcherType,
String launcherClassname,
long dateCreated,
long dateLastModified,
int resourceLastModifiedBy,
String lastModifiedByName,
byte[] fileContent,
int size,
int lockedInProject)
Constructor, creates a new CmsBackupResource object. |
|
| Method Summary | |
Object |
clone()
Clones the CmsFile by creating a new CmsFolder. |
byte[] |
getContents()
Gets the content of this file. |
String |
getExtension()
Gets the file-extension. |
String |
getGroupName()
Gets the name of the group of this resource. |
String |
getLastModifiedByName()
Gets the name of the user who changed this resource. |
String |
getOwnerName()
Gets the name of the owner of this resource. |
int |
getVersionId()
Gets the version id of this resource. |
| Methods inherited from class com.opencms.file.CmsResource |
equals, getAbsolutePath, getAbsolutePath, getAccessFlags, getDateCreated, getDateLastModified, getFileId, getFlags, getFlagString, getGroupId, getLauncherClassname, getLauncherType, getLength, getLockedInProject, getName, getOwnerId, getParent, getParent, getParentId, getPath, getPath, getPathLevel, getPathPart, getProjectId, getResourceId, getResourceLastModifiedBy, getResourceName, getRootName, getState, getType, inProject, isFile, isFolder, isLocked, isLockedBy, isTouched, setAccessFlags, setDateLastModified, setFileId, setGroupId, setLauncherType, setLocked, setLockedInProject, setParentId, setProjectId, setState, setType, setUserId, toString |
| Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public CmsBackupResource(int versionId,
int resourceId,
int parentId,
int fileId,
String resourceName,
int resourceType,
int resourceFlags,
int user,
String userName,
int group,
String groupName,
int projectId,
int accessFlags,
int state,
int launcherType,
String launcherClassname,
long dateCreated,
long dateLastModified,
int resourceLastModifiedBy,
String lastModifiedByName,
byte[] fileContent,
int size,
int lockedInProject)
versionId - The versionId of the resourceresourceId - The database Id.parentId - The database Id of the parent folder.fileId - The id of the content.resourceName - The name (including complete path) of the resouce.resourceType - The type of this resource.userName - The name of the user of this resource.groupName - The name of the group of this resource.projectId - The project id this resource belongs to.accessFlags - The access flags of this resource.state - The state of this resource.launcherType - The launcher that is require to process this recource.launcherClassname - The name of the Java class invoked by the launcher.dateCreated - The creation date of this resource.dateLastModified - The date of the last modification of the resource.fileContent - Then content of the file.resourceLastModifiedBy - The user who changed the file.lastModifiedByName - The name of user who changed the file.size - The size of the file content.| Method Detail |
public Object clone()
clone in class CmsResourcepublic byte[] getContents()
public int getVersionId()
public String getOwnerName()
public String getGroupName()
public String getLastModifiedByName()
public String getExtension()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||