Class MonitoringAppSoapStub
java.lang.Object
com.collabnet.ce.soap60.webservices.ClientSoapStub
com.collabnet.ce.soap60.webservices.monitoring.MonitoringAppSoapStub
- All Implemented Interfaces:
IMonitoringAppSoap
-
Field Summary
Fields inherited from class com.collabnet.ce.soap60.webservices.ClientSoapStub
DEFAULT_CLIENT_TIME_OUT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetApplicationMonitoringNotificationPreferences(String sessionId, String projectId) Gets current user's application level monitoring notification preferences for the spcified projectintgetMonitoringNotificationPreference(String sessionId) Gets monitoring notification preference for current usergetMonitoringSubscription(String sessionId, String objectId) Gets the current user's subscription data on the specified object.getMonitoringSubscriptions(String sessionId, SoapFilter[] filters) Gets the list of current user's subscriptions optionally filtered by the specified filtersbooleanisMonitoring(String sessionId, String objectId) Gets whether the specified object is being monitored by current user or not.booleanisUserMonitoring(String sessionId, String userName, String objectId) Gets whether the specified object is being monitored by the given user name or not.listMonitoringUsers(String sessionId, String objectId) Gets the list of users monitoring the specified object.voidsetApplicationMonitoringNotificationPreferences(String sessionId, String projectId, SoapNamedValues appPreferences) Sets current user's application level monitoring notification preferences for the specified projectvoidsetMonitoringNotificationPreference(String sessionId, int preference) Sets monitoring notification preference for current user.voidstartMonitoring(String sessionId, String objectId) Starts monitoring the specified object for current uservoidstartMonitoringByUser(String sessionId, String userName, String objectId) Starts monitoring the specified object for the given uservoidstopMonitoring(String sessionId, String objectId) Stops monitoring the specified object for current user.voidstopMonitoringByUser(String sessionId, String userName, String objectId) Stops monitoring the specified object for the given user.Methods inherited from class com.collabnet.ce.soap60.webservices.ClientSoapStub
getServiceCall, getSoapServer, getTimeout, setTimeout, soapParam
-
Constructor Details
-
MonitoringAppSoapStub
-
-
Method Details
-
isMonitoring
Description copied from interface:IMonitoringAppSoapGets whether the specified object is being monitored by current user or not.- Specified by:
isMonitoringin interfaceIMonitoringAppSoap- Parameters:
sessionId- User session idobjectId- the object id for which we are doing the check- Returns:
- whether the current user is monitoring the specified object
- Throws:
RemoteException
-
isUserMonitoring
public boolean isUserMonitoring(String sessionId, String userName, String objectId) throws RemoteException Description copied from interface:IMonitoringAppSoapGets whether the specified object is being monitored by the given user name or not.- Specified by:
isUserMonitoringin interfaceIMonitoringAppSoap- Parameters:
sessionId- User session idobjectId- the object id for which we are doing the check- Returns:
- whether the specified user is monitoring the specified object
- Throws:
RemoteException
-
stopMonitoring
Description copied from interface:IMonitoringAppSoapStops monitoring the specified object for current user.- Specified by:
stopMonitoringin interfaceIMonitoringAppSoap- Parameters:
sessionId- User session idobjectId- the object id which current user will stop monitoring- Throws:
RemoteException
-
stopMonitoringByUser
public void stopMonitoringByUser(String sessionId, String userName, String objectId) throws RemoteException Description copied from interface:IMonitoringAppSoapStops monitoring the specified object for the given user.- Specified by:
stopMonitoringByUserin interfaceIMonitoringAppSoap- Parameters:
sessionId- User session iduserName- user name of the user who needs to stop monitoringobjectId- the object id which the given user will stop monitoring- Throws:
RemoteException
-
startMonitoring
Description copied from interface:IMonitoringAppSoapStarts monitoring the specified object for current user- Specified by:
startMonitoringin interfaceIMonitoringAppSoap- Parameters:
sessionId- User session idobjectId- the object id which current user will start monitoring- Throws:
RemoteException
-
startMonitoringByUser
public void startMonitoringByUser(String sessionId, String userName, String objectId) throws RemoteException Description copied from interface:IMonitoringAppSoapStarts monitoring the specified object for the given user- Specified by:
startMonitoringByUserin interfaceIMonitoringAppSoap- Parameters:
sessionId- User session iduserName- user name of the user who needs to monitorobjectId- the object id which the given user will start monitoring- Throws:
RemoteException
-
listMonitoringUsers
public MonitoringUserSoapList listMonitoringUsers(String sessionId, String objectId) throws RemoteException Description copied from interface:IMonitoringAppSoapGets the list of users monitoring the specified object.- Specified by:
listMonitoringUsersin interfaceIMonitoringAppSoap- Parameters:
sessionId- User session idobjectId- the object id- Returns:
- List of users monitoring the specified object.
- Throws:
RemoteException
-
getMonitoringSubscriptions
public MonitoringSubscriptionSoapList getMonitoringSubscriptions(String sessionId, SoapFilter[] filters) throws RemoteException Description copied from interface:IMonitoringAppSoapGets the list of current user's subscriptions optionally filtered by the specified filters- Specified by:
getMonitoringSubscriptionsin interfaceIMonitoringAppSoap- Parameters:
sessionId- User session idfilters- Array of filters to apply (null to return unfiltered list).- Returns:
- List of filtered monitoring subscriptions.
- Throws:
RemoteException
-
getMonitoringSubscription
public MonitoringSubscriptionSoapDO getMonitoringSubscription(String sessionId, String objectId) throws RemoteException Description copied from interface:IMonitoringAppSoapGets the current user's subscription data on the specified object.- Specified by:
getMonitoringSubscriptionin interfaceIMonitoringAppSoap- Parameters:
sessionId- User session idobjectId- Id of the object- Returns:
- The subscription data
- Throws:
RemoteException
-
getMonitoringNotificationPreference
Description copied from interface:IMonitoringAppSoapGets monitoring notification preference for current user- Specified by:
getMonitoringNotificationPreferencein interfaceIMonitoringAppSoap- Parameters:
sessionId- User session id- Returns:
- Subscription type; 1:email, 2:digest, 3:none, 0 otherwise
- Throws:
RemoteException
-
setMonitoringNotificationPreference
public void setMonitoringNotificationPreference(String sessionId, int preference) throws RemoteException Description copied from interface:IMonitoringAppSoapSets monitoring notification preference for current user.- Specified by:
setMonitoringNotificationPreferencein interfaceIMonitoringAppSoap- Parameters:
sessionId- User session idpreference- Integer value representing the subscription type; 1:email, 2:digest, 3:none- Throws:
RemoteException
-
setApplicationMonitoringNotificationPreferences
public void setApplicationMonitoringNotificationPreferences(String sessionId, String projectId, SoapNamedValues appPreferences) throws RemoteException Description copied from interface:IMonitoringAppSoapSets current user's application level monitoring notification preferences for the specified project- Specified by:
setApplicationMonitoringNotificationPreferencesin interfaceIMonitoringAppSoap- Parameters:
sessionId- User session idprojectId- Project idappPreferences- Application preferences.- Throws:
RemoteException
-
getApplicationMonitoringNotificationPreferences
public SoapNamedValues getApplicationMonitoringNotificationPreferences(String sessionId, String projectId) throws RemoteException Description copied from interface:IMonitoringAppSoapGets current user's application level monitoring notification preferences for the spcified project- Specified by:
getApplicationMonitoringNotificationPreferencesin interfaceIMonitoringAppSoap- Parameters:
sessionId- User session idprojectId- Project id- Returns:
- SoapNamedValues which includes notification preferences for project applications
- Throws:
RemoteException
-