| 
© 2001 BEA Systems, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
The remote bean interface for the AdService. This will return the actual content for ads
| Inner Class Summary | |
static class | 
AdService.AdCounts
class that is generated by getAdCounts.  | 
| Method Summary | |
 void | 
cleanupAdService(java.lang.String containerUID)
cleanup the AdService removing all records specified by the passed in ContainerUID  | 
 java.util.Collection | 
getAdCounts(java.util.Collection contentId,
            java.lang.String containerUID)
return of collection of ad counts  | 
 Content[] | 
getContent(java.lang.String adQuery)
Return an array of Content which match the ad query string.  | 
 void | 
recordClickThru(java.lang.String contentId,
                java.lang.String containerUID,
                java.lang.String contextUID,
                java.lang.String placeholder,
                java.lang.String userId,
                Request request)
Update the click thru count for an ad  | 
 void | 
recordDisplay(Content c,
              java.lang.String containerUID,
              java.lang.String contextUID,
              java.lang.String placeholder,
              java.lang.String userId,
              Request request)
Update the display count for an ad  | 
| Method Detail | 
public Content[] getContent(java.lang.String adQuery)
                     throws java.rmi.RemoteException,
                            AdContentException
adQuery - The content query stringAdContent - when the ad content cannot be found.
public void recordDisplay(Content c,
                          java.lang.String containerUID,
                          java.lang.String contextUID,
                          java.lang.String placeholder,
                          java.lang.String userId,
                          Request request)
                   throws java.rmi.RemoteException,
                          java.sql.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 request
public void recordClickThru(java.lang.String contentId,
                            java.lang.String containerUID,
                            java.lang.String contextUID,
                            java.lang.String placeholder,
                            java.lang.String userId,
                            Request request)
                     throws java.rmi.RemoteException,
                            java.sql.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 request
public void cleanupAdService(java.lang.String containerUID)
                      throws java.rmi.RemoteException,
                             ContentException
containerUID - containerUID identifying the records to be removed
public java.util.Collection getAdCounts(java.util.Collection contentId,
                                        java.lang.String containerUID)
                                 throws java.rmi.RemoteException,
                                        java.sql.SQLException
contentId - the content identifiercontainerUID - the UID of the container
  | 
© 2001 BEA Systems, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||