|
Oracle® WebCenter Content Site Studio for External Applications Java API Reference 11g Release 1 (11.1.1) E17273-03 |
|||||||||
| 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.DataFileParamsData file parameters |
static class |
ContentAdapter.RenditionParamsRendition 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 |
ContentStream |
getContent(ContentURI contentURI)Get a content item from the server without caching it using the GET_FILE service. |
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.ContentID, oracle.stellent.ridc.model.DataBinder). |
ContentStream |
loadContent(ContentURI uri, oracle.stellent.ridc.IdcContext idcContext)Load content from the provider via the ContentURI obtained from the call to getContentUri(oracle.stellent.wcm.server.content.ContentID, oracle.stellent.ridc.model.DataBinder) using the IdcContext passed in. |
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.ContentID, oracle.stellent.ridc.model.DataBinder). By default, the admin context is used to perform this call.uri - the ContentURIoracle.stellent.ridc.IdcClientExceptionjava.io.IOException
ContentStream loadContent(ContentURI uri,
oracle.stellent.ridc.IdcContext idcContext)
throws oracle.stellent.ridc.IdcClientException,
java.io.IOException
getContentUri(oracle.stellent.wcm.server.content.ContentID, oracle.stellent.ridc.model.DataBinder) using the IdcContext passed in.uri - the ContentURIidcContext - the user context to use to perform the call.oracle.stellent.ridc.IdcClientExceptionjava.io.IOException
oracle.stellent.ridc.model.DataBinder loadMetadata(ContentID contentID)
throws oracle.stellent.ridc.IdcClientException,
java.io.IOException
contentID - the content IDoracle.stellent.ridc.IdcClientExceptionjava.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 occurs
ContentURI 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
ContentStream getContent(ContentURI contentURI)
throws oracle.stellent.ridc.IdcClientException,
java.io.IOException
contentURI - content URI of the item.oracle.stellent.ridc.IdcClientExceptionjava.io.IOException
|
Oracle® WebCenter Content Site Studio for External Applications Java API Reference 11g Release 1 (11.1.1) E17273-03 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||