|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.e_c_group.bwptk.Group
public class Group
The Group Class represents a Group in BroadWorks. Each Group must have an ID and a Service Provider assignment.
Method Summary | |
---|---|
boolean |
assignGroupService(java.lang.String serviceName)
Assigns a Group Service with the designated name. |
boolean |
assignTelephoneNumber(java.lang.String telephoneNumber)
Assign a telephone number to this group. |
boolean |
authorizeUnlimitedGroupService(java.lang.String serviceName)
Authorizes an unlimited Group Service |
boolean |
authorizeUnlimitedUserService(java.lang.String serviceName)
Authorizes an unlimited User Service |
boolean |
blockInternationalCallForwarding()
Block's International Call Forwarding for this Group |
BroadWorksServer |
getBroadWorksServer()
|
static Group |
getGroup(ServiceProvider serviceProvider,
java.lang.String groupId)
Retrieve a Group given the Service Provider and Group ID. |
static Group |
getGroup(ServiceProvider serviceProvider,
java.lang.String groupId,
java.lang.String groupName)
Retrieve a Group given the Service Provider and Group ID. |
java.util.List<GroupAccessDevice> |
getGroupAccessDevices()
Retrieves the list of Group Access Devices for this Group. |
void |
getGroupCCMTables(BroadWorksServer bws,
java.io.PrintStream out)
Prints the Call Capacity Management information for the Group |
Response |
getGroupCommunicationBarringAuthorizationCodesResponse()
Retrieves the Response element for a Group's Communication Barring Authorization Codes. |
Response |
getGroupCommunicationBarringResponse()
Retrieves the Response element for a Group's Communication Barring settings. |
Response |
getGroupGetRequest14sp7()
Retrieves the Response element for this Group. |
java.lang.String |
getGroupId()
Retrieves the GroupID |
java.lang.String |
getGroupName()
Return's the Group Name |
GroupPortalPasscodeRules |
getGroupPortalPasscodeRules()
Gets the group portal passcode rules with a "GroupPortalPasscodeRulesGetRequest", or returns null in case of an error. |
static java.util.List<Group> |
getGroupsInServiceProvider(ServiceProvider sp)
Retrieves a list of all Group's within a Service Provider. |
static java.util.List<Group> |
getGroupsInSystem(BroadWorksServer bws)
Retrieves a list of all Groups in the System. |
java.lang.String |
getSACMaxSessions()
Retrieves SessionAdmissionControl max sessions |
java.lang.String |
getSACMaxUserOriginatingSessions()
Retrieves SessionAdmissionControl max user originating sessions. |
java.lang.String |
getSACMaxUserTerminatingSessions()
Retrieve SessionAdmissionControl max user terminating sessions. |
ServiceProvider |
getServiceProvider()
Retrieves the Service Provider for the Group |
java.lang.String |
getServiceProviderId()
|
java.util.List<TrunkGroup> |
getTrunkGroupsByGroup(BroadWorksServer bws)
Retrieves a list of all Trunk Groups within the Group. |
static void |
groupCCMDetailsBySystemCommand(BroadWorksServer bws,
java.io.PrintStream out)
Prints the Call Capacity Management information for all Groups in the System |
static boolean |
groupPortalPasscodeRulesBySystemCommand(BroadWorksServer bws,
java.io.PrintStream out)
Print out the group portal passcode rules for every group in the system. |
static void |
groupSACDetailsBySystemCommand(BroadWorksServer bws,
java.io.PrintStream out)
Prints SessionAdmissionControl details for all Groups in the System |
static void |
groupServiceIsAssignedBySystemCommand(BroadWorksServer bws,
java.io.PrintStream out,
java.lang.String serviceName)
Prints whether a Group Service is assigned to all Groups in the System. |
static void |
groupTrunkGroupBriefBySystemCommand(BroadWorksServer bws,
java.io.PrintStream out)
Prints brief details on all Trunk Groups in the System |
static void |
listGroupIdsInServiceProvider(ServiceProvider sp,
java.io.PrintStream out)
Prints all GroupId's within a Service Provider to the designated PrintStream. |
static void |
main(java.lang.String[] args)
|
java.util.List<java.lang.String> |
randomizeAuthentication(boolean resetDevices,
boolean includeUser)
Generates random authentication for all users within this group. |
static java.util.List<Group> |
searchForGroup(BroadWorksServer bws,
java.lang.String sp,
java.lang.String mode)
Retrieves a list of Groups that match a set of search criteria. |
boolean |
serviceIsAssigned(java.lang.String serviceName)
Determine whether this group has the specified service. |
boolean |
setGroupOutgoingCallingPlanRedirecting(CallingPlanCallType cpct,
boolean allowed)
Enable or disable a redirecting outgoing calling plan element. |
static void |
syncAllGroupsToDatabase(BroadWorksServer bws,
java.sql.Connection con)
This synchronizes every Group in a BroadWorks Server to a SQL database |
void |
syncGroupToDatabase(java.sql.Connection con)
This synchronizes a Group to a SQL database. |
java.lang.String |
toString()
|
boolean |
unassignTelephoneNumber(java.lang.String telephoneNumber)
Unassign a telephone number to this group. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public java.lang.String getGroupId()
public ServiceProvider getServiceProvider()
public Response getGroupCommunicationBarringResponse() throws BwptkException
BwptkException
public Response getGroupCommunicationBarringAuthorizationCodesResponse() throws BwptkException
BwptkException
public boolean setGroupOutgoingCallingPlanRedirecting(CallingPlanCallType cpct, boolean allowed) throws BwptkException
<command xsi:type="GroupOutgoingCallingPlanRedirectingModifyListRequest" xmlns="">
<serviceProviderId>lindsey_sp_1</serviceProviderId>
<groupId>test_group_1</groupId>
<groupPermissions>
<international>false</international>
</groupPermissions>
</command>
cpct
- The CallingPlanCallTypeallowed
-
BwptkException
public static java.util.List<Group> getGroupsInSystem(BroadWorksServer bws) throws BwptkException
bws
-
BwptkException
public static java.util.List<Group> getGroupsInServiceProvider(ServiceProvider sp) throws BwptkException
sp
-
BwptkException
public static java.util.List<Group> searchForGroup(BroadWorksServer bws, java.lang.String sp, java.lang.String mode) throws BwptkException
bws
- sp
- The search valuemode
- The search mode
BwptkException
public static void listGroupIdsInServiceProvider(ServiceProvider sp, java.io.PrintStream out) throws BwptkException
sp
- out
-
BwptkException
public static Group getGroup(ServiceProvider serviceProvider, java.lang.String groupId) throws BwptkException
serviceProvider
- groupId
-
BwptkException
public static Group getGroup(ServiceProvider serviceProvider, java.lang.String groupId, java.lang.String groupName) throws BwptkException
serviceProvider
- groupId
- groupName
-
BwptkException
public java.util.List<GroupAccessDevice> getGroupAccessDevices() throws BwptkException
BwptkException
public Response getGroupGetRequest14sp7() throws BwptkException
BwptkException
public java.lang.String getGroupName() throws BwptkException
BwptkException
public boolean blockInternationalCallForwarding() throws BwptkException
BwptkException
public boolean authorizeUnlimitedGroupService(java.lang.String serviceName) throws BwptkException
serviceName
-
BwptkException
public boolean authorizeUnlimitedUserService(java.lang.String serviceName) throws BwptkException
serviceName
-
BwptkException
public GroupPortalPasscodeRules getGroupPortalPasscodeRules() throws BwptkException
BwptkException
public static boolean groupPortalPasscodeRulesBySystemCommand(BroadWorksServer bws, java.io.PrintStream out) throws java.lang.Exception
bws
- out
- The printstream to display the passcode rules.
java.lang.Exception
public boolean assignGroupService(java.lang.String serviceName) throws BwptkException
serviceName
-
BwptkException
public boolean assignTelephoneNumber(java.lang.String telephoneNumber) throws BwptkException
telephoneNumber
-
BwptkException
public boolean unassignTelephoneNumber(java.lang.String telephoneNumber) throws BwptkException
telephoneNumber
-
BwptkException
public boolean serviceIsAssigned(java.lang.String serviceName) throws BwptkException
serviceName
-
BwptkException
public static void groupServiceIsAssignedBySystemCommand(BroadWorksServer bws, java.io.PrintStream out, java.lang.String serviceName) throws java.lang.Exception
bws
- out
- serviceName
-
java.lang.Exception
public java.lang.String getSACMaxSessions() throws BwptkException
BwptkException
public java.lang.String getSACMaxUserOriginatingSessions() throws BwptkException
BwptkException
public java.lang.String getSACMaxUserTerminatingSessions() throws BwptkException
BwptkException
public static void groupSACDetailsBySystemCommand(BroadWorksServer bws, java.io.PrintStream out) throws java.lang.Exception
bws
- out
-
java.lang.Exception
public void getGroupCCMTables(BroadWorksServer bws, java.io.PrintStream out) throws BwptkException
bws
- out
-
BwptkException
public static void groupCCMDetailsBySystemCommand(BroadWorksServer bws, java.io.PrintStream out) throws java.lang.Exception
bws
- out
-
BwptkException
java.lang.Exception
public java.util.List<TrunkGroup> getTrunkGroupsByGroup(BroadWorksServer bws) throws BwptkException
bws
-
BwptkException
public static void groupTrunkGroupBriefBySystemCommand(BroadWorksServer bws, java.io.PrintStream out) throws java.lang.Exception
bws
- out
-
java.lang.Exception
public java.util.List<java.lang.String> randomizeAuthentication(boolean resetDevices, boolean includeUser) throws BwptkException
resetDevices
- Set to true to reset the access devices following the change.includeUser
- Set to true to randomize the username as well as password.
BwptkException
public void syncGroupToDatabase(java.sql.Connection con) throws java.sql.SQLException, BwptkException
con
- The SQL Server with which to synchronize the Group.
java.sql.SQLException
BwptkException
public static void syncAllGroupsToDatabase(BroadWorksServer bws, java.sql.Connection con) throws java.sql.SQLException, BwptkException
bws
- The BroadWorks server to list users from.con
- The SQL server with which to synchronize the users.
java.sql.SQLException
BwptkException
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getServiceProviderId()
public BroadWorksServer getBroadWorksServer()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |