|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ContentBucket
A ContentBucket is an interface which the PlaceholderService uses to obtain content for the PlaceholderTag.
| Nested Class Summary | |
|---|---|
static class |
ContentBucket.PreviewInfoClass that captures the information from the preview. |
| Method Summary | |
|---|---|
String |
getContent(String placeholderName, boolean mixGlobals, String userId, String servletBase, Request request, int height, int width)Return the content for the specific placeholder and user. |
Collection |
previewContent(String servletBase, String query, boolean renderContent)Return a collection of PreviewInfo structures which match all of the content for the query. |
void |
removeGlobalQueries(String placeholderName, boolean allQueries)Remove queries from the add bucket. |
void |
setGlobalQuery(String placeholderName, String query, int weight)Set a global query for the placeholder. |
| Method Detail |
|---|
String getContent(String placeholderName,
boolean mixGlobals,
String userId,
String servletBase,
Request request,
int height,
int width)
throws RemoteException,
ContentException
placeholderName - The name of the specific placeholder requesting the contentmixGlobals - Flag indicating if globals should be mixeduserId - The user nameservletBase - the Web App root for the Click thru servletrequest - the HTTP requestheight - A requested height for the contentwidth - A requested width for the contentContentException - thrown when there was a failure to get the contentRemoteException
Collection previewContent(String servletBase,
String query,
boolean renderContent)
throws RemoteException,
ContentException
servletBase - the Web App root for the Click thru servletquery - The content query to be previewedrenderContent - true to include the rendering content in the preview, false to not.RemoteExceptionContentException
void setGlobalQuery(String placeholderName,
String query,
int weight)
throws RemoteException,
ContentException
placeholderName - the name of the placeholder setting the global queryquery - The query expression of the query.weight - the weight associated with the contentRemoteExceptionContentException
void removeGlobalQueries(String placeholderName,
boolean allQueries)
throws RemoteException,
ContentException
placeholderName - the name of the placeholderremoveAll - if true remove all entries for the placeholder, otherwise simply remove the global entries.RemoteExceptionContentException
|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright © 2010, Oracle. All rights reserved.