public interface ProfileService
ProfileService psvc = (ProfileService) getServletContext().getAttribute(ProfileService.PROFILE_SERVICE);
| Modifier and Type | Field and Description |
|---|---|
static String |
PROFILE_SERVICE
The string to be used to look up the ProfileService in the ServletContext attributes.
|
| Modifier and Type | Method and Description |
|---|---|
void |
deleteDocument(javax.servlet.sip.Address requestor,
String docSel)
Deletes a document.
|
void |
deleteDocument(String docSel)
Deletes a document.
|
Document |
getDocument(javax.servlet.sip.Address requestor,
String docSel)
Gets a document.
|
Document |
getDocument(String docSel)
Gets a document.
|
void |
putDocument(javax.servlet.sip.Address requestor,
String docSel,
Document doc)
Updates a document.
|
void |
putDocument(String docSel,
Document doc)
Updates a document.
|
ProfileSubscription |
subscribe(javax.servlet.sip.Address subscriber,
javax.servlet.sip.SipApplicationSession session,
String docSel,
int duration,
Serializable info)
Subscribes 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)
Subscribes 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)
Subscribes to change notifications for a document described by the docSel
document selector.
|
ProfileSubscription |
subscribe(javax.servlet.sip.SipApplicationSession session,
String docSel,
Serializable info)
Subscribes to change notifications for a document described by the docSel
document selector.
|
static final String PROFILE_SERVICE
Document getDocument(String docSel) throws ProfileException
docSel - the document selector to useProfileExceptionDocument getDocument(javax.servlet.sip.Address requestor, String docSel) throws ProfileException
requestor - the party making the requestdocSel - the DocumentProfileExceptionvoid putDocument(String docSel, Document doc) throws ProfileException
docSel - the document selector to usedoc - the Document to updateProfileExceptionvoid 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 updateProfileExceptionvoid deleteDocument(String docSel) throws ProfileException
docSel - the document selector to useProfileExceptionvoid deleteDocument(javax.servlet.sip.Address requestor,
String docSel)
throws ProfileException
requestor - the party ordering the deletedocSel - the document selector to useProfileExceptionProfileSubscription 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 callbackProfileExceptionProfileSubscription 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 callbackProfileExceptionProfileSubscription 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 callbackProfileExceptionProfileSubscription 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