|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lumis.portal.serviceinstance.ServiceInstanceDaoJdbc lumis.portal.serviceinstance.ServiceInstanceDaoHib
public class ServiceInstanceDaoHib
Service instance DAO implementation for Hibernate.
Constructor Summary | |
---|---|
ServiceInstanceDaoHib()
|
Method Summary | |
---|---|
void |
addServiceInstanceDependency(ServiceInstanceDependencyConfig serviceInstanceDependencyConfig,
ITransaction transaction)
Add the given service instance dependency to the persistence. |
void |
delete(String serviceInstanceId,
ITransaction transaction)
Delete the service's instance. |
ServiceInstanceDependencyConfig |
getServiceInstanceDependency(String dependencyId,
ITransaction transaction)
Get a ServiceInstanceDependencyConfig by the dependencyId. |
void |
removeServiceInstanceDependencies(String dependentServiceInstanceId,
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, getDependencyIdsByServiceInstanceId, getIdsByChannelIdAndServiceId, getIdsByServiceInstanceAndDependencyType, getIdsOfDependentServiceInstances, 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, getDependencyIdsByServiceInstanceId, getIdsByChannelIdAndServiceId, getIdsByServiceInstanceAndDependencyType, getIdsOfDependentServiceInstances, setCustomProperty, update |
Constructor Detail |
---|
public ServiceInstanceDaoHib()
Method Detail |
---|
public void addServiceInstanceDependency(ServiceInstanceDependencyConfig serviceInstanceDependencyConfig, ITransaction transaction) throws PortalException
IServiceInstanceDao
addServiceInstanceDependency
in interface IServiceInstanceDao
addServiceInstanceDependency
in class ServiceInstanceDaoJdbc
serviceInstanceDependencyConfig
- the information about the dependency to be added.transaction
- the transaction for persistence access.
PortalException
public void delete(String serviceInstanceId, ITransaction transaction) throws DaoException, PortalException
IServiceInstanceDao
delete
in interface IServiceInstanceDao
delete
in class ServiceInstanceDaoJdbc
DaoException
PortalException
public void removeServiceInstanceDependencies(String dependentServiceInstanceId, String dependencyType, ITransaction transaction) throws PortalException
IServiceInstanceDao
removeServiceInstanceDependencies
in interface IServiceInstanceDao
removeServiceInstanceDependencies
in class ServiceInstanceDaoJdbc
PortalException
public ServiceInstanceDependencyConfig getServiceInstanceDependency(String dependencyId, ITransaction transaction) throws DaoException, PortalException
IServiceInstanceDao
ServiceInstanceDependencyConfig
by the dependencyId.
getServiceInstanceDependency
in interface IServiceInstanceDao
getServiceInstanceDependency
in class ServiceInstanceDaoJdbc
DaoException
PortalException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |