public class ServiceInstanceDaoHib extends ServiceInstanceDaoJdbc implements IServiceInstanceDao
Constructor and Description |
---|
ServiceInstanceDaoHib() |
Modifier and Type | Method and Description |
---|---|
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.
|
add, deleteCustomProperties, deleteCustomProperty, get, getByRestShortName, getChannelsChildren, getChildrenData, getCustomProperties, getCustomProperty, getDependencyIdsByServiceInstanceId, getIdsByChannelIdAndServiceId, getIdsByServiceInstanceAndDependencyType, getIdsOfDependentServiceInstances, getServiceInstancesIdsByAutoAdminPageId, setCustomProperty, update
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
add, deleteCustomProperties, deleteCustomProperty, get, getByRestShortName, getChannelsChildren, getChildrenData, getCustomProperties, getCustomProperty, getDependencyIdsByServiceInstanceId, getIdsByChannelIdAndServiceId, getIdsByServiceInstanceAndDependencyType, getIdsOfDependentServiceInstances, getServiceInstancesIdsByAutoAdminPageId, setCustomProperty, update
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
LumisXP 12.5.0.200928 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.