public class CmsRepositoryItem extends java.lang.Object implements I_CmsRepositoryItem
CmsResource
.构造器和说明 |
---|
CmsRepositoryItem(CmsResource res,
CmsObjectWrapper cms)
Construct a new CmsRepositoryItem initialized with the
CmsResource
to use and the CmsObjectWrapper needed for some operations. |
限定符和类型 | 方法和说明 |
---|---|
byte[] |
getContent()
Returns the content of this item as a byte array.
|
long |
getContentLength()
Returns the length of the content of this item.
|
long |
getCreationDate()
Returns the date of the creation of this item.
|
long |
getLastModifiedDate()
Returns the date of the last modification of this item.
|
java.lang.String |
getMimeType()
Returns the mime type of this item.
|
java.lang.String |
getName()
Returns the name of this item.
|
boolean |
isCollection()
Checks if this item is a collection.
|
public CmsRepositoryItem(CmsResource res, CmsObjectWrapper cms)
CmsResource
to use and the CmsObjectWrapper
needed for some operations.res
- the CmsResource this CmsRepositoryItem is used forcms
- the actual CmsObjectWrapperpublic byte[] getContent()
I_CmsRepositoryItem
getContent
在接口中 I_CmsRepositoryItem
I_CmsRepositoryItem.getContent()
public long getContentLength()
I_CmsRepositoryItem
getContentLength
在接口中 I_CmsRepositoryItem
I_CmsRepositoryItem.getContentLength()
public long getCreationDate()
I_CmsRepositoryItem
getCreationDate
在接口中 I_CmsRepositoryItem
I_CmsRepositoryItem.getCreationDate()
public long getLastModifiedDate()
I_CmsRepositoryItem
getLastModifiedDate
在接口中 I_CmsRepositoryItem
I_CmsRepositoryItem.getLastModifiedDate()
public java.lang.String getMimeType()
I_CmsRepositoryItem
getMimeType
在接口中 I_CmsRepositoryItem
I_CmsRepositoryItem.getMimeType()
public java.lang.String getName()
I_CmsRepositoryItem
getName
在接口中 I_CmsRepositoryItem
I_CmsRepositoryItem.getName()
public boolean isCollection()
I_CmsRepositoryItem
isCollection
在接口中 I_CmsRepositoryItem
I_CmsRepositoryItem.isCollection()