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
28 public interface ServiceRegistryDao {
29
30 ServiceInfoBo getServiceInfo(String serviceId);
31
32 List<ServiceInfoBo> getOnlineServiceInfosByName(QName serviceName);
33
34 List<ServiceInfoBo> getAllOnlineServiceInfos();
35
36 List<ServiceInfoBo> getAllServiceInfos();
37
38 List<ServiceInfoBo> getAllServiceInfosForInstance(String instanceId);
39
40 List<ServiceInfoBo> getAllServiceInfosForApplication(String applicationId);
41
42 ServiceDescriptorBo getServiceDescriptor(String serviceDescriptorId);
43
44 ServiceDescriptorBo saveServiceDescriptor(ServiceDescriptorBo serviceDescriptor);
45
46 ServiceInfoBo saveServiceInfo(ServiceInfoBo serviceInfo);
47
48 void removeServiceInfo(String serviceId);
49
50 void removeServiceDescriptor(String serviceDescriptorId);
51
52 boolean updateStatus(String serviceId, String statusCode);
53
54 void updateStatusForInstanceId(String instanceId, String statusCode);
55
56 }