org.kuali.rice.ksb.impl.registry
Class ServiceRegistryDaoOjb

java.lang.Object
  extended by org.springframework.dao.support.DaoSupport
      extended by org.springmodules.orm.ojb.support.PersistenceBrokerDaoSupport
          extended by org.kuali.rice.ksb.impl.registry.ServiceRegistryDaoOjb
All Implemented Interfaces:
ServiceRegistryDao, org.springframework.beans.factory.InitializingBean

public class ServiceRegistryDaoOjb
extends org.springmodules.orm.ojb.support.PersistenceBrokerDaoSupport
implements ServiceRegistryDao

An OJB dao implementation of the ServiceRegistryDao.

Author:
Kuali Rice Team (rice.collab@kuali.org)

Field Summary
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
ServiceRegistryDaoOjb()
           
 
Method Summary
 List<ServiceInfoBo> getAllOnlineServiceInfos()
           
 List<ServiceInfoBo> getAllServiceInfos()
           
 List<ServiceInfoBo> getAllServiceInfosForApplication(String applicationId)
           
 List<ServiceInfoBo> getAllServiceInfosForInstance(String instanceId)
           
 List<ServiceInfoBo> getOnlineServiceInfosByName(QName serviceName)
           
 ServiceDescriptorBo getServiceDescriptor(String serviceDescriptorId)
           
 ServiceInfoBo getServiceInfo(String serviceId)
           
 void removeServiceDescriptor(String serviceDescriptorId)
           
 void removeServiceInfo(String serviceId)
           
 ServiceDescriptorBo saveServiceDescriptor(ServiceDescriptorBo serviceDescriptor)
           
 ServiceInfoBo saveServiceInfo(ServiceInfoBo serviceInfo)
           
 boolean updateStatus(String serviceId, String statusCode)
           
 void updateStatusForInstanceId(String instanceId, String statusCode)
           
 
Methods inherited from class org.springmodules.orm.ojb.support.PersistenceBrokerDaoSupport
checkDaoConfig, convertOjbAccessException, createPersistenceBrokerTemplate, getJcdAlias, getPersistenceBroker, getPersistenceBrokerTemplate, releasePersistenceBroker, setJcdAlias, setPersistenceBrokerTemplate
 
Methods inherited from class org.springframework.dao.support.DaoSupport
afterPropertiesSet, initDao
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceRegistryDaoOjb

public ServiceRegistryDaoOjb()
Method Detail

getServiceInfo

public ServiceInfoBo getServiceInfo(String serviceId)
Specified by:
getServiceInfo in interface ServiceRegistryDao

getOnlineServiceInfosByName

public List<ServiceInfoBo> getOnlineServiceInfosByName(QName serviceName)
Specified by:
getOnlineServiceInfosByName in interface ServiceRegistryDao

getAllOnlineServiceInfos

public List<ServiceInfoBo> getAllOnlineServiceInfos()
Specified by:
getAllOnlineServiceInfos in interface ServiceRegistryDao

getAllServiceInfos

public List<ServiceInfoBo> getAllServiceInfos()
Specified by:
getAllServiceInfos in interface ServiceRegistryDao

getAllServiceInfosForInstance

public List<ServiceInfoBo> getAllServiceInfosForInstance(String instanceId)
Specified by:
getAllServiceInfosForInstance in interface ServiceRegistryDao

getAllServiceInfosForApplication

public List<ServiceInfoBo> getAllServiceInfosForApplication(String applicationId)
Specified by:
getAllServiceInfosForApplication in interface ServiceRegistryDao

getServiceDescriptor

public ServiceDescriptorBo getServiceDescriptor(String serviceDescriptorId)
Specified by:
getServiceDescriptor in interface ServiceRegistryDao

saveServiceDescriptor

public ServiceDescriptorBo saveServiceDescriptor(ServiceDescriptorBo serviceDescriptor)
Specified by:
saveServiceDescriptor in interface ServiceRegistryDao

saveServiceInfo

public ServiceInfoBo saveServiceInfo(ServiceInfoBo serviceInfo)
Specified by:
saveServiceInfo in interface ServiceRegistryDao

removeServiceInfo

public void removeServiceInfo(String serviceId)
Specified by:
removeServiceInfo in interface ServiceRegistryDao

removeServiceDescriptor

public void removeServiceDescriptor(String serviceDescriptorId)
Specified by:
removeServiceDescriptor in interface ServiceRegistryDao

updateStatus

public boolean updateStatus(String serviceId,
                            String statusCode)
Specified by:
updateStatus in interface ServiceRegistryDao

updateStatusForInstanceId

public void updateStatusForInstanceId(String instanceId,
                                      String statusCode)
Specified by:
updateStatusForInstanceId in interface ServiceRegistryDao


Copyright © 2005-2014 The Kuali Foundation. All Rights Reserved.