|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.e_c_group.bwptk.ServiceProvider
public class ServiceProvider
A "service provider" or "enterprise" within the BroadWorks system.
Method Summary | |
---|---|
boolean |
addTelephoneNumber(java.lang.String telephoneNumber)
Add a telephone number to this service provider. |
boolean |
authorizeUnlimitedGroupService(java.lang.String serviceName)
|
void |
blockInternationalCallForwarding(java.io.PrintStream reportOutput)
Block forwarding of calls to international destinations within this sevice provider. |
boolean |
deleteTelephoneNumber(java.lang.String telephoneNumber)
Delete a telephone number from this service provider. |
void |
enableOutgoingCallingPlanAndBlockInternationalCallForwarding(java.io.PrintStream reportOutput)
This enables the Outgoing Calling Plan and Block's International Call Forwarding for this Service Provider. |
static void |
enableOutgoingCallingPlanAndBlockInternationalCallForwardingForAllServiceProviders(BroadWorksServer bws,
java.io.PrintStream reportOutput)
This enables the Outgoing Calling Plan and Block's International Call Forwarding for all Service Provider's in the BroadWorks System. |
java.lang.String |
getAddressLine1()
Retrieves the Service Provider Address Line 1. |
java.lang.String |
getAddressLine2()
Retrieves the Service Provider Address Line 2. |
BroadWorksServer |
getBroadWorksServer()
Retrieve the BroadWorksServer object |
java.lang.String |
getCity()
Retrieves the Service Provider Address City. |
Response |
getCommunicationBarringProfileListReponse()
Get the list of all Communication Barring Profiles. |
Response |
getCommunicationsBarringAssignedCriteriaListResponse()
Get a list of Communication Barring Criteria assigned to a service provider. |
Response |
getCommunicationsBarringDigitPatternCriteriaListResponse()
Get the list of all Digit Pattern Criteria defined for the service provider. |
Response |
getCommunicationsBarringProfileResponse(java.lang.String profileName)
Get an existing Communication Barring Profile. |
java.lang.String |
getContactEmail()
Retrieves the Service Provider Contact Email. |
java.lang.String |
getContactName()
Retrieves the Service Provider Contact Name. |
java.lang.String |
getContactNumber()
Retrieves the Service Provider Contact Number. |
java.lang.String |
getCountry()
Retrieves the Service Provider Address Country. |
Response |
getScheduleEventListResponse(java.lang.String scheduleName,
java.lang.String scheduleType)
Get the list of events of a service provider schedule. |
Response |
getScheduleEventResponse(java.lang.String scheduleName,
java.lang.String scheduleType,
java.lang.String eventName)
Get an event from a service provider schedule. |
Response |
getScheduleListResponse()
Get the list of a service provider schedules. |
static ServiceProvider |
getServiceProvider(BroadWorksServer bws,
java.lang.String serviceProviderId)
Returns a Service Provider object given the BroadWorksServer and ID. |
static ServiceProvider |
getServiceProvider(BroadWorksServer bws,
java.lang.String serviceProviderId,
java.lang.String serviceProviderName)
Returns a Service Provider object given the BroadWorksServer and ID. |
java.lang.String |
getServiceProviderId()
Retrieve the Service Provider's ID |
java.lang.String |
getServiceProviderName()
Retrieves the Service Provider Name. |
static java.util.List<ServiceProvider> |
getServiceProvidersInSystem(BroadWorksServer bws)
Get all of the service providers in the system. |
java.lang.String |
getState()
Retrieves the Service Provider Address State. |
java.lang.String |
getSupportEmail()
Retrieves the Service Provider Support Email. |
java.lang.String |
getZipcode()
Retrieves the Service Provider Address Zipcode. |
static void |
listServiceProviderIdsInSystem(BroadWorksServer bws,
java.io.PrintStream out)
List the Ids of ServiceProviders in the Broadworks System |
static java.util.List<ServiceProvider> |
searchForServiceProvider(BroadWorksServer bws,
java.lang.String sp,
java.lang.String mode,
boolean searchByName)
A search for Service Providers with extra features. |
static java.util.List<ServiceProvider> |
searchServiceProviderById(BroadWorksServer bws,
java.lang.String spName)
A search that returns every Service Provider with the specified name. |
static void |
syncAllServiceProvidersToDatabase(BroadWorksServer bws,
java.sql.Connection con)
This synchronizes every ServiceProvider in a BroadWorks Server to a SQL database |
void |
syncServiceProviderToDatabase(java.sql.Connection con)
This method Synchronizes a Service Provider to a SQL database. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public java.lang.String getServiceProviderId()
public BroadWorksServer getBroadWorksServer()
public static ServiceProvider getServiceProvider(BroadWorksServer bws, java.lang.String serviceProviderId)
bws
- serviceProviderId
- public static ServiceProvider getServiceProvider(BroadWorksServer bws, java.lang.String serviceProviderId, java.lang.String serviceProviderName)
bws
- serviceProviderId
- serviceProviderName
-
public java.lang.String getServiceProviderName() throws BwptkException
BwptkException
public java.lang.String getContactName() throws BwptkException
BwptkException
public java.lang.String getContactNumber() throws BwptkException
BwptkException
public java.lang.String getContactEmail() throws BwptkException
BwptkException
public java.lang.String getAddressLine1() throws BwptkException
BwptkException
public java.lang.String getAddressLine2() throws BwptkException
BwptkException
public java.lang.String getCity() throws BwptkException
BwptkException
public java.lang.String getState() throws BwptkException
BwptkException
public java.lang.String getZipcode() throws BwptkException
BwptkException
public java.lang.String getCountry() throws BwptkException
BwptkException
public java.lang.String getSupportEmail() throws BwptkException
BwptkException
public Response getCommunicationBarringProfileListReponse() throws BwptkException
BwptkException
public Response getCommunicationsBarringProfileResponse(java.lang.String profileName) throws BwptkException
BwptkException
public Response getCommunicationsBarringAssignedCriteriaListResponse() throws BwptkException
BwptkException
public Response getCommunicationsBarringDigitPatternCriteriaListResponse() throws BwptkException
BwptkException
public Response getScheduleListResponse() throws BwptkException
BwptkException
public Response getScheduleEventListResponse(java.lang.String scheduleName, java.lang.String scheduleType) throws BwptkException
BwptkException
public Response getScheduleEventResponse(java.lang.String scheduleName, java.lang.String scheduleType, java.lang.String eventName) throws BwptkException
BwptkException
public boolean authorizeUnlimitedGroupService(java.lang.String serviceName) throws BwptkException
serviceName
- The service name to authorize
BwptkException
public static java.util.List<ServiceProvider> getServiceProvidersInSystem(BroadWorksServer bws) throws BwptkException
bws
- The Broadworks Server
BwptkException
public static java.util.List<ServiceProvider> searchServiceProviderById(BroadWorksServer bws, java.lang.String spName) throws BwptkException
bws
- The BroadWorksServerspId
- The ServiceProvider name
BwptkException
public static java.util.List<ServiceProvider> searchForServiceProvider(BroadWorksServer bws, java.lang.String sp, java.lang.String mode, boolean searchByName) throws BwptkException
bws
- The BroadWorksServersp
- The search termmode
- The mode of search - "Starts With", "Contains", or "Equal To"searchByName
- True to search by name, False to search by IdmaxResults
- The maximum number of results returned
BwptkException
public static void listServiceProviderIdsInSystem(BroadWorksServer bws, java.io.PrintStream out) throws BwptkException
bws
- The Broadworks Serverout
- A PrintStream
BwptkException
public static void enableOutgoingCallingPlanAndBlockInternationalCallForwardingForAllServiceProviders(BroadWorksServer bws, java.io.PrintStream reportOutput) throws BwptkException
bws
- The BroadWorks serverreportOutput
- A PrintStream
BwptkException
public void enableOutgoingCallingPlanAndBlockInternationalCallForwarding(java.io.PrintStream reportOutput) throws BwptkException
reportOutput
- A PrintStream
BwptkException
public void blockInternationalCallForwarding(java.io.PrintStream reportOutput) throws BwptkException
reportOutput
- Provide a PrintStream if you want textual output reported.
BwptkException
public boolean addTelephoneNumber(java.lang.String telephoneNumber) throws BwptkException
telephoneNumber
- The Number to be added as String
BwptkException
public boolean deleteTelephoneNumber(java.lang.String telephoneNumber) throws BwptkException
telephoneNumber
- The Number to be deleted as String
BwptkException
public void syncServiceProviderToDatabase(java.sql.Connection con) throws java.sql.SQLException, BwptkException
con
- The database with which to synchronize the Service Provider.
java.sql.SQLException
BwptkException
public static void syncAllServiceProvidersToDatabase(BroadWorksServer bws, java.sql.Connection con) throws java.sql.SQLException, BwptkException
bws
- The BroadWorks server to list ServiceProviders from.con
- The SQL server with which to synchronize the ServiceProviders.
java.sql.SQLException
BwptkException
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |