1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.rice.kew.api.extension;
17
18 import org.kuali.rice.core.api.exception.RiceIllegalArgumentException;
19 import org.kuali.rice.kew.api.KewApiConstants;
20 import org.springframework.cache.annotation.Cacheable;
21
22 import javax.jws.WebMethod;
23 import javax.jws.WebResult;
24 import javax.jws.WebService;
25 import javax.jws.soap.SOAPBinding;
26 import java.util.List;
27
28
29
30
31
32
33
34
35 @WebService(name = "extensionRepositoryService", targetNamespace = KewApiConstants.Namespaces.KEW_NAMESPACE_2_0)
36 @SOAPBinding(style = SOAPBinding.Style.DOCUMENT, use = SOAPBinding.Use.LITERAL, parameterStyle = SOAPBinding.ParameterStyle.WRAPPED)
37 public interface ExtensionRepositoryService {
38
39
40
41
42
43
44 @WebMethod(operationName = "getExtensionById")
45 @WebResult(name = "extensionDefinition")
46 @Cacheable(value= ExtensionDefinition.Cache.NAME, key="'id=' + #p0")
47 ExtensionDefinition getExtensionById(String id) throws RiceIllegalArgumentException;
48
49
50
51
52
53
54
55 @WebMethod(operationName = "getExtensionByName")
56 @WebResult(name = "extensionDefinition")
57 @Cacheable(value= ExtensionDefinition.Cache.NAME, key="'name=' + #p0")
58 ExtensionDefinition getExtensionByName(String name) throws RiceIllegalArgumentException;
59
60
61
62
63
64
65
66 @WebMethod(operationName = "getExtensionByResourceDescriptor")
67 @WebResult(name = "extensionDefinitions")
68 @Cacheable(value=ExtensionDefinition.Cache.NAME, key="'resourceDescriptor=' + #p0")
69 List<ExtensionDefinition> getExtensionsByResourceDescriptor(String resourceDescriptor) throws RiceIllegalArgumentException;
70
71 }