|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
| 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.PreviewInfo
Class 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 content
ContentException - thrown when there was a failure to get the
content
RemoteException
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.
RemoteException
ContentException
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 content
RemoteException
ContentException
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.
RemoteException
ContentException
|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||