com.e_c_group.bwptk.services
Class SelectiveCallRejection

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

public class SelectiveCallRejection
extends java.lang.Object


Constructor Summary
SelectiveCallRejection()
           
 
Method Summary
static Response userSelectiveCallRejectionDeleteCriteriaRequest(BroadWorksServer bws, boolean readFromCache, java.lang.String userId, java.lang.String criteriaName)
          Add a criteria to the user's selective call rejection service.
static Response userSelectiveCallRejectionGetCriteriaListRequest(BroadWorksServer bws, boolean readFromCache, java.lang.String userId)
          Add a criteria to the user's selective call rejection service.
static Response userSelectiveCallRejectionModifyActiveCriteriaListRequest(BroadWorksServer bws, boolean readFromCache, java.lang.String userId, java.lang.String criteriaActivation)
          Add a criteria to the user's selective call rejection service.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelectiveCallRejection

public SelectiveCallRejection()
Method Detail

userSelectiveCallRejectionDeleteCriteriaRequest

public static Response userSelectiveCallRejectionDeleteCriteriaRequest(BroadWorksServer bws,
                                                                       boolean readFromCache,
                                                                       java.lang.String userId,
                                                                       java.lang.String criteriaName)
                                                                throws BwptkException
Add a criteria to the user's selective call rejection service. The response is either a SuccessResponse or an ErrorResponse.

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

userSelectiveCallRejectionGetCriteriaListRequest

public static Response userSelectiveCallRejectionGetCriteriaListRequest(BroadWorksServer bws,
                                                                        boolean readFromCache,
                                                                        java.lang.String userId)
                                                                 throws BwptkException
Add a criteria to the user's selective call rejection service. The response is either a SuccessResponse or an ErrorResponse.

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

userSelectiveCallRejectionModifyActiveCriteriaListRequest

public static Response userSelectiveCallRejectionModifyActiveCriteriaListRequest(BroadWorksServer bws,
                                                                                 boolean readFromCache,
                                                                                 java.lang.String userId,
                                                                                 java.lang.String criteriaActivation)
                                                                          throws BwptkException
Add a criteria to the user's selective call rejection service. The response is either a SuccessResponse or an ErrorResponse.

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