com.e_c_group.bwptk.services
Class RemoteOffice

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

public class RemoteOffice
extends java.lang.Object


Constructor Summary
RemoteOffice()
           
 
Method Summary
static Response userRemoteOfficeGetRequest(BroadWorksServer bws, boolean readFromCache, java.lang.String userId)
          Request the user level data associated with Remote Office.
static Response userRemoteOfficeModifyRequest(BroadWorksServer bws, boolean readFromCache, java.lang.String userId, java.lang.String isActive, java.lang.String remoteOfficePhoneNumber)
          Request the user level data associated with Remote Office.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteOffice

public RemoteOffice()
Method Detail

userRemoteOfficeGetRequest

public static Response userRemoteOfficeGetRequest(BroadWorksServer bws,
                                                  boolean readFromCache,
                                                  java.lang.String userId)
                                           throws BwptkException
Request the user level data associated with Remote Office. The response is either a UserRemoteOfficeGetResponse or an ErrorResponse.

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

userRemoteOfficeModifyRequest

public static Response userRemoteOfficeModifyRequest(BroadWorksServer bws,
                                                     boolean readFromCache,
                                                     java.lang.String userId,
                                                     java.lang.String isActive,
                                                     java.lang.String remoteOfficePhoneNumber)
                                              throws BwptkException
Request the user level data associated with Remote Office. The response is either a UserRemoteOfficeGetResponse or an ErrorResponse.

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