|
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 | |||||||||
java.lang.Object
oracle.stellent.wcm.server.content.ContentFactory
public class ContentFactory
Interface used for handling locating files used to during WCM method evaluation.
| Field Summary | |
|---|---|
static java.lang.String |
CONTENT_CACHE |
| Constructor Summary | |
|---|---|
ContentFactory(Provider provider, CacheManager cacheManager, RequestProcessor requestProcessor) |
|
| Method Summary | |
|---|---|
CacheManager |
getCacheManager() |
ContentCache |
getContentCache(SiteRequest siteRequest)Retrieve the Content Cache associated with the given site request |
ContentCache |
getGlobalContentCache()Retrieve the shared Content Cache |
Provider |
getProvider() |
ProviderContent |
getStagedFile(ContentID contentID, SiteRequest siteRequest)Retrieve the path to the file in the JSP context |
ProviderContent |
getStagedFile(ContentID contentID, SiteRequest siteRequest, java.lang.String cacheKey)Retrieve the path to the file in the JSP context. |
boolean |
isCacheEnabled(SiteRequest siteRequest)Determine if the cache is enabled for this request. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String CONTENT_CACHE
| Constructor Detail |
|---|
public ContentFactory(Provider provider,
CacheManager cacheManager,
RequestProcessor requestProcessor)
| Method Detail |
|---|
public Provider getProvider()
public CacheManager getCacheManager()
public ContentCache getContentCache(SiteRequest siteRequest)
siteRequest - the current requestpublic ContentCache getGlobalContentCache()
public ProviderContent getStagedFile(ContentID contentID,
SiteRequest siteRequest)
throws java.io.IOException,
oracle.stellent.ridc.IdcClientException
contentID - the content ID or relative web path that uses the contentID for the file namesiteRequest - the site requestServerExceptionjava.io.IOExceptionoracle.stellent.ridc.IdcClientExceptionpublic boolean isCacheEnabled(SiteRequest siteRequest)
siteRequest - the site request
public ProviderContent getStagedFile(ContentID contentID,
SiteRequest siteRequest,
java.lang.String cacheKey)
throws java.io.IOException,
oracle.stellent.ridc.IdcClientException
contentID - the content IDsiteRequest - the site requestcacheKey - the cache key to use when looking up the itemServerExceptionjava.io.IOExceptionoracle.stellent.ridc.IdcClientException
|
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 | |||||||||