public class CmsHistoryFolder extends CmsFolder implements I_CmsHistoryResource
I_CmsResource.CmsResourceAttribute
STATE_CHANGED, STATE_DELETED, STATE_KEEP, STATE_NEW, STATE_UNCHANGED, TEMP_FILE_PREFIX
构造器和说明 |
---|
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.
|
限定符和类型 | 方法和说明 |
---|---|
java.lang.Object |
clone()
Returns a clone of this Objects instance.
|
CmsUUID |
getParentId()
Returns the structure id of the parent resource.
|
int |
getPublishTag()
Returns the publish tag of this historical resource.
|
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() |
getDateContent, getLength, isFile, isFolder, isFolderSize, isFolderType, isFolderType, isTemporaryFile
getFolderPath, getName, getParentFolder, getPathLevel, getPathPart, isFolder, isTemporaryFileName
getVersion
getDateContent, getDateCreated, getDateExpired, getDateLastModified, getDateReleased, getFlags, getLength, getName, getProjectLastModified, getResourceId, getRootPath, getSiblingCount, getState, getStructureId, getTypeId, getUserCreated, getUserLastModified, isExpired, isFile, isFolder, isInternal, isLabeled, isReleased, isReleasedAndNotExpired, isTouched
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 resourcepublic java.lang.Object clone()
public CmsUUID getParentId()
I_CmsHistoryResource
getParentId
在接口中 I_CmsHistoryResource
I_CmsHistoryResource.getParentId()
public int getPublishTag()
I_CmsHistoryResource
getPublishTag
在接口中 I_CmsHistoryResource
I_CmsHistoryResource.getPublishTag()
public int getResourceVersion()
I_CmsHistoryResource
getResourceVersion
在接口中 I_CmsHistoryResource
I_CmsHistoryResource.getResourceVersion()
public int getStructureVersion()
I_CmsHistoryResource
getStructureVersion
在接口中 I_CmsHistoryResource
I_CmsHistoryResource.getStructureVersion()
public java.lang.String getUserCreatedName(CmsObject cms)
cms
- the current cms contextpublic java.lang.String getUserLastModifiedName(CmsObject cms)
cms
- the current cms contextpublic java.lang.String toString()
toString
在类中 java.lang.Object
Object.toString()