Package lumis.portal.serviceinstance
Class ServiceInstanceDaoHib
- java.lang.Object
-
- lumis.portal.serviceinstance.ServiceInstanceDaoJdbc
-
- lumis.portal.serviceinstance.ServiceInstanceDaoHib
-
- All Implemented Interfaces:
IServiceInstanceDao
public class ServiceInstanceDaoHib extends ServiceInstanceDaoJdbc implements IServiceInstanceDao
Service instance DAO implementation for Hibernate.- Since:
- 4.0.0
- Version:
- $Revision: 6669 $ $Date: 2007-05-02 15:52:18 -0300 (Wed, 02 May 2007) $
-
-
Constructor Summary
Constructors Constructor Description ServiceInstanceDaoHib()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addServiceInstanceDependency(ServiceInstanceDependencyConfig serviceInstanceDependencyConfig, ITransaction transaction)
Add the given service instance dependency to the persistence.void
delete(java.lang.String serviceInstanceId, ITransaction transaction)
Delete the service's instance.ServiceInstanceDependencyConfig
getServiceInstanceDependency(java.lang.String dependencyId, ITransaction transaction)
Get aServiceInstanceDependencyConfig
by the dependencyId.void
removeServiceInstanceDependencies(java.lang.String dependentServiceInstanceId, java.lang.String dependencyType, ITransaction transaction)
Remove the service instance dependencies that matches the dependent service instance id and dependency type given.-
Methods inherited from class lumis.portal.serviceinstance.ServiceInstanceDaoJdbc
add, deleteCustomProperties, deleteCustomProperty, get, getByRestShortName, getChannelsChildren, getChildrenData, getCustomProperties, getCustomProperty, getDependenciesOfDependentServiceInstances, getDependencyIdsByServiceInstanceId, getIdsByChannelIdAndServiceId, getIdsByServiceInstanceAndDependencyType, getIdsOfDependentServiceInstances, getServiceInstancesIdsByAutoAdminPageId, setCustomProperty, update
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface lumis.portal.serviceinstance.IServiceInstanceDao
add, deleteCustomProperties, deleteCustomProperty, get, getByRestShortName, getChannelsChildren, getChildrenData, getCustomProperties, getCustomProperty, getDependenciesOfDependentServiceInstances, getDependencyIdsByServiceInstanceId, getIdsByChannelIdAndServiceId, getIdsByServiceInstanceAndDependencyType, getIdsOfDependentServiceInstances, getServiceInstancesIdsByAutoAdminPageId, setCustomProperty, update
-
-
-
-
Method Detail
-
addServiceInstanceDependency
public void addServiceInstanceDependency(ServiceInstanceDependencyConfig serviceInstanceDependencyConfig, ITransaction transaction) throws PortalException
Description copied from interface:IServiceInstanceDao
Add the given service instance dependency to the persistence.- Specified by:
addServiceInstanceDependency
in interfaceIServiceInstanceDao
- Overrides:
addServiceInstanceDependency
in classServiceInstanceDaoJdbc
- Parameters:
serviceInstanceDependencyConfig
- the information about the dependency to be added.transaction
- the transaction for persistence access.- Throws:
PortalException
-
delete
public void delete(java.lang.String serviceInstanceId, ITransaction transaction) throws DaoException, PortalException
Description copied from interface:IServiceInstanceDao
Delete the service's instance.- Specified by:
delete
in interfaceIServiceInstanceDao
- Overrides:
delete
in classServiceInstanceDaoJdbc
- Throws:
DaoException
PortalException
-
removeServiceInstanceDependencies
public void removeServiceInstanceDependencies(java.lang.String dependentServiceInstanceId, java.lang.String dependencyType, ITransaction transaction) throws PortalException
Description copied from interface:IServiceInstanceDao
Remove the service instance dependencies that matches the dependent service instance id and dependency type given.- Specified by:
removeServiceInstanceDependencies
in interfaceIServiceInstanceDao
- Overrides:
removeServiceInstanceDependencies
in classServiceInstanceDaoJdbc
- Throws:
PortalException
-
getServiceInstanceDependency
public ServiceInstanceDependencyConfig getServiceInstanceDependency(java.lang.String dependencyId, ITransaction transaction) throws DaoException, PortalException
Description copied from interface:IServiceInstanceDao
Get aServiceInstanceDependencyConfig
by the dependencyId.- Specified by:
getServiceInstanceDependency
in interfaceIServiceInstanceDao
- Overrides:
getServiceInstanceDependency
in classServiceInstanceDaoJdbc
- Returns:
- The ServiceInstanceDependencyConfig
- Throws:
DaoException
PortalException
-
-