|
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 AdService
Nested Class Summary | |
---|---|
static class |
AdService.AdCounts Class that is generated by getAdCounts. |
Method Summary | |
---|---|
void |
cleanupAdService(String containerUID) Cleanup the AdService removing all records specified by the passed in ContainerUID. |
String |
getAdContent(Expression expr, long identifier, String containerUID, String contextUID, String placeholder, String userId, String servletBase, Request request, int height, int width) Get the XHTML ad content for a content object and record an impression. |
String |
getAdContent(String query, long identifier, String containerUID, String contextUID, String placeholder, String userId, String servletBase, Request request, int height, int width) Deprecated Use getAdContenxt(Expression, ...) instead |
Collection |
getAdCounts(Collection contentPaths, String containerUID) return of collection of ad counts |
Node[] |
getContent(Expression expr) Deprecated Use getContent(Expression, Request) instead. |
Node[] |
getContent(Expression expr, Request request) Deprecated Use getRenderableContent instead |
Node[] |
getContent(String adQuery) Deprecated Use getContent(Expression, Request) instead. |
Collection |
getContentIds(Expression expr) Deprecated Use getContentPaths(Expression, Request) instead. |
Collection |
getContentIds(String adQuery) Deprecated Use getContentPaths(Expression, Request) instead. |
Collection |
getContentPaths(Expression expr) Deprecated Use getContentPaths(Expression, Request) instead. |
Collection |
getContentPaths(Expression expr, Request request) Return a collection of content paths which match the ad query expression. |
RenderableContent[] |
getRenderableContent(Expression expr, Request request) Return an array of content which match the ad query expression |
void |
recordClickThru(String contentPath, String containerUID, String contextUID, String placeholder, String userId, Request request) Update the click thru count for an ad |
void |
recordDisplay(Node c, String containerUID, String contextUID, String placeholder, String userId, Request request) Update the display count for an ad. |
String |
renderContent(Node c, long identifier, String servletBase, int height, int width, int options) Deprecated |
String |
renderContent(RenderableContent c, long identifier, String servletBase, int height, int width, int options) Return the rendered XHTML for the content object. |
Methods inherited from interface javax.ejb.EJBObject |
---|
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove |
Method Detail |
---|
Node[] getContent(String adQuery) throws RemoteException, AdContentException
adQuery
- The content query stringAdContentException
- when the ad content cannot be found.RemoteException
getContent(com.bea.p13n.expression.Expression, com.bea.p13n.http.Request)
Node[] getContent(Expression expr) throws RemoteException, AdContentException
expression
- The content query expressionAdContentException
- when the ad content cannot be found.RemoteException
getContent(com.bea.p13n.expression.Expression, com.bea.p13n.http.Request)
Node[] getContent(Expression expr, Request request) throws RemoteException, AdContentException
expression
- The content query expressionrequest
- the copy of the http request (null if not available).AdContentException
- when the ad content cannot be found.RemoteException
RenderableContent[] getRenderableContent(Expression expr, Request request) throws RemoteException, AdContentException
expression
- The content query expressionrequest
- the copy of the http request (null if not available).AdContentException
- when the ad content cannot be found.RemoteException
Collection getContentIds(String adQuery) throws RemoteException, AdContentException
adQuery
- The content query stringAdContentException
- when the ad content cannot be found.RemoteException
getContentPaths(com.bea.p13n.expression.Expression, com.bea.p13n.http.Request)
Collection getContentIds(Expression expr) throws RemoteException, AdContentException
expr
- The content query expressionAdContentException
- when the ad content cannot be found.RemoteException
getContentPaths(com.bea.p13n.expression.Expression, com.bea.p13n.http.Request)
Collection getContentPaths(Expression expr) throws RemoteException, AdContentException
expr
- The content query expressionAdContentException
- when the ad content cannot be found.RemoteException
getContentPaths(com.bea.p13n.expression.Expression, com.bea.p13n.http.Request)
Collection getContentPaths(Expression expr, Request request) throws RemoteException, AdContentException
expr
- The content query expressionrequest
- the copy of the http request (null if not available).AdContentException
- when the ad content cannot be found.RemoteException
String getAdContent(Expression expr, long identifier, String containerUID, String contextUID, String placeholder, String userId, String servletBase, Request request, int height, int width) throws AdContentException, RemoteException
expr
- the content management query expressionidentifier
- a indentifier for the content bucket the query is fromcontainerUID
- the UID of the containercontextUID
- the UID of the contextplaceholder
- the name of the placeholderuserId
- the user IdservletBase
- the Web App root for the click thru servletrequest
- the HTTP requestheight
- the suggested content heightwidth
- the suggested content widthAdContent
- if there is a problem getting the contentAdContentException
RemoteException
String getAdContent(String query, long identifier, String containerUID, String contextUID, String placeholder, String userId, String servletBase, Request request, int height, int width) throws AdContentException, RemoteException
adQuery
- the content management queryidentifier
- a indentifier for the content bucket the query is fromcontainerUID
- the UID of the containercontextUID
- the UID of the contextplaceholder
- the name of the placeholderuserId
- the user IdservletBase
- the Web App root for the click thru servletrequest
- the HTTP requestheight
- the suggested content heightwidth
- the suggested content widthAdContent
- if there is a problem getting the contentAdContentException
RemoteException
getAdContent(com.bea.p13n.expression.Expression, long, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, com.bea.p13n.http.Request, int, int)
String renderContent(Node c, long identifier, String servletBase, int height, int width, int options) throws AdContentException, RemoteException
c
- The content element to renderidentifier
- A long that is used to access the database recordservletBase
- The Web App root for the click thru servletheight
- The suggested heightwidth
- The suggested widthoptions
- The options for the renderingAdContentException
RemoteException
String renderContent(RenderableContent c, long identifier, String servletBase, int height, int width, int options) throws AdContentException, RemoteException
c
- The content element to render, must be instance of Version or Nodeidentifier
- A long that is used to access the database recordservletBase
- The Web App root for the click thru servletheight
- The suggested heightwidth
- The suggested widthoptions
- The options for the renderingAdContentException
RemoteException
void recordDisplay(Node c, String containerUID, String contextUID, String placeholder, String userId, Request request) throws RemoteException, SQLException
c
- The content objectcontainerUID
- the UID of the containercontextUID
- the UID of the contextplaceholder
- the name of the placeholderuserId
- the user Idrequest
- the HTTP requestRemoteException
SQLException
void recordClickThru(String contentPath, String containerUID, String contextUID, String placeholder, String userId, Request request) throws RemoteException, SQLException
contentPath
- The content object pathcontainerUID
- the UID of the containercontextUID
- the UID of the contextplaceholder
- the name of the placeholderuserId
- the user Idrequest
- the HTTP requestRemoteException
SQLException
void cleanupAdService(String containerUID) throws RemoteException, ContentException
containerUID
- containerUID identifying the records to be removedRemoteException
ContentException
Collection getAdCounts(Collection contentPaths, String containerUID) throws RemoteException, SQLException
contentPaths
- the content pathcontainerUID
- the UID of the containerRemoteException
SQLException
|
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.