|
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 PlaceholderService
The remote bean interface for the PlaceholderService.
A placeholder is a named location in some page and is represented by the PlaceholderTag. The primary function of the placeholder service is to return content to the PlaceholderTag when it is viewed. This content is based upon the type of the placeholder, and user information.
Method Summary | |
---|---|
String |
getContent(String name,
String userId,
String servletBase,
Request request,
int height,
int width)
Return the content for the requested placeholder. |
Collection |
getDeployedPlaceholderURIs()
Get the list of placeholder uris currently deployed in this service. |
String |
getPreviewSlot(long previewId)
Deprecated No longer used. |
String |
getPreviewSlotQuery(long previewId,
String userId)
Deprecated No longer used. |
Collection |
previewContent(long previewId,
String userId,
String servletBase,
String phType)
Deprecated No longer used. |
Collection |
previewContent(String query,
String servletBase,
String phType,
boolean renderContent)
Return a collection of PreviewInfo structures which match all of the content for the query. |
void |
removePreviewSlot(long previewId)
Deprecated No longer used. |
long |
setPreviewSlot(String xmlQuery)
Deprecated No longer used. |
Method Detail |
---|
String getContent(String name, String userId, String servletBase, Request request, int height, int width) throws RemoteException, ContentException
name
- The name of the placeholderuserId
- The user idservletBase
- A URL base that is used to find the ClickThru and
ShowDocServletrequest
- The http requestheight
- The requested height of the contentwidth
- The requested width of the content
ContentException
- thrown when there is a failure to obtain
the content
RemoteException
Collection previewContent(String query, String servletBase, String phType, boolean renderContent) throws RemoteException, ContentException
query
- the content query to previewservletBase
- the base URI of the webapp to preview inphType
- the placeholder type (Ad, ContentSelector)renderContent
- true to include the rendering content in the
preview, false to not.
RemoteException
ContentException
Collection previewContent(long previewId, String userId, String servletBase, String phType) throws RemoteException, ContentException
previewId
- the id of the preview slot containing the queryuserId
- the id of the user to preview asservletBase
- the base URI of the webapp to preview inphType
- the placeholder type (Ad, ContentSelector)
RemoteException
ContentException
getPreviewSlot(long)
String getPreviewSlot(long previewId) throws RemoteException, ContentException
RemoteException
ContentException
String getPreviewSlotQuery(long previewId, String userId) throws RemoteException, ContentException, ProfileNotFoundException, IllegalArgumentException
RemoteException
ContentException
ProfileNotFoundException
IllegalArgumentException
long setPreviewSlot(String xmlQuery) throws RemoteException, ContentException
RemoteException
ContentException
void removePreviewSlot(long previewId) throws RemoteException, ContentException
RemoteException
ContentException
Collection getDeployedPlaceholderURIs() throws RemoteException, ContentException
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 |