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 ServiceDescriptorBo getServiceDescriptor(String serviceDescriptorId);
41
42 ServiceDescriptorBo saveServiceDescriptor(ServiceDescriptorBo serviceDescriptor);
43
44 ServiceInfoBo saveServiceInfo(ServiceInfoBo serviceInfo);
45
46 void removeServiceInfo(String serviceId);
47
48 void removeServiceDescriptor(String serviceDescriptorId);
49
50 boolean updateStatus(String serviceId, String statusCode);
51
52 void updateStatusForInstanceId(String instanceId, String statusCode);
53
54 }