(no commit message)
[cdmlib.git] / cdmlib-remote / src / main / java / eu / etaxonomy / cdm / remote / service / CdmServiceImpl.java
index e98121999ee2a4e9f26f1b2a8cb95240ca313d77..c0ef637e8cd73a6e150817c213279fc81737c62c 100644 (file)
@@ -11,32 +11,27 @@ import eu.etaxonomy.cdm.remote.dto.TaxonTO;
 
 public class CdmServiceImpl implements CdmService {
 
-       @WebService
-       public class Hello {
-         public String sayHi(String name) {
-           return "Hello " + name;
-         }
-       }
-       
-       public NameTO getName(UUID uuid) {
-               // TODO Auto-generated method stub
-               return null;
+       public NameTO getName(String uuid) {
+               NameTO n=new NameTO();
+               n.setFullname("Bella berolina subsp. rosa");
+               n.setUuid(uuid);
+               return n;
        }
 
-       public TaxonTO getTaxon(UUID uuid) {
-               // TODO Auto-generated method stub
-               return null;
+       public TaxonTO getTaxon(String uuid) {
+               TaxonTO t=new TaxonTO();
+               t.setUuid(uuid);
+               return t;
        }
 
-       public List<TaxonSTO> listNames(String beginsWith, int page,
-                       boolean onlyAccepted, int pagesize) {
+       public List<TaxonSTO> listNames(String beginsWith, boolean onlyAccepted, int pagesize, int page) {
                // TODO Auto-generated method stub
                return null;
        }
 
-       public Class whatis(UUID uuid) {
-               // TODO Auto-generated method stub
-               return null;
+       public Class whatis(String uuid) {
+               return this.getClass();
        }
 
+
 }