| java.lang.Object es.udc.mypersonalizer.kernel.model.repository.sql.storers.ServicePropertyStorer
ServicePropertyStorer | public class ServicePropertyStorer (Code) | | This "storer" class allows to access and modify
ServiceProperty s on the database. This class does not assume
any policy on how to store and retrieve the data. This knowledge is
encapsulated in classes that implement the interface
PropertyStorageStrategy . This "storer" class will delegate on
a strategy in order to store or retrieve service properties on the
database. Example: a strategy class that stores service properties by using
serialization.
author: Fernando Bellas author: Abel Muinho since: 1.0 |
ServicePropertyStorer | public ServicePropertyStorer()(Code) | | Constructs an instance of this class.
|
addServiceProperty | public Long addServiceProperty(Connection connection, String serviceIdentifier, Property property) throws InternalErrorException(Code) | | Adds a new service property.
Parameters: connection - the connection to the database Parameters: serviceIdentifier - the service identifier Parameters: property - the property that represents the service properties. the property identifier of the service property added throws: InternalErrorException - if a failure is detected. |
|
|