|
| Foundation |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
com.sas.services.ServiceAggregateConfig
public final class ServiceAggregateConfig
An aggregation of a service's base and 0..* application configurations.
| Constructor Summary | |
|---|---|
ServiceAggregateConfig(com.sas.metadata.remote.ServiceComponent serviceComponent)
Constructs a configuration for the specified service. |
|
| Method Summary | |
|---|---|
AbstractServiceComponentConfig |
createAggregateConfig(boolean isIncludingBaseConfig,
java.util.List appConfigNames)
Creates an aggregated configuration for the specified service configuration(s). |
AbstractServiceComponentConfig |
getAggregateServiceConfig()
Gets the service's aggregate configuration. |
ServiceConfigDocument |
getBaseServiceConfig()
Gets the base service configuration document. |
java.lang.String |
getConfigName()
Gets the service configuration's name. |
java.lang.String |
getConfigUserInterfaceClassName()
Gets the fully-qualified name of the Java class that is used to render the service configuration. |
com.sas.metadata.remote.ServiceComponent |
getServiceComponent()
Gets the metadata object that represents the service. |
AbstractServiceComponentConfig |
getServiceConfig()
Gets the service configuration for the property. |
ServiceConfigDocument |
getServiceConfigDocument(java.lang.String configName)
Gets the service configuration document for the specified configuration name. |
java.util.List |
getServiceConfigDocuments()
Returns a copy of the list of service configuration documents. |
java.util.List |
getServiceConfigDocuments(java.util.List configNames)
Gets a list of service configuration documents
for the specified configuration names. |
com.sas.metadata.remote.Property |
getServiceConfigProperty()
Gets a property associated with the selected service configuration. |
ServiceFactoryInterface |
getServiceFactory()
|
boolean |
isBaseConfig()
Determines if this is the service's base configuration. |
void |
setConfigName(java.lang.String configName)
Sets the name of the service configuration. |
void |
setServiceConfigProperty(com.sas.metadata.remote.Property serviceConfigProperty)
Specifies the property representing the service configuration which is being edited. |
| Constructor Detail |
|---|
public ServiceAggregateConfig(com.sas.metadata.remote.ServiceComponent serviceComponent)
throws java.lang.IllegalArgumentException,
ServiceException
serviceComponent - The service.
ServiceException - if unable to determine the service's configuration
properties.
java.lang.IllegalArgumentException - if an invalid parameter value is specified.| Method Detail |
|---|
public ServiceConfigDocument getBaseServiceConfig()
null
if a base configuration is not defined.
public AbstractServiceComponentConfig createAggregateConfig(boolean isIncludingBaseConfig,
java.util.List appConfigNames)
throws ServiceException
isIncludingBaseConfig - true if the service's base configuration should
be included.appConfigNames - Collection of elements of type String representing
the names of the service's application configuration(s) which
are to be aggregated.
ServiceException - if unable to create a configuration.
public java.util.List getServiceConfigDocuments(java.util.List configNames)
throws ServiceException
documents
for the specified configuration names.
configNames - Collection of configuration names that are of type String.
documents
for the specified configuration names.
ServiceException - if unable to get the service configuration documents
for all specified names.
public ServiceConfigDocument getServiceConfigDocument(java.lang.String configName)
throws ServiceException
configName - Name of the desired service configuration.
null if a configuration is not defined.
ServiceException - if unable to get a service configuration document.public com.sas.metadata.remote.ServiceComponent getServiceComponent()
public java.util.List getServiceConfigDocuments()
ServiceConfigDocument.public com.sas.metadata.remote.Property getServiceConfigProperty()
null.
public void setServiceConfigProperty(com.sas.metadata.remote.Property serviceConfigProperty)
throws ServiceException
serviceConfigProperty -
ServiceException - if unable to set the service configuration property.
public java.lang.String getConfigUserInterfaceClassName()
throws ServiceException
ServiceException - if unable to get the user interface class name.
public void setConfigName(java.lang.String configName)
throws com.sas.metadata.remote.MdException
configName - Service configuration's name.
com.sas.metadata.remote.MdException - if unable to set the name.
public java.lang.String getConfigName()
throws com.sas.metadata.remote.MdException
com.sas.metadata.remote.MdException - if unable to read the name.public boolean isBaseConfig()
Boolean.TRUE if this is the service's base configuration,
Boolean.FALSE if this is an application configuration, or
null if this service does not have a configuration.public AbstractServiceComponentConfig getServiceConfig()
null if there is no service configuration.
public AbstractServiceComponentConfig getAggregateServiceConfig()
throws ServiceException
null if there is no service configuration.
ServiceException - if unable to get the aggregate service configuration.public ServiceFactoryInterface getServiceFactory()
|
| Foundation |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||