Oracle Communications Services Gatekeeper OAM Java API Reference
7.0.0.1

E96580-01

com.bea.wlcp.wlng.account.management
Interface ApplicationGroupMBean


public interface ApplicationGroupMBean


Method Summary
abstract  void addApplicationGroup(java.lang.String applicationGroupIdentifier)
          Adds an application group with attached service level agreements.
abstract  void addServiceProviderGroup(java.lang.String serviceProviderGroupIdentifier)
          Adds a service provider group with attached service level agreements.
abstract  void addServiceProviderGroupWithProperties(java.lang.String serviceProviderGroupIdentifier, java.io.Serializable properties)
          Adds a service provider group with attached service level agreements.
abstract  int countApplicationGroups()
          Counts the number of application groups.
abstract  int countServiceProviderGroups()
          Counts the number of service provider groups.
abstract  ApplicationGroupDescription getApplicationGroup(java.lang.String applicationGroupIdentifier)
          Gets an application group description.
abstract  ServiceProviderGroupDescription getServiceProviderGroup(java.lang.String serviceProviderGroupIdentifier)
          Gets the service provider group description.
abstract  java.lang.String[] listApplicationGroups(int offset, int size)
          Lists application groups.
abstract  java.lang.String[] listServiceProviderGroups(int offset, int size)
          Lists service provider groups.
abstract  void removeApplicationGroup(java.lang.String applicationGroupIdentifier)
          Removes an empty application group.
abstract  void removeServiceProviderGroup(java.lang.String serviceProviderGroupIdentifier)
          Removes an empty service provider group.
abstract  void setApplicationGroupProperties(java.lang.String applicationGroupIdentifier, java.util.Set properties)
          Sets properties for an application group.
abstract  void setServiceProviderGroupProperties(java.lang.String serviceProviderGroupIdentifier, java.util.Set properties)
          Sets properties for a service provider group.
abstract  void setServiceProviderGroupPropertiesByString(java.lang.String serviceProviderGroupIdentifier, java.lang.String properties)
          Sets properties by string for a service provider group.
 

Method Detail

addApplicationGroup

public void addApplicationGroup(java.lang.String applicationGroupIdentifier)
                         throws com.bea.wlcp.wlng.api.management.DuplicateKeyException,
                                com.bea.wlcp.wlng.api.management.ManagementException
Adds an application group with attached service level agreements.

Scope: Domain

Parameters:
applicationGroupIdentifier - The group identifier.
Throws:
com.bea.wlcp.wlng.api.management.DuplicateKeyException - If the account group already exists or there were duplicate service level agreements specified.
com.bea.wlcp.wlng.api.management.ManagementException - If an unexpected error occurred.

addServiceProviderGroup

public void addServiceProviderGroup(java.lang.String serviceProviderGroupIdentifier)
                             throws com.bea.wlcp.wlng.api.management.DuplicateKeyException,
                                    com.bea.wlcp.wlng.api.management.ManagementException
Adds a service provider group with attached service level agreements.

Scope: Domain

Parameters:
serviceProviderGroupIdentifier - The group identifier.
Throws:
com.bea.wlcp.wlng.api.management.DuplicateKeyException - If the account group already exists or there were duplicate service level agreements specified.
com.bea.wlcp.wlng.api.management.ManagementException - If an unexpected error occurred.

addServiceProviderGroupWithProperties

public void addServiceProviderGroupWithProperties(java.lang.String serviceProviderGroupIdentifier,
                                                  java.io.Serializable properties)
                                           throws com.bea.wlcp.wlng.api.management.DuplicateKeyException,
                                                  com.bea.wlcp.wlng.api.management.ManagementException
Adds a service provider group with attached service level agreements.

Scope: Domain

Parameters:
serviceProviderGroupIdentifier - The group identifier.
properties - Properties.
Throws:
com.bea.wlcp.wlng.api.management.DuplicateKeyException - If the account group already exists or there were duplicate service level agreements specified.
com.bea.wlcp.wlng.api.management.ManagementException - If an unexpected error occurred.

countApplicationGroups

public int countApplicationGroups()
Counts the number of application groups.

Scope: Domain

Returns:
The account group count.

countServiceProviderGroups

public int countServiceProviderGroups()
Counts the number of service provider groups.

Scope: Domain

Returns:
The account group count.

getApplicationGroup

public ApplicationGroupDescription getApplicationGroup(java.lang.String applicationGroupIdentifier)
Gets an application group description. Returns the application group description and account properties.

Scope: Domain

Parameters:
applicationGroupIdentifier - The account group identifier.
Returns:
The account group description.

getServiceProviderGroup

public ServiceProviderGroupDescription getServiceProviderGroup(java.lang.String serviceProviderGroupIdentifier)
Gets the service provider group description. Returns the service provider group description and account properties.

Scope: Domain

Parameters:
serviceProviderGroupIdentifier - The account group identifier.
Returns:
The account group description.

listApplicationGroups

public java.lang.String[] listApplicationGroups(int offset,
                                                int size)
Lists application groups.

Scope: Domain

Parameters:
offset - Offset within the complete resultset. Must be >= 0.
size - Number of entries to return. 0 means no limit.
Returns:
The account groups matching the criteria.

listServiceProviderGroups

public java.lang.String[] listServiceProviderGroups(int offset,
                                                    int size)
Lists service provider groups.

Scope: Domain

Parameters:
offset - Offset within the complete resultset. Must be >= 0.
size - Number of entries to return. 0 means no limit.
Returns:
The account groups matching the criteria.

removeApplicationGroup

public void removeApplicationGroup(java.lang.String applicationGroupIdentifier)
                            throws com.bea.wlcp.wlng.api.management.ManagementException
Removes an empty application group. Removing the group is not allowed if it contains accounts.

Scope: Domain

Parameters:
applicationGroupIdentifier - The group to remove.
Throws:
com.bea.wlcp.wlng.api.management.ManagementException - If the group contains accounts.

removeServiceProviderGroup

public void removeServiceProviderGroup(java.lang.String serviceProviderGroupIdentifier)
                                throws com.bea.wlcp.wlng.api.management.ManagementException
Removes an empty service provider group. Removing the group is not allowed if it contains accounts.

Scope: Domain

Parameters:
serviceProviderGroupIdentifier - The group to remove.
Throws:
com.bea.wlcp.wlng.api.management.ManagementException - If the group contains accounts.

setApplicationGroupProperties

public void setApplicationGroupProperties(java.lang.String applicationGroupIdentifier,
                                          java.util.Set properties)
                                   throws com.bea.wlcp.wlng.api.management.KeyNotFoundException
Sets properties for an application group.

Scope: Domain

Parameters:
applicationGroupIdentifier - The group to update.
properties - The new properties. A set with Map.Entry.
Throws:
com.bea.wlcp.wlng.api.management.KeyNotFoundException - If the group does not exist.

setServiceProviderGroupProperties

public void setServiceProviderGroupProperties(java.lang.String serviceProviderGroupIdentifier,
                                              java.util.Set properties)
                                       throws com.bea.wlcp.wlng.api.management.KeyNotFoundException
Sets properties for a service provider group.

Note: Only applicable when the MBean is accessed directly.

Scope: Domain

Parameters:
serviceProviderGroupIdentifier - The group to update.
properties - The new properties. A set with Map.Entry.
Throws:
com.bea.wlcp.wlng.api.management.KeyNotFoundException - If the group does not exist.

setServiceProviderGroupPropertiesByString

public void setServiceProviderGroupPropertiesByString(java.lang.String serviceProviderGroupIdentifier,
                                                      java.lang.String properties)
                                               throws com.bea.wlcp.wlng.api.management.KeyNotFoundException,
                                                      com.bea.wlcp.wlng.api.management.ManagementException
Sets properties by string for a service provider group.

Note: Only applicable when the MBean is accessed directly.

Scope: Domain

Parameters:
serviceProviderGroupIdentifier - The group to update.
properties - The new properties. A string with format "key1=value1;key2=value2;..."
Throws:
com.bea.wlcp.wlng.api.management.KeyNotFoundException - If the group does not exist.
com.bea.wlcp.wlng.api.management.ManagementException

Oracle Communications Services Gatekeeper OAM Java API Reference
7.0.0.1

E96580-01

Copyright © 2008, 2018, Oracle and/or its affiliates. All rights reserved.