|
|||||||||
| Home >> All >> com >> opencms >> [ file overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.opencms.file
Class CmsBackupResource

java.lang.Objectcom.opencms.file.CmsResource
com.opencms.file.CmsBackupResource
- All Implemented Interfaces:
- java.lang.Cloneable, com.opencms.core.I_CmsConstants, java.io.Serializable
- public class CmsBackupResource
- extends CmsResource
- implements java.lang.Cloneable, java.io.Serializable
- extends CmsResource
Describes a backup resource in the Cms.
- Version:
- $Revision: 1.4 $ $Date: 2003/04/01 15:20:18 $
| Field Summary | |
private byte[] |
m_fileContent
The content of the file |
private java.lang.String |
m_groupName
The name of the group. |
private java.lang.String |
m_lastModifiedByName
The name of the last user who had modified the resource. |
private java.lang.String |
m_ownerName
The name of the owner. |
private int |
m_versionId
The id of the version. |
| Fields inherited from class com.opencms.file.CmsResource |
m_size |
| Constructor Summary | |
CmsBackupResource(int versionId,
int resourceId,
int parentId,
int fileId,
java.lang.String resourceName,
int resourceType,
int resourceFlags,
int user,
java.lang.String userName,
int group,
java.lang.String groupName,
int projectId,
int accessFlags,
int state,
int launcherType,
java.lang.String launcherClassname,
long dateCreated,
long dateLastModified,
int resourceLastModifiedBy,
java.lang.String lastModifiedByName,
byte[] fileContent,
int size,
int lockedInProject)
Constructor, creates a new CmsBackupResource object. |
|
| Method Summary | |
java.lang.Object |
clone()
Clones the CmsFile by creating a new CmsFolder. |
byte[] |
getContents()
Gets the content of this file. |
java.lang.String |
getExtension()
Gets the file-extension. |
java.lang.String |
getGroupName()
Gets the name of the group of this resource. |
java.lang.String |
getLastModifiedByName()
Gets the name of the user who changed this resource. |
java.lang.String |
getOwnerName()
Gets the name of the owner of this resource. |
int |
getVersionId()
Gets the version id of this resource. |
| Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
m_versionId
private int m_versionId
- The id of the version.
m_ownerName
private java.lang.String m_ownerName
- The name of the owner.
m_groupName
private java.lang.String m_groupName
- The name of the group.
m_lastModifiedByName
private java.lang.String m_lastModifiedByName
- The name of the last user who had modified the resource.
m_fileContent
private byte[] m_fileContent
- The content of the file
| Constructor Detail |
CmsBackupResource
public CmsBackupResource(int versionId,
int resourceId,
int parentId,
int fileId,
java.lang.String resourceName,
int resourceType,
int resourceFlags,
int user,
java.lang.String userName,
int group,
java.lang.String groupName,
int projectId,
int accessFlags,
int state,
int launcherType,
java.lang.String launcherClassname,
long dateCreated,
long dateLastModified,
int resourceLastModifiedBy,
java.lang.String lastModifiedByName,
byte[] fileContent,
int size,
int lockedInProject)
- Constructor, creates a new CmsBackupResource object.
| Method Detail |
clone
public java.lang.Object clone()
- Clones the CmsFile by creating a new CmsFolder.
- Overrides:
clonein classCmsResource
getContents
public byte[] getContents()
- Gets the content of this file.
getVersionId
public int getVersionId()
- Gets the version id of this resource.
getOwnerName
public java.lang.String getOwnerName()
- Gets the name of the owner of this resource.
getGroupName
public java.lang.String getGroupName()
- Gets the name of the group of this resource.
getLastModifiedByName
public java.lang.String getLastModifiedByName()
- Gets the name of the user who changed this resource.
getExtension
public java.lang.String getExtension()
- Gets the file-extension.
|
|||||||||
| Home >> All >> com >> opencms >> [ file overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC