|
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.cache.LazyLoadingContent
public class LazyLoadingContent
Represents a content item retrieved from the SPI provider.
Constructor Summary | |
---|---|
LazyLoadingContent(Provider provider, ContentID contentID, java.lang.String user) |
Method Summary | |
---|---|
protected java.lang.String |
getBinderValue(java.lang.String name) Retrieve the binder value, by looking in the local data and the DOC_INFO result set |
ContentID |
getContentID() |
ContentURI |
getContentURI() |
ContentURI |
getDataFileUri(ContentAdapter.DataFileParams params) Retrieve the data file ContentURI |
oracle.stellent.ridc.model.DataBinder |
getMetaBinder() |
java.lang.String |
getMetadataValue(java.lang.String name) Retrieve a piece of metadata for this file |
java.lang.String |
getName() |
ContentURI |
getRenditionUri(java.lang.String rendition) Get the Rendition's path |
java.io.InputStream |
getStream() |
Type |
getType() |
boolean |
isAvailable() |
boolean |
isLoadedMetadata() |
protected void |
loadBinder() Load the binder and set populate internal fields |
void |
setContentUri(ContentURI uri) Set the ContentURI, which is used to address and retrieved content for this object |
protected void |
setDocInfoValue(java.lang.String name, java.lang.String value) Set the binder value, usually in localdata |
void |
setMetadataValue(java.lang.String name, java.lang.String value) Set the metadata value |
void |
setType(Type type) Set the type; useful for optimizing if type is known ahead of time |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LazyLoadingContent(Provider provider, ContentID contentID, java.lang.String user) throws java.io.IOException, oracle.stellent.ridc.IdcClientException
java.io.IOException
oracle.stellent.ridc.IdcClientException
Method Detail |
---|
public oracle.stellent.ridc.model.DataBinder getMetaBinder()
public ContentID getContentID()
public java.lang.String getName()
public boolean isLoadedMetadata()
public Type getType()
public void setType(Type type)
type
- the typepublic java.lang.String getMetadataValue(java.lang.String name)
name
- the metadata namepublic void setMetadataValue(java.lang.String name, java.lang.String value)
name
- the namevalue
- the valuepublic ContentURI getContentURI() throws oracle.stellent.ridc.IdcClientException
oracle.stellent.ridc.IdcClientException
public void setContentUri(ContentURI uri)
uri
- the provider ContentURIpublic ContentURI getRenditionUri(java.lang.String rendition) throws oracle.stellent.ridc.IdcClientException
rendition
- name of rendition ie 'Thumbnail'oracle.stellent.ridc.IdcClientException
public ContentURI getDataFileUri(ContentAdapter.DataFileParams params) throws oracle.stellent.ridc.IdcClientException
params
- the data file parametersoracle.stellent.ridc.IdcClientException
public boolean isAvailable()
public java.io.InputStream getStream() throws oracle.stellent.ridc.IdcClientException, java.io.IOException
oracle.stellent.ridc.IdcClientException
java.io.IOException
protected java.lang.String getBinderValue(java.lang.String name)
name
- the metadata nameprotected void setDocInfoValue(java.lang.String name, java.lang.String value)
name
- the metadata namevalue
- the metadata valueprotected void loadBinder() throws java.io.IOException, oracle.stellent.ridc.IdcClientException
java.io.IOException
oracle.stellent.ridc.IdcClientException
|
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 |