@AccessLevel(value=EXTERNAL)
public interface ServiceGroup
extends curam.serviceoffering.impl.ServiceGroupAccessor, curam.util.persistence.Insertable, curam.util.persistence.helper.LogicallyDeleteable, curam.util.persistence.helper.Named, curam.util.persistence.helper.Commented, curam.util.persistence.OptimisticLockModifiable
Modifier and Type | Interface and Description |
---|---|
static interface |
ServiceGroup.ServiceGroupAddServiceGroupToParentServiceGroupEvents
Interface to the service group events functionality surrounding the
addServiceGroupToParentServiceGroup method.
|
static interface |
ServiceGroup.ServiceGroupAddServiceOfferingEvents
Interface to the service group events functionality surrounding the
addServiceOffering method.
|
static interface |
ServiceGroup.ServiceGroupCancelEvents
Interface to the service group events functionality surrounding the cancel
method.
|
static interface |
ServiceGroup.ServiceGroupGetServiceOfferingsEvents
Interface to the service group events functionality surrounding the
getServiceOfferings method.
|
static interface |
ServiceGroup.ServiceGroupInsertEvents
Interface to the service group events functionality surrounding the insert
method.
|
static interface |
ServiceGroup.ServiceGroupModifyEvents
Interface to the service group events functionality surrounding the modify
method.
|
static interface |
ServiceGroup.ServiceGroupRemoveServiceGroupFromParentServiceGroupEvents
Interface to the service group events functionality surrounding the
removeServiceGroupFromParentServiceGroup method.
|
static interface |
ServiceGroup.ServiceGroupRemoveServiceOfferingEvents
Interface to the service group events functionality surrounding the
removeServiceOffering method.
|
static interface |
ServiceGroup.ServiceGroupRetrieveServiceGroupByReferenceEvents
Interface to the ServiceGroup API events functionality surrounding the
retrieveServiceGroupByReference method.
|
Modifier and Type | Method and Description |
---|---|
void |
addServiceGroupToParentServiceGroup(java.lang.Integer versionNo)
Adds the service group association with another service group.
|
boolean |
addServiceOffering(ServiceOffering serviceOffering)
Adds a service offering as a new member of the group (if it is not already
a member).
|
java.util.List<ServiceGroup> |
getChildren() |
ServiceGroup |
getParentServiceGroup() |
java.util.Set<ServiceOffering> |
getServiceOfferings() |
void |
removeServiceGroupFromParentServiceGroup(java.lang.Integer versionNo)
Removes the service group association from another service group.
|
boolean |
removeServiceOffering(ServiceOffering serviceOffering)
Removes the service offering's membership from the group (if it is
currently a member).
|
ServiceGroup |
retrieveServiceGroupByReference(java.lang.String reference)
Reads the details of a service group for a specified reference.
|
void |
setDescription(java.lang.String value)
Sets the description of the service group.
|
void |
setParentServiceGroup(ServiceGroup value)
Sets the parent service group.
|
void |
setReference(java.lang.String value)
Sets the reference for the service group.
|
getDescription, getReference
void setDescription(java.lang.String value)
value
- The description of the service group.The
default implementation -
curam.serviceoffering.impl.ServiceGroupImpl#setDescription(String).
ServiceGroup getParentServiceGroup()
getParentServiceGroup
in interface curam.serviceoffering.impl.ServiceGroupAccessor
void setParentServiceGroup(ServiceGroup value)
value
- the parent service group.java.util.Set<ServiceOffering> getServiceOfferings()
getServiceOfferings
in interface curam.serviceoffering.impl.ServiceGroupAccessor
java.util.List<ServiceGroup> getChildren()
getChildren
in interface curam.serviceoffering.impl.ServiceGroupAccessor
void removeServiceGroupFromParentServiceGroup(java.lang.Integer versionNo) throws curam.util.exception.InformationalException
versionNo
- the version number of the service group to be removed.curam.util.exception.InformationalException
- Generic Exception Signature.The default implementation -
curam.serviceoffering.impl.ServiceGroupImpl#
removeServiceGroupFromParentServiceGroup(Integer).
void addServiceGroupToParentServiceGroup(java.lang.Integer versionNo) throws curam.util.exception.InformationalException
versionNo
- the version number of the service group to be added.curam.util.exception.InformationalException
- Generic Exception Signature.The default implementation -
curam.serviceoffering.impl.ServiceGroupImpl#
addServiceGroupToParentServiceGroup(Integer).
boolean addServiceOffering(ServiceOffering serviceOffering) throws curam.util.exception.InformationalException
serviceOffering
- The service offering to be added as a new member.curam.util.exception.InformationalException
- Generic Exception Signature.The default implementation -
curam.serviceoffering.impl.ServiceGroupImpl#addServiceOffering(
ServiceOffering).
boolean removeServiceOffering(ServiceOffering serviceOffering) throws curam.util.exception.InformationalException
serviceOffering
- The service offering membership to be removed from the group.curam.util.exception.InformationalException
- Generic Exception Signature.The default implementation -
curam.serviceoffering.impl.ServiceGroupImpl#removeServiceOffering(
ServiceOffering).
void setReference(java.lang.String value)
value
- The reference of the service group.@AccessLevel(value=EXTERNAL) ServiceGroup retrieveServiceGroupByReference(java.lang.String reference) throws curam.util.exception.AppException, curam.util.exception.InformationalException
reference
- The reference of the service group.curam.util.exception.AppException
curam.util.exception.InformationalException
ServiceGroup |