1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.rice.ksb.impl.registry;
17
18 import java.util.List;
19
20 import javax.xml.namespace.QName;
21
22
23
24
25
26
27 public interface ServiceRegistryDao {
28
29 ServiceInfoBo getServiceInfo(String serviceId);
30
31 List<ServiceInfoBo> getOnlineServiceInfosByName(QName serviceName);
32
33 List<ServiceInfoBo> getAllOnlineServiceInfos();
34
35 List<ServiceInfoBo> getAllServiceInfos();
36
37 List<ServiceInfoBo> getAllServiceInfosForInstance(String instanceId);
38
39 List<ServiceInfoBo> getAllServiceInfosForApplication(String applicationId);
40
41 ServiceDescriptorBo getServiceDescriptor(String serviceDescriptorId);
42
43 ServiceDescriptorBo saveServiceDescriptor(ServiceDescriptorBo serviceDescriptor);
44
45 ServiceInfoBo saveServiceInfo(ServiceInfoBo serviceInfo);
46
47 void removeServiceInfo(String serviceId);
48
49 void removeServiceDescriptor(String serviceDescriptorId);
50
51 boolean updateStatus(String serviceId, String statusCode);
52
53 void updateStatusForInstanceId(String instanceId, String statusCode);
54
55 }