|
Oracle Fusion Middleware Communication Services 11.1.1.3.0 Java API Reference E14785-02 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.sdpinternal.parlayx.ParlayXClientBase oracle.sdp.parlayx.presence.supplier.PresenceSupplierClient
public class PresenceSupplierClient
Constructor Summary | |
---|---|
PresenceSupplierClient(Map<java.lang.String,java.lang.Object> parameters)
Construct a client capable of invoking a Parlay X PresenceSupplier webservice. |
Method Summary | |
---|---|
void |
blockSubscription(java.lang.String watcher)
This method is implemented per Parlay X 2.1 specification. |
List<java.lang.String> |
getMyWatchers()
This method is implemented per Parlay X 2.1 specification. |
List<SubscriptionRequest> |
getOpenSubscriptions()
This method is implemented per Parlay X 2.1 specification. |
PresenceSupplier |
getPort()
|
List<PresenceAttributeType> |
getSubscribedAttributes(java.lang.String watcher)
This method is implemented as specified in Parlay X 2.1 specification with the following Oracle Extension Currently, only OtherValue and ActivityValue is supported. To terminate a publication, pass in the OtherValue("Expires",0) as a PresenceAttribute in the parameter presence To publish a device note, pass in the OtherValue("DeviceNote",note) as a PresenceAttribute in the parameter presence To publish a service note, pass in the OtherValue("ServiceNote",note) as a PresenceAttribute in the parameter presence |
void |
publish(List<PresenceAttribute> presence)
delegate all operations to the underlying implementation class. |
void |
updateSubscriptionAuthorization(java.lang.String watcher,
List<PresencePermission> decisions)
This method is implemented per Parlay X 2.1 specification. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PresenceSupplierClient(Map<java.lang.String,java.lang.Object> parameters)
parameters
- A Map of configuration parameters for the client. The values in this
map will be passed through to the JAX-WS RequestContext as described above.Method Detail |
---|
public void blockSubscription(java.lang.String watcher) throws PolicyException, ServiceException
blockSubscription
in interface PresenceSupplier
watcher
- Watcher that you want to put on the block list.
java.rmi.RemoteException
ServiceException
PolicyException
PolicyException
ServiceException
public List<java.lang.String> getMyWatchers() throws PolicyException, ServiceException
getMyWatchers
in interface PresenceSupplier
java.rmi.RemoteException
ServiceException
PolicyException
PolicyException
ServiceException
public List<SubscriptionRequest> getOpenSubscriptions() throws PolicyException, ServiceException
getOpenSubscriptions
in interface PresenceSupplier
java.rmi.RemoteException
PolicyException
ServiceException
PolicyException
ServiceException
public PresenceSupplier getPort()
public List<PresenceAttributeType> getSubscribedAttributes(java.lang.String watcher) throws PolicyException, ServiceException
getSubscribedAttributes
in interface PresenceSupplier
presence
- An array of presence attributes.
java.rmi.RemoteException
PolicyException
ServiceException
PolicyException
ServiceException
public void publish(List<PresenceAttribute> presence) throws PolicyException, ServiceException
publish
in interface PresenceSupplier
PolicyException
ServiceException
public void updateSubscriptionAuthorization(java.lang.String watcher, List<PresencePermission> decisions) throws PolicyException, ServiceException
updateSubscriptionAuthorization
in interface PresenceSupplier
watcher
- SIP address of the watcher you want to update its subscription authorization.decisions
- The decision on permission.
java.rmi.RemoteException
ServiceException
PolicyException
PolicyException
ServiceException
|
Oracle Fusion Middleware Communication Services 11.1.1.3.0 Java API Reference E14785-02 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |