2010-10-01 21:52:51 +02:00
|
|
|
package de.hsadmin.remote;
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
import java.util.Map;
|
|
|
|
|
2020-05-12 19:45:43 +02:00
|
|
|
import de.hsadmin.core.util.HSAdminException;
|
2010-10-01 21:52:51 +02:00
|
|
|
|
|
|
|
public interface IRemote {
|
|
|
|
|
2011-10-28 16:08:18 +02:00
|
|
|
public abstract List<Map<String, Object>> search(
|
2010-10-01 21:52:51 +02:00
|
|
|
String runAsUser,
|
|
|
|
String ticket,
|
|
|
|
Map<String, String> whereParams
|
|
|
|
) throws HSAdminException;
|
|
|
|
|
2011-10-28 16:08:18 +02:00
|
|
|
public abstract Map<String, Object> add(
|
2010-10-01 21:52:51 +02:00
|
|
|
String runAsUser,
|
|
|
|
String ticket,
|
2011-10-28 16:08:18 +02:00
|
|
|
Map<String, Object> setParams
|
2010-10-01 21:52:51 +02:00
|
|
|
) throws HSAdminException;
|
|
|
|
|
|
|
|
public abstract void delete(
|
|
|
|
String runAsUser,
|
|
|
|
String ticket,
|
|
|
|
Map<String, String> whereParams
|
|
|
|
) throws HSAdminException;
|
|
|
|
|
2011-10-28 16:08:18 +02:00
|
|
|
public abstract List<Map<String, Object>> update(
|
2010-10-01 21:52:51 +02:00
|
|
|
String runAsUser,
|
|
|
|
String ticket,
|
2011-10-28 16:08:18 +02:00
|
|
|
Map<String, Object> setParams,
|
2010-10-01 21:52:51 +02:00
|
|
|
Map<String, String> whereParams
|
|
|
|
) throws HSAdminException;
|
|
|
|
|
|
|
|
}
|