1 /** 2 * - Digitalis Internal Framework v2.0 - (C) 2007, Digitalis Informatica. 3 * Distribuicao e Gestao de Informatica, Lda. Estrada de Paco de Arcos num.9 - 4 * Piso -1 2780-666 Paco de Arcos Telefone: (351) 21 4408990 Fax: (351) 21 5 * 4408999 http://www.digitalis.pt 6 */ 7 8 package pt.digitalis.dif.dem.interfaces; 9 10 /** 11 * This interface exposes the behavior related to a DEM Registry. 12 * <p> 13 * It presents methods to retrieve providers, applications, services and stages 14 * based on IDs. 15 */ 16 public interface IDEMRegistry { 17 18 /** 19 * Returns a provider associated with a given ID. 20 * 21 * @param providerID 22 * the provider ID 23 * @return the provider associated with the given ID if the ID is valid, 24 * null otherwise 25 */ 26 public IProvider getProvider(String providerID); 27 28 /** 29 * Returns an application associated with a given ID. 30 * 31 * @param applicationID 32 * the application ID 33 * @return the provider associated with the given ID if the ID is valid, 34 * null otherwise 35 */ 36 public IApplication getApplication(String applicationID); 37 38 /** 39 * Returns a service associated with a given ID. 40 * 41 * @param serviceID 42 * the service ID 43 * @return the service associated with the given ID if the ID is valid, null 44 * otherwise 45 */ 46 public IService getService(String serviceID); 47 48 /** 49 * Returns a stage associated with a given ID. 50 * 51 * @param stageID 52 * the stage ID 53 * @return the stage associated with the given ID if the ID is valid, null 54 * otherwise 55 */ 56 public IStage getStage(String stageID); 57 }