1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
package org.kuali.rice.kew.framework.validation; |
17 | |
|
18 | |
import org.kuali.rice.core.api.exception.RiceIllegalArgumentException; |
19 | |
import org.kuali.rice.kew.api.KewApiConstants; |
20 | |
import org.kuali.rice.kew.api.validation.RuleValidationContext; |
21 | |
import org.kuali.rice.kew.api.validation.ValidationResults; |
22 | |
import org.kuali.rice.kew.framework.KewFrameworkServiceLocator; |
23 | |
|
24 | |
import javax.jws.WebMethod; |
25 | |
import javax.jws.WebParam; |
26 | |
import javax.jws.WebResult; |
27 | |
import javax.jws.WebService; |
28 | |
import javax.jws.soap.SOAPBinding; |
29 | |
import javax.xml.bind.annotation.XmlElement; |
30 | |
|
31 | |
|
32 | |
|
33 | |
|
34 | |
|
35 | |
|
36 | |
|
37 | |
@WebService(name = KewFrameworkServiceLocator.RULE_VALIDATION_ATTRIBUTE_EXPORTER_SERVICE, targetNamespace = KewApiConstants.Namespaces.KEW_NAMESPACE_2_0) |
38 | |
@SOAPBinding(style = SOAPBinding.Style.DOCUMENT, use = SOAPBinding.Use.LITERAL, parameterStyle = SOAPBinding.ParameterStyle.WRAPPED) |
39 | |
public interface RuleValidationAttributeExporterService { |
40 | |
|
41 | |
|
42 | |
|
43 | |
|
44 | |
|
45 | |
|
46 | |
@WebMethod(operationName = "validate") |
47 | |
@WebResult(name = "validationResults") |
48 | |
@XmlElement(name = "validationResults", required = false) |
49 | |
ValidationResults validate( |
50 | |
@WebParam(name = "attributeName") String attributeName, |
51 | |
@WebParam(name = "validationContext") RuleValidationContext validationContext) throws RiceIllegalArgumentException; |
52 | |
} |