|
Oracle Communications Converged Application Server Java API Reference 5.1 E36938-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ProfileService
Starting point for accessing the Profile service. The ProfileService is storred as an attribute of the ServletContext. For example in a Servlet, the following illustrates how to obtain a reference to the service:
ProfileService psvc = (ProfileService) getServletContext().getAttribute(ProfileService.PROFILE_SERVICE);
| Field Summary | |
|---|---|
static String |
PROFILE_SERVICEThe string to be used to look up the ProfileService in the ServletContext attributes |
| Method Summary | |
|---|---|
void |
deleteDocument(javax.servlet.sip.Address requestor, String docSel)Delete a document. |
void |
deleteDocument(String docSel)Delete a document. |
Document |
getDocument(javax.servlet.sip.Address requestor, String docSel)Get a document. |
Document |
getDocument(String docSel)Get a document. |
void |
putDocument(javax.servlet.sip.Address requestor, String docSel, Document doc)Update a document. |
void |
putDocument(String docSel, Document doc)Update a document. |
ProfileSubscription |
subscribe(javax.servlet.sip.Address subscriber, javax.servlet.sip.SipApplicationSession session, String docSel, int duration, Serializable info)Subscribe to change notifications for a document described by the docSel document selector. |
ProfileSubscription |
subscribe(javax.servlet.sip.Address subscriber, javax.servlet.sip.SipApplicationSession session, String docSel, Serializable info)Subscribe to change notifications for a document described by the docSel document selector. |
ProfileSubscription |
subscribe(javax.servlet.sip.SipApplicationSession session, String docSel, int duration, Serializable info)Subscribe to change notifications for a document described by the docSel document selector. |
ProfileSubscription |
subscribe(javax.servlet.sip.SipApplicationSession session, String docSel, Serializable info)Subscribe to change notifications for a document described by the docSel document selector. |
| Field Detail |
|---|
static final String PROFILE_SERVICE
| Method Detail |
|---|
Document getDocument(String docSel)
throws ProfileException
docSel - the document selector to useProfileException
Document getDocument(javax.servlet.sip.Address requestor,
String docSel)
throws ProfileException
requestor - the party making the requestdocSel - the DocumentProfileException
void putDocument(String docSel,
Document doc)
throws ProfileException
docSel - the document selector to usedoc - the Document to updateProfileException
void putDocument(javax.servlet.sip.Address requestor,
String docSel,
Document doc)
throws ProfileException
requestor - the party making the requestdocSel - the document selector to usedoc - the Document to updateProfileException
void deleteDocument(String docSel)
throws ProfileException
docSel - the document selector to useProfileException
void deleteDocument(javax.servlet.sip.Address requestor,
String docSel)
throws ProfileException
requestor - the party ordering the deletedocSel - the document selector to useProfileException
ProfileSubscription subscribe(javax.servlet.sip.SipApplicationSession session,
String docSel,
Serializable info)
throws ProfileException
subscribe method.session - The session interested in this subscriptiondocSel - The document Selectorinfo - Extra information to be passed in the callback.ProfileException
ProfileSubscription subscribe(javax.servlet.sip.Address subscriber,
javax.servlet.sip.SipApplicationSession session,
String docSel,
Serializable info)
throws ProfileException
subscribe method.subscriber - the party making the subscriptionsession - The session interested in this subscriptiondocSel - The document Selectorinfo - Extra information to be passed in the callback.ProfileException
ProfileSubscription subscribe(javax.servlet.sip.SipApplicationSession session,
String docSel,
int duration,
Serializable info)
throws ProfileException
session - The session interested in this subscriptiondocSel - The document Selectorduration - The length of the subscription in secondsinfo - Extra information to be passed in the callback.ProfileException
ProfileSubscription subscribe(javax.servlet.sip.Address subscriber,
javax.servlet.sip.SipApplicationSession session,
String docSel,
int duration,
Serializable info)
throws ProfileException
subscriber - The party making the subscription.session - The session interested in this subscriptiondocSel - The document Selectorduration - The length of the subscription in secondsinfo - Extra information to be passed in the callback.ProfileException
|
Oracle Communications Converged Application Server Java API Reference 5.1 E36938-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright © 2012 Oracle Corporation. All Rights Reserved.