Class Group

java.lang.Object
co.ecg.alpaca.toolkit.model.BroadWorksObject
co.ecg.alpaca.toolkit.generated.Group
All Implemented Interfaces:
Serializable

public class Group extends BroadWorksObject
See Also:
  • Field Details

    • defaultDomain

      protected String defaultDomain
    • userLimit

      protected Integer userLimit
    • userCount

      protected Integer userCount
    • groupName

      protected String groupName
    • callingLineIdName

      protected String callingLineIdName
    • callingLineIdPhoneNumber

      protected String callingLineIdPhoneNumber
    • callingLineIdDisplayPhoneNumber

      protected String callingLineIdDisplayPhoneNumber
    • timeZone

      protected String timeZone
    • timeZoneDisplayName

      protected String timeZoneDisplayName
    • locationDialingCode

      protected String locationDialingCode
    • contact

      protected Contact contact
    • address

      protected StreetAddress address
    • servicePolicy

      protected String servicePolicy
    • callProcessingSliceId

      protected String callProcessingSliceId
    • provisioningSliceId

      protected String provisioningSliceId
    • subscriberPartition

      protected String subscriberPartition
    • preferredDataCenter

      protected String preferredDataCenter
    • resellerId

      protected String resellerId
  • Constructor Details

    • Group

      public Group()
      Serializable Constructor
    • Group

      public Group(BroadWorksServer broadWorksServer)
      Parameters:
      broadWorksServer -
    • Group

      public Group(ServiceProvider serviceProvider, String groupId)
      Creates a new Group
      Parameters:
      serviceProvider -
      groupId -
  • Method Details

    • setGroupId

      public Group setGroupId(String groupId)
    • getGroupId

      public String getGroupId()
    • setServiceProviderId

      public Group setServiceProviderId(String serviceProviderId)
    • getServiceProviderId

      public String getServiceProviderId()
    • setServiceProvider

      public Group setServiceProvider(ServiceProvider serviceProvider)
    • getServiceProvider

      public ServiceProvider getServiceProvider()
      Returns a handle on the User's Service Provider
    • getPopulatedGroup

      public static Group getPopulatedGroup(ServiceProvider serviceProvider, String groupId) throws BroadWorksObjectException
      Retrieves a populated Group
      Parameters:
      serviceProvider -
      groupId -
      Throws:
      BroadWorksObjectException
    • getUsersInGroup

      public List<User> getUsersInGroup()
      Retrieves the list of Users in the Group
      Returns:
      An ArrayList of User objects
    • getGroupAccessDevicesInGroup

      public List<GroupAccessDevice> getGroupAccessDevicesInGroup()
      Retrieves the list of GroupAccessDevices in the Group
      Returns:
      An ArrayList of GroupAccessDevice objects
    • getClassName

      public String getClassName()
    • setDefaultDomain

      public Group setDefaultDomain(String defaultDomain)
    • getDefaultDomain

      public String getDefaultDomain()
    • setUserLimit

      public Group setUserLimit(Integer userLimit)
    • getUserLimit

      public Integer getUserLimit()
    • setUserCount

      public Group setUserCount(Integer userCount)
    • getUserCount

      public Integer getUserCount()
    • setGroupName

      public Group setGroupName(String groupName)
    • getGroupName

      public String getGroupName()
    • setCallingLineIdName

      public Group setCallingLineIdName(String callingLineIdName)
    • getCallingLineIdName

      public String getCallingLineIdName()
    • setCallingLineIdPhoneNumber

      public Group setCallingLineIdPhoneNumber(String callingLineIdPhoneNumber)
    • getCallingLineIdPhoneNumber

      public String getCallingLineIdPhoneNumber()
    • setCallingLineIdDisplayPhoneNumber

      public Group setCallingLineIdDisplayPhoneNumber(String callingLineIdDisplayPhoneNumber)
    • getCallingLineIdDisplayPhoneNumber

      public String getCallingLineIdDisplayPhoneNumber()
    • setTimeZone

      public Group setTimeZone(String timeZone)
    • getTimeZone

      public String getTimeZone()
    • setTimeZoneDisplayName

      public Group setTimeZoneDisplayName(String timeZoneDisplayName)
    • getTimeZoneDisplayName

      public String getTimeZoneDisplayName()
    • setLocationDialingCode

      public Group setLocationDialingCode(String locationDialingCode)
    • getLocationDialingCode

      public String getLocationDialingCode()
    • setContact

      public Group setContact(Contact contact)
    • getContact

      public Contact getContact()
    • setAddress

      public Group setAddress(StreetAddress address)
    • getAddress

      public StreetAddress getAddress()
    • setServicePolicy

      public Group setServicePolicy(String servicePolicy)
    • getServicePolicy

      public String getServicePolicy()
    • setCallProcessingSliceId

      public Group setCallProcessingSliceId(String callProcessingSliceId)
    • getCallProcessingSliceId

      public String getCallProcessingSliceId()
    • setProvisioningSliceId

      public Group setProvisioningSliceId(String provisioningSliceId)
    • getProvisioningSliceId

      public String getProvisioningSliceId()
    • setSubscriberPartition

      public Group setSubscriberPartition(String subscriberPartition)
    • getSubscriberPartition

      public String getSubscriberPartition()
    • setPreferredDataCenter

      public Group setPreferredDataCenter(String preferredDataCenter)
    • getPreferredDataCenter

      public String getPreferredDataCenter()
    • setResellerId

      public Group setResellerId(String resellerId)
    • getResellerId

      public String getResellerId()
    • populate

      public Response populate()
      Method to populate the Fields of the Object via the Associated BroadWorks request
      Specified by:
      populate in class BroadWorksObject
    • populate

      public Response populate(Group.GroupGetResponse resp)
      Method to populate the Fields of the Object via the Associated BroadWorks request
      Parameters:
      resp - The response object to perform population
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object