pt.digitalis.dif.dem.managers
Interface IParameterManager

All Known Implementing Classes:
ParameterManagerImpl

public interface IParameterManager

Manages the DEM parameters, providing operations for access, pooling and persistence.

Author:
Pedro Viegas pviegas@digitalis.pt, Rodrigo Gonçalves rgoncalves@digitalis.pt
Created on:
2007/06/01

Method Summary
 IParameter<?> getParameter(Entity entityType, String entityID, String parameterID)
          Return a parameter for the given entity
 IParameter<?> getParameterInstanceForType(String typeClassName)
          Returns an IParameter implementation for the given class
 ParameterList getParameters(Entity entityType, String entityID)
          Return the parameters for the given entity
 ParameterList getParameters(IApplication application)
          Gets the parameters of a given Application.
 ParameterList getParameters(IProvider provider)
          Gets the parameters of a given Provider.
 ParameterList getParameters(IService service)
          Gets the parameters of a given Service.
 ParameterList getParameters(IStage stage)
          Gets the parameters of a given Stage.
 boolean isParameterTypeSupported(String typeClassName)
          Checks if the given className is a supported parameter type
 void registerParameter(IParameter<?> parameter)
          Registers an entity parameter
 

Method Detail

getParameter

IParameter<?> getParameter(Entity entityType,
                           String entityID,
                           String parameterID)
Return a parameter for the given entity

Parameters:
entityType - the type of the entity
entityID - the id of the entity
parameterID - the id of the parameter
Returns:
the parameter object if found

getParameterInstanceForType

IParameter<?> getParameterInstanceForType(String typeClassName)
Returns an IParameter implementation for the given class

Parameters:
typeClassName - the class name to check
Returns:
an instance of IParameter

getParameters

ParameterList getParameters(Entity entityType,
                            String entityID)
Return the parameters for the given entity

Parameters:
entityType - the type of the entity
entityID - the id of the entity
Returns:
the parameter list if found

getParameters

ParameterList getParameters(IApplication application)
Gets the parameters of a given Application.

Parameters:
application - the application for which the parameters should be retrieved
Returns:
the application parameters

getParameters

ParameterList getParameters(IProvider provider)
Gets the parameters of a given Provider.

Parameters:
provider - the provider for which the parameters should be retrieved
Returns:
the provider parameters

getParameters

ParameterList getParameters(IService service)
Gets the parameters of a given Service.

Parameters:
service - the service for which the parameters should be retrieved
Returns:
the service parameters

getParameters

ParameterList getParameters(IStage stage)
Gets the parameters of a given Stage.

Parameters:
stage - the stage for which the parameters should be retrieved
Returns:
the stage parameters

isParameterTypeSupported

boolean isParameterTypeSupported(String typeClassName)
Checks if the given className is a supported parameter type

Parameters:
typeClassName - the class name to check
Returns:
T is the class is supported

registerParameter

void registerParameter(IParameter<?> parameter)
Registers an entity parameter

Parameters:
parameter - the parameter to register


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