|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ContentEntry
This interface represents a basic content entry. Each ContentEntry instance can only be contained in one ContentContainer and the implementation SHALL create a new ContentEntry for equal entries placed in multiple ContentContainer instances.
Method Summary | |
---|---|
boolean |
delete()
Deletes this ContentEntry. |
long |
getContentSize()
Gets the size of the content associated with this ContentEntry.. |
Date |
getCreationDate()
Gets the creation date of the content associated with this ContentEntry. |
ExtendedFileAccessPermissions |
getExtendedFileAccessPermissions()
Gets the file permissions of this ContentEntry. |
MetadataNode |
getMetadata()
Gets the metadata for this ContentEntry. |
String |
getName()
Returns the name of this ContentEntry. |
ContentContainer |
getParent()
Returns the ContentContainer this ContentEntry belongs to. |
ContentServer |
getServer()
Gets the server where this ContentContainer is located. |
Method Detail |
---|
String getName()
ContentServer getServer()
boolean delete() throws IOException, SecurityException
SecurityException
- if the calling application does not have
write ExtendedFileAccessPermission for this entry.
IOException
- if the entry is not local.ContentContainer getParent()
ContentContainer
this ContentEntry belongs to.
long getContentSize()
Date getCreationDate()
ExtendedFileAccessPermissions getExtendedFileAccessPermissions()
MetadataNode getMetadata()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |