public interface ContentEntry
Modifier and Type | Method and Description |
---|---|
boolean |
deleteEntry()
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.
|
ContentContainer |
getEntryParent()
Returns the
ContentContainer this ContentEntry belongs to. |
ExtendedFileAccessPermissions |
getExtendedFileAccessPermissions()
Gets the file permissions of this ContentEntry, or null if unknown.
|
String |
getID()
Returns the ID of this ContentEntry.
|
String |
getParentID()
Returns the ID of
ContentContainer this ContentEntry belongs to. |
MetadataNode |
getRootMetadataNode()
Gets the metadata for this ContentEntry.
|
ContentServerNetModule |
getServer()
Gets the server where this ContentEntry is located.
|
boolean |
isLocal()
Returns true if this content entry is on the local device, false if it is
hosted by another device on the network.
|
String getID()
ContentServerNetModule getServer()
boolean deleteEntry() throws IOException
SecurityException
- if the calling application does not have write
ExtendedFileAccessPermission for this entry.IOException
- if the entry is not local.ContentContainer getEntryParent() throws IOException
ContentContainer
this ContentEntry belongs to.
This method SHALL return null if this ContentEntry represents a
root container.
If it is determined that this ContentEntry has a parent container,
but the implementation does not have sufficient local cached
information to construct the ContentContainer, this method SHALL
throw an IOException.IOException
- if the implementation does not have sufficient local
cached information to construct the parent ContentContainerString getParentID()
ContentContainer
this ContentEntry belongs to.
This method SHALL return "-1" if this ContentEntry represents a root
container. This method SHALL return null if the parent ID is unknown.getID()
,
getEntryParent()
long getContentSize()
Date getCreationDate()
ExtendedFileAccessPermissions getExtendedFileAccessPermissions()
MetadataNode getRootMetadataNode()
boolean isLocal()
Copyright © 2013 CableLabs. All rights reserved.