com.e_c_group.bwptk.services
Class DoNotDisturb

java.lang.Object
  extended by com.e_c_group.bwptk.services.DoNotDisturb

public class DoNotDisturb
extends java.lang.Object


Constructor Summary
DoNotDisturb()
           
 
Method Summary
static Response userDoNotDisturbGetRequest(BroadWorksServer bws, boolean readFromCache, java.lang.String userId)
          Request the user level data associated with Do Not Disturb.
static Response userDoNotDisturbModifyRequest(BroadWorksServer bws, boolean readFromCache, java.lang.String userId, java.lang.String isActive, java.lang.String ringSplash)
          Request the user level data associated with Do Not Disturb.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DoNotDisturb

public DoNotDisturb()
Method Detail

userDoNotDisturbGetRequest

public static Response userDoNotDisturbGetRequest(BroadWorksServer bws,
                                                  boolean readFromCache,
                                                  java.lang.String userId)
                                           throws BwptkException
Request the user level data associated with Do Not Disturb. The response is either a UserDoNotDisturbGetResponse or an ErrorResponse.

Parameters:
bws - The BroadWorks Server
readFromCache - Whether to pull the request from bwptk cache
userId -
Throws:
BwptkException

userDoNotDisturbModifyRequest

public static Response userDoNotDisturbModifyRequest(BroadWorksServer bws,
                                                     boolean readFromCache,
                                                     java.lang.String userId,
                                                     java.lang.String isActive,
                                                     java.lang.String ringSplash)
                                              throws BwptkException
Request the user level data associated with Do Not Disturb. The response is either a UserDoNotDisturbGetResponse or an ErrorResponse.

Parameters:
bws - The BroadWorks Server
readFromCache - Whether to pull the request from bwptk cache
userId -
isActive -
ringSplash -
Throws:
BwptkException