com.adobe.idp.dsc.registry.service
Interface ServiceStore


public interface ServiceStore

An implementation of this interface provides methods for managing services, service categories, and service configurations.


Method Summary
 Service create(Service aService)
          Creates a new service.
 ServiceCategory create(ServiceCategory aCategory)
          Creates a new service category.
 ServiceConfiguration create(ServiceConfiguration aConfig)
          Creates a new service configuration.
 Service getService(java.lang.String aServiceId)
          Retrieves the specified service.
 java.util.List getServiceCategories()
          Retrieves all of the service categories in the container.
 com.adobe.idp.dsc.filter.FilterResult getServiceCategories(com.adobe.idp.dsc.filter.PagingFilter aFilter)
          Retrieves all the service categories within the container with the specified paging criteria.
 ServiceCategory getServiceCategory(long aCategoryOID)
          Retrieves the specified service category.
 ServiceCategory getServiceCategory(java.lang.String aCategoryId)
          Retrieves the specified service category.
 ServiceConfiguration getServiceConfiguration(java.lang.String aServiceId, int aMajorVersion, int aMinorVersion)
          Retrieves the specified service configuration.
 java.util.List getServiceConfigurations(Component aComponent)
          Retrieves a list of all the service configurations within the container that are deployed against the specified component.
 com.adobe.idp.dsc.filter.FilterResult getServiceConfigurations(com.adobe.idp.dsc.filter.PagingFilter aFilter)
          Retrieves a list of all the service configurations, within the container, having the specified paging criteria.
 java.util.List getServiceConfigurations(Service aService)
          Retrieves a list of all the service configurations within the container that are created for the specified service.
 java.util.List getServiceConfigurations(Service aService, int aMajorVersion)
          Retrieves the service configurations with the specified service identifier and version information.
 java.util.List getServiceConfigurationsForSpecificationId(java.lang.String aSpecificationId)
          Retrieves a list of all the service configurations within the container that implement the specification identifier.
 java.util.List getServices()
          Retrieves all the services.
 java.util.List getServices(ServiceCategory aCategory)
          Retrieves the services belonging to the specified category.
 void remove(Service aService)
          Removes the service.
 void remove(ServiceCategory aCategory)
          Removes the service category.
 void remove(ServiceConfiguration aConfig)
          Removes the service configuration.
 Service update(Service aService)
          Updates the service.
 ServiceCategory update(ServiceCategory aCategory)
          Updates the service category.
 ServiceConfiguration update(ServiceConfiguration aConfiguration)
          Updates the service configuration.
 

Method Detail

create

ServiceCategory create(ServiceCategory aCategory)
Creates a new service category.

Parameters:
aCategory - The service category.
Returns:
The new service category.

getServiceCategory

ServiceCategory getServiceCategory(java.lang.String aCategoryId)
Retrieves the specified service category.

Parameters:
aCategoryId - The service category identifier.

getServiceCategory

ServiceCategory getServiceCategory(long aCategoryOID)
Retrieves the specified service category.

Parameters:
aCategoryOID - The service category object identifier.
Returns:
The service category.

update

ServiceCategory update(ServiceCategory aCategory)
Updates the service category.

Parameters:
aCategory - The service category to be updated.
Returns:
The updated service category.

remove

void remove(ServiceCategory aCategory)
Removes the service category.

Parameters:
aCategory - The service category to be removed.

create

Service create(Service aService)
Creates a new service.

Parameters:
aService - The service.
Returns:
The new service.

getService

Service getService(java.lang.String aServiceId)
Retrieves the specified service.

Parameters:
aServiceId - The service identifier.
Returns:
The service.

update

Service update(Service aService)
Updates the service.

Parameters:
aService - The service to be updated.
Returns:
The updated service.

remove

void remove(Service aService)
Removes the service.

Parameters:
aService - The service to be removed.

create

ServiceConfiguration create(ServiceConfiguration aConfig)
Creates a new service configuration.

Parameters:
aConfig - The service configuration.
Returns:
The new service configuration.

getServiceConfiguration

ServiceConfiguration getServiceConfiguration(java.lang.String aServiceId,
                                             int aMajorVersion,
                                             int aMinorVersion)
Retrieves the specified service configuration.

Parameters:
aServiceId - The service configuration identifier.
aMajorVersion - The major version.
aMinorVersion - The minor version.
Returns:
The service configuration.

update

ServiceConfiguration update(ServiceConfiguration aConfiguration)
Updates the service configuration.

Parameters:
aConfiguration - The service configuration to be updated.
Returns:
The updated service configuration.

remove

void remove(ServiceConfiguration aConfig)
Removes the service configuration.

Parameters:
aConfig - The service configuration to be removed.

getServices

java.util.List getServices()
Retrieves all the services.

Returns:
All the services.

getServices

java.util.List getServices(ServiceCategory aCategory)
Retrieves the services belonging to the specified category.

Parameters:
aCategory - The service category.
Returns:
The services belonging to the specified category.

getServiceConfigurations

com.adobe.idp.dsc.filter.FilterResult getServiceConfigurations(com.adobe.idp.dsc.filter.PagingFilter aFilter)
Retrieves a list of all the service configurations, within the container, having the specified paging criteria.

Parameters:
aFilter - The paging criteria.
Returns:
A list of all the service configurations, within the container, having the specified paging criteria.

getServiceConfigurations

java.util.List getServiceConfigurations(Component aComponent)
Retrieves a list of all the service configurations within the container that are deployed against the specified component.

Parameters:
aComponent - The component for which to list its related services.
Returns:
A list of all the service configurations within the container that are deployed against the specified component.

getServiceConfigurations

java.util.List getServiceConfigurations(Service aService)
Retrieves a list of all the service configurations within the container that are created for the specified service.

Parameters:
aService - The component for which to list its related services.
Returns:
A list of service configurations within the container that are created for the specified service.

getServiceConfigurationsForSpecificationId

java.util.List getServiceConfigurationsForSpecificationId(java.lang.String aSpecificationId)
Retrieves a list of all the service configurations within the container that implement the specification identifier.

Parameters:
aSpecificationId - The specification identifier.
Returns:
A list of all the service configurations within the container that implement the specification identifier.

getServiceConfigurations

java.util.List getServiceConfigurations(Service aService,
                                        int aMajorVersion)
Retrieves the service configurations with the specified service identifier and version information.

Parameters:
aService - The component for which to list its related services.
aMajorVersion - The major version.
Returns:
A list of service configurations within the container that are created for the specified service.

getServiceCategories

java.util.List getServiceCategories()
Retrieves all of the service categories in the container.

Returns:
All of the service categories in the container.

getServiceCategories

com.adobe.idp.dsc.filter.FilterResult getServiceCategories(com.adobe.idp.dsc.filter.PagingFilter aFilter)
Retrieves all the service categories within the container with the specified paging criteria.

Parameters:
aFilter - The paging criteria.
Returns:
All the service categories within the container with the specified paging criteria.


[an error occurred while processing this directive] [an error occurred while processing this directive]