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_CmsRepositoryItemgetContent 在接口中 I_CmsRepositoryItemI_CmsRepositoryItem.getContent()public long getContentLength()
I_CmsRepositoryItemgetContentLength 在接口中 I_CmsRepositoryItemI_CmsRepositoryItem.getContentLength()public long getCreationDate()
I_CmsRepositoryItemgetCreationDate 在接口中 I_CmsRepositoryItemI_CmsRepositoryItem.getCreationDate()public long getLastModifiedDate()
I_CmsRepositoryItemgetLastModifiedDate 在接口中 I_CmsRepositoryItemI_CmsRepositoryItem.getLastModifiedDate()public java.lang.String getMimeType()
I_CmsRepositoryItemgetMimeType 在接口中 I_CmsRepositoryItemI_CmsRepositoryItem.getMimeType()public java.lang.String getName()
I_CmsRepositoryItemgetName 在接口中 I_CmsRepositoryItemI_CmsRepositoryItem.getName()public boolean isCollection()
I_CmsRepositoryItemisCollection 在接口中 I_CmsRepositoryItemI_CmsRepositoryItem.isCollection()