|
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 | |||||||||
java.lang.Object
oracle.stellent.wcm.server.content.fs.FSContentAdapter
public class FSContentAdapter
Loads Content and Metadata using the URL APIs from the staging directory.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface oracle.stellent.wcm.server.content.ContentAdapter |
|---|
ContentAdapter.DataFileParams, ContentAdapter.RenditionParams |
| Constructor Summary | |
|---|---|
FSContentAdapter(StagingConfiguration stagingConfig, FileSystemLoader fsLoader, IdcClientFactory idcFactory, CacheDeleteQueue cacheDeleteQueue) |
|
| 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 URI 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 contentURI)Load content from the provider via the URI obtained from the call to getContentUri(oracle.stellent.wcm.server.content.ContentID, oracle.stellent.ridc.model.DataBinder). |
ContentStream |
loadContent(ContentURI contentURI, oracle.stellent.ridc.IdcContext idcContext)Load content from the provider via the URI obtained from the call to getContentUri(oracle.stellent.wcm.server.content.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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FSContentAdapter(StagingConfiguration stagingConfig,
FileSystemLoader fsLoader,
IdcClientFactory idcFactory,
CacheDeleteQueue cacheDeleteQueue)
| Method Detail |
|---|
public oracle.stellent.ridc.model.DataBinder loadMetadata(ContentID contentID)
throws oracle.stellent.ridc.IdcClientException,
java.io.IOException
loadMetadata in interface ContentAdaptercontentID - the content IDoracle.stellent.ridc.IdcClientExceptionjava.io.IOException
public ContentStream loadContent(ContentURI contentURI)
throws oracle.stellent.ridc.IdcClientException,
java.io.IOException
getContentUri(oracle.stellent.wcm.server.content.ContentID, oracle.stellent.ridc.model.DataBinder).loadContent in interface ContentAdaptercontentURI - the content URIoracle.stellent.ridc.IdcClientExceptionjava.io.IOException
public ContentStream loadContent(ContentURI contentURI,
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).loadContent in interface ContentAdaptercontentURI - the content URIidcContext - the user context to use to perform the call.oracle.stellent.ridc.IdcClientExceptionjava.io.IOException
public ContentURI parseWebPath(java.lang.String webPath)
throws oracle.stellent.ridc.IdcClientException,
java.io.IOException
parseWebPath in interface ContentAdapterwebPath - a web pathoracle.stellent.ridc.IdcClientException - if an error occurs while talking to Content Serverjava.io.IOException - if an IO error occurs
public ContentURI getContentUri(ContentID contentID,
oracle.stellent.ridc.model.DataBinder metaBinder)
throws oracle.stellent.ridc.IdcClientException
getContentUri in interface ContentAdaptercontentID - the content ID used to retrieve the metadatametaBinder - the metadata retrieved for this objectoracle.stellent.ridc.IdcClientException
public ContentURI getDataFileUri(ContentID contentID,
oracle.stellent.ridc.model.DataBinder metaBinder,
ContentAdapter.DataFileParams params)
throws oracle.stellent.ridc.IdcClientException
getDataFileUri in interface ContentAdaptercontentID - the content ID used to retrieve the metadatametaBinder - the metadata retrieved for this objectparams - arguments for data file retrievaloracle.stellent.ridc.IdcClientException
public ContentURI getRenditionUri(ContentID contentID,
oracle.stellent.ridc.model.DataBinder metaBinder,
ContentAdapter.RenditionParams params)
throws oracle.stellent.ridc.IdcClientException
getRenditionUri in interface ContentAdaptercontentID - the content IDmetaBinder - the metadata retrieved for this objectparams - arguments for the renditionoracle.stellent.ridc.IdcClientException
public void flushAllContent()
throws java.io.IOException
flushAllContent in interface ContentAdapterjava.io.IOException
public void flushResourceContent(java.util.Set<java.lang.String> modifiedResources)
throws java.io.IOException
flushResourceContent in interface ContentAdaptermodifiedResources - a set of resources that have been modified and therefor need to be flushed.java.io.IOException
public void flushContent(ContentID contentID)
throws java.io.IOException
flushContent in interface ContentAdaptercontentID - the content IDjava.io.IOException
public ContentStream getContent(ContentURI contentURI)
throws oracle.stellent.ridc.IdcClientException,
java.io.IOException
ContentAdaptergetContent in interface ContentAdaptercontentURI - 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 | |||||||||