|
Oracle® Fusion Middleware Site Studio for External Applications Java API Reference 11g Release 1 (11.1.1) E17273-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ContentAdapter
Content adapter; handles all requests for content and its associated metadata.
Nested Class Summary | |
---|---|
static class |
ContentAdapter.DataFileParams Data file parameters |
static class |
ContentAdapter.RenditionParams Rendition parameters |
Method Summary | |
---|---|
void |
flushAllContent() Flush all stored content |
void |
flushContent(ContentID contentID) Flush any local cache or content related to the given content ID |
void |
flushResourceContent(java.util.Set<java.lang.String> modifiedResources) Flush static resource content |
ContentURI |
getContentUri(ContentID contentID, oracle.stellent.ridc.model.DataBinder metaBinder) Retrieve the ContentURI for this content object, based on the given metadata. |
ContentURI |
getDataFileUri(ContentID contentID, oracle.stellent.ridc.model.DataBinder metaBinder, ContentAdapter.DataFileParams params) Retrieve the ContentURI for this data file content object, based on the given metadata and params. |
ContentURI |
getRenditionUri(ContentID contentID, oracle.stellent.ridc.model.DataBinder metaBinder, ContentAdapter.RenditionParams params) Retrieve the ContentURI for a given rendition. |
ContentStream |
loadContent(ContentURI uri) Load content from the provider via the ContentURI obtained from the call to getContentUri(oracle.stellent.wcm.server.content.spi.ContentID, oracle.stellent.ridc.model.DataBinder) . |
oracle.stellent.ridc.model.DataBinder |
loadMetadata(ContentID contentID) Load metadata from the provider for the given content ID. |
ContentURI |
parseWebPath(java.lang.String webPath) Create a ContentURI from a web path. |
Method Detail |
---|
ContentStream loadContent(ContentURI uri) throws oracle.stellent.ridc.IdcClientException, java.io.IOException
getContentUri(oracle.stellent.wcm.server.content.spi.ContentID, oracle.stellent.ridc.model.DataBinder)
.uri
- the ContentURIoracle.stellent.ridc.IdcClientException
java.io.IOException
oracle.stellent.ridc.model.DataBinder loadMetadata(ContentID contentID) throws oracle.stellent.ridc.IdcClientException, java.io.IOException
contentID
- the content IDoracle.stellent.ridc.IdcClientException
java.io.IOException
ContentURI parseWebPath(java.lang.String webPath) throws oracle.stellent.ridc.IdcClientException, java.io.IOException
webPath
- a web pathoracle.stellent.ridc.IdcClientException
- if an error occurs while talking to Content Serverjava.io.IOException
- if an IO error occursContentURI getContentUri(ContentID contentID, oracle.stellent.ridc.model.DataBinder metaBinder) throws oracle.stellent.ridc.IdcClientException
contentID
- the content ID used to retrieve the metadatametaBinder
- the metadata retrieved for this objectoracle.stellent.ridc.IdcClientException
ContentURI getDataFileUri(ContentID contentID, oracle.stellent.ridc.model.DataBinder metaBinder, ContentAdapter.DataFileParams params) throws oracle.stellent.ridc.IdcClientException
contentID
- the content ID used to retrieve the metadatametaBinder
- the metadata retrieved for this objectparams
- arguments for data file retrievaloracle.stellent.ridc.IdcClientException
ContentURI getRenditionUri(ContentID contentID, oracle.stellent.ridc.model.DataBinder metaBinder, ContentAdapter.RenditionParams params) throws oracle.stellent.ridc.IdcClientException
contentID
- the content IDmetaBinder
- the metadata retrieved for this objectparams
- the rendition parametersoracle.stellent.ridc.IdcClientException
void flushAllContent() throws java.io.IOException
java.io.IOException
void flushResourceContent(java.util.Set<java.lang.String> modifiedResources) throws java.io.IOException
modifiedResources
- a set of resources that have been modified and therefor need to be flushed.java.io.IOException
void flushContent(ContentID contentID) throws java.io.IOException
contentID
- the content IDjava.io.IOException
|
Oracle® Fusion Middleware Site Studio for External Applications Java API Reference 11g Release 1 (11.1.1) E17273-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |