1
2
3
4
5 package test.crispy.example.service;
6
7 import java.util.List;
8
9 import test.crispy.example.model.Kunde;
10 import test.crispy.example.model.Node;
11 import test.crispy.example.model.Primitive;
12
13 /**
14 * @author Linke
15 *
16 */
17 public interface Echo {
18
19 public static final String PING_STRING = "ping ...";
20
21 public String ping();
22 public String echo(String pvEchoString);
23 public Object echoObject(Object pvEchoObject);
24 public Kunde renameKunde (Kunde pvKunde, String pvNewName);
25 public Node addNode (Node pvMainNode, Node pvAddNode);
26
27 public String[] echoArray(String[] pvArray);
28 public Integer[] echoArray(Integer[] pvArray);
29 public Long[] echoArray(Long[] pvArray);
30 public Object[] echoArray(Object[] pvArray);
31
32 public Primitive echoPrimitive(Primitive pvPrimitive);
33
34 public String throwException (String pvMessage);
35
36 public String throwComplexException (String pvMessage, List pvValidationErrors);
37
38 public String throwError (String pvMessage);
39
40 public String doLongExecution(String pvReturnEchoValue);
41
42 }