pt.digitalis.dif.dem.interfaces
Interface IDEMRegistry

All Known Implementing Classes:
DEMRegistryImpl

public interface IDEMRegistry

This interface exposes the behavior related to a DEM Registry.

It presents methods to retrieve providers, applications, services and stages based on IDs.


Method Summary
 IApplication getApplication(String applicationID)
          Returns an application associated with a given ID.
 IProvider getProvider(String providerID)
          Returns a provider associated with a given ID.
 IService getService(String serviceID)
          Returns a service associated with a given ID.
 IStage getStage(String stageID)
          Returns a stage associated with a given ID.
 

Method Detail

getProvider

IProvider getProvider(String providerID)
Returns a provider associated with a given ID.

Parameters:
providerID - the provider ID
Returns:
the provider associated with the given ID if the ID is valid, null otherwise

getApplication

IApplication getApplication(String applicationID)
Returns an application associated with a given ID.

Parameters:
applicationID - the application ID
Returns:
the provider associated with the given ID if the ID is valid, null otherwise

getService

IService getService(String serviceID)
Returns a service associated with a given ID.

Parameters:
serviceID - the service ID
Returns:
the service associated with the given ID if the ID is valid, null otherwise

getStage

IStage getStage(String stageID)
Returns a stage associated with a given ID.

Parameters:
stageID - the stage ID
Returns:
the stage associated with the given ID if the ID is valid, null otherwise


Copyright © 2014 Digitalis Informática Lda. All Rights Reserved.