|
Oracle Communications Converged Application Server Java API Reference 5.0 E18767-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 java.lang.String |
PROFILE_SERVICEThe string to be used to look up the ProfileService in the ServletContext attributes |
| Method Summary | |
|---|---|
void |
deleteDocument(Address requestor, java.lang.String docSel)Delete a document. |
void |
deleteDocument(java.lang.String docSel)Delete a document. |
org.w3c.dom.Document |
getDocument(Address requestor, java.lang.String docSel)Get a document. |
org.w3c.dom.Document |
getDocument(java.lang.String docSel)Get a document. |
void |
putDocument(Address requestor, java.lang.String docSel, org.w3c.dom.Document doc)Update a document. |
void |
putDocument(java.lang.String docSel, org.w3c.dom.Document doc)Update a document. |
ProfileSubscription |
subscribe(Address subscriber, SipApplicationSession session, java.lang.String docSel, int duration, java.io.Serializable info)Subscribe to change notifications for a document described by the docSel document selector. |
ProfileSubscription |
subscribe(Address subscriber, SipApplicationSession session, java.lang.String docSel, java.io.Serializable info)Subscribe to change notifications for a document described by the docSel document selector. |
ProfileSubscription |
subscribe(SipApplicationSession session, java.lang.String docSel, int duration, java.io.Serializable info)Subscribe to change notifications for a document described by the docSel document selector. |
ProfileSubscription |
subscribe(SipApplicationSession session, java.lang.String docSel, java.io.Serializable info)Subscribe to change notifications for a document described by the docSel document selector. |
| Field Detail |
|---|
static final java.lang.String PROFILE_SERVICE
| Method Detail |
|---|
org.w3c.dom.Document getDocument(java.lang.String docSel)
throws ProfileException
docSel - the document selector to useProfileException
org.w3c.dom.Document getDocument(Address requestor,
java.lang.String docSel)
throws ProfileException
requestor - the party making the requestdocSel - the DocumentProfileException
void putDocument(java.lang.String docSel,
org.w3c.dom.Document doc)
throws ProfileException
docSel - the document selector to usedoc - the Document to updateProfileException
void putDocument(Address requestor,
java.lang.String docSel,
org.w3c.dom.Document doc)
throws ProfileException
requestor - the party making the requestdocSel - the document selector to usedoc - the Document to updateProfileException
void deleteDocument(java.lang.String docSel)
throws ProfileException
docSel - the document selector to useProfileException
void deleteDocument(Address requestor,
java.lang.String docSel)
throws ProfileException
requestor - the party ordering the deletedocSel - the document selector to useProfileException
ProfileSubscription subscribe(SipApplicationSession session,
java.lang.String docSel,
java.io.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(Address subscriber,
SipApplicationSession session,
java.lang.String docSel,
java.io.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(SipApplicationSession session,
java.lang.String docSel,
int duration,
java.io.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(Address subscriber,
SipApplicationSession session,
java.lang.String docSel,
int duration,
java.io.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.0 E18767-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||