Skip navigation links
oracle.stellent.wcm.core.idc.impl
Class ContentRetrievalApi
java.lang.Object
oracle.stellent.wcm.core.idc.AbstractIdcApi
oracle.stellent.wcm.core.idc.impl.ContentRetrievalApi
-
public class ContentRetrievalApi
- extends AbstractIdcApi
For getting Content out of the Content Server
Method Summary |
java.io.InputStream |
getFileByID(oracle.stellent.ridc.IdcContext userContext, oracle.stellent.ridc.model.DataBinder requestBinder)
|
java.io.InputStream |
getFileByID(oracle.stellent.ridc.IdcContext userContext, java.lang.String dID)
Retrieve a file from the Content Server. |
java.io.InputStream |
getFileByName(oracle.stellent.ridc.IdcContext userContext, oracle.stellent.ridc.model.DataBinder requestBinder)
|
java.io.InputStream |
getFileByName(oracle.stellent.ridc.IdcContext userContext, java.lang.String dDocName, java.lang.String revisionSelectionMethod)
Retrieve a file from the Content Server. |
java.io.InputStream |
getFileByName(oracle.stellent.ridc.IdcContext userContext, java.lang.String dDocName, java.lang.String revisionSelectionMethod, java.lang.String rendition)
Retrieve a file from the Content Server. |
oracle.stellent.ridc.model.DataBinder |
packGetFileByID(java.lang.String dID)
|
oracle.stellent.ridc.model.DataBinder |
packGetFileByName(java.lang.String dDocName, java.lang.String revisionSelectionMethod)
|
oracle.stellent.ridc.model.DataBinder |
packGetFileByName(java.lang.String dDocName, java.lang.String revisionSelectionMethod, java.lang.String rendition)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_log
protected ILog m_log
ContentRetrievalApi
public ContentRetrievalApi(oracle.stellent.ridc.IdcClient idcClient)
getFileByName
public java.io.InputStream getFileByName(oracle.stellent.ridc.IdcContext userContext,
java.lang.String dDocName,
java.lang.String revisionSelectionMethod)
throws oracle.stellent.ridc.IdcClientException
- Retrieve a file from the Content Server.
-
- Parameters:
userContext
- the user context
dDocName
- the content ID
revisionSelectionMethod
- the revision (i.e. "Latest" or "LatestReleased")
- Returns:
- the Content Server stream
- Throws:
oracle.stellent.ridc.IdcClientException
- See Also:
WCMMetadata.SERVICE_GET_FILE
getFileByName
public java.io.InputStream getFileByName(oracle.stellent.ridc.IdcContext userContext,
java.lang.String dDocName,
java.lang.String revisionSelectionMethod,
java.lang.String rendition)
throws oracle.stellent.ridc.IdcClientException
- Retrieve a file from the Content Server.
-
- Parameters:
userContext
- the user context
dDocName
- the content ID
revisionSelectionMethod
- the revision (i.e. "Latest" or "LatestReleased")
rendition
- the rendition of content (i.e. "Web")
requestBinder
-
- Returns:
- the Content Server stream
- Throws:
oracle.stellent.ridc.IdcClientException
- See Also:
WCMMetadata.SERVICE_GET_FILE
getFileByName
public java.io.InputStream getFileByName(oracle.stellent.ridc.IdcContext userContext,
oracle.stellent.ridc.model.DataBinder requestBinder)
throws oracle.stellent.ridc.IdcClientException
-
- Throws:
oracle.stellent.ridc.IdcClientException
packGetFileByName
public oracle.stellent.ridc.model.DataBinder packGetFileByName(java.lang.String dDocName,
java.lang.String revisionSelectionMethod,
java.lang.String rendition)
-
- Parameters:
dDocName
-
revisionSelectionMethod
-
rendition
-
- Returns:
packGetFileByName
public oracle.stellent.ridc.model.DataBinder packGetFileByName(java.lang.String dDocName,
java.lang.String revisionSelectionMethod)
getFileByID
public java.io.InputStream getFileByID(oracle.stellent.ridc.IdcContext userContext,
java.lang.String dID)
throws oracle.stellent.ridc.IdcClientException
- Retrieve a file from the Content Server.
-
- Parameters:
userContext
- the user context
dID
- the dID
requestBinder
-
- Returns:
- the Content Server stream
- Throws:
oracle.stellent.ridc.IdcClientException
- See Also:
WCMMetadata.SERVICE_GET_FILE
getFileByID
public java.io.InputStream getFileByID(oracle.stellent.ridc.IdcContext userContext,
oracle.stellent.ridc.model.DataBinder requestBinder)
throws oracle.stellent.ridc.IdcClientException
-
- Throws:
oracle.stellent.ridc.IdcClientException
packGetFileByID
public oracle.stellent.ridc.model.DataBinder packGetFileByID(java.lang.String dID)
-
- Parameters:
dID
-
- Returns:
Skip navigation links
Copyright © 2010, Oracle and/or its affiliates. All rights reserved.