1 | |
package org.kuali.rice.kew.framework.docsearch; |
2 | |
|
3 | |
import org.kuali.rice.core.api.uif.RemotableAttributeField; |
4 | |
import org.kuali.rice.kew.api.KewApiConstants; |
5 | |
import org.kuali.rice.kew.api.document.attribute.AttributeFields; |
6 | |
import org.kuali.rice.kew.framework.KewFrameworkServiceLocator; |
7 | |
import org.springframework.beans.factory.InitializingBean; |
8 | |
|
9 | |
import javax.jws.WebMethod; |
10 | |
import javax.jws.WebParam; |
11 | |
import javax.jws.WebResult; |
12 | |
import javax.jws.WebService; |
13 | |
import javax.jws.soap.SOAPBinding; |
14 | |
import javax.xml.bind.annotation.XmlElement; |
15 | |
import javax.xml.bind.annotation.XmlElementWrapper; |
16 | |
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; |
17 | |
import javax.xml.namespace.QName; |
18 | |
import java.util.List; |
19 | |
|
20 | |
|
21 | |
|
22 | |
|
23 | |
|
24 | |
|
25 | |
@WebService(name = KewFrameworkServiceLocator.DOCUMENT_SEARCH_CUSTOMIZATION_SERVICE, targetNamespace = KewApiConstants.Namespaces.KEW_NAMESPACE_2_0) |
26 | |
@SOAPBinding(style = SOAPBinding.Style.DOCUMENT, use = SOAPBinding.Use.LITERAL, parameterStyle = SOAPBinding.ParameterStyle.WRAPPED) |
27 | |
public interface DocumentSearchCustomizationService { |
28 | |
|
29 | |
@WebMethod(operationName = "getSearchAttributeFields") |
30 | |
@WebResult(name = "searchAttributeFields") |
31 | |
@XmlElementWrapper(name = "searchAttributeFields", required = false) |
32 | |
@XmlElement(name = "searchAttributeField", required = false) |
33 | |
List<AttributeFields> getSearchAttributeFields(String documentTypeName, List<String> searchableAttributeNames); |
34 | |
|
35 | |
|
36 | |
} |