@@ -0,0 +1,1352 @@
+package de.ids_mannheim.korap.interfaces;%0A%0Aimport de.ids_mannheim.korap.exceptions.KustvaktException;%0Aimport de.ids_mannheim.korap.resources.KustvaktResource;%0Aimport de.ids_mannheim.korap.user.User;%0A%0Aimport java.util.Collection;%0Aimport java.util.List;%0A%0A// todo: for transaction to work this should go into core module!?!%0A// todo: user instance only required for auditing pointcut operations%0Apublic interface ResourceOperationIface%3CT extends KustvaktResource%3E %7B%0A%0A    Class%3CT%3E getType();%0A%0A    %3CT extends KustvaktResource%3E T findbyId(String id, User user)%0A            throws KustvaktException;%0A%0A    %3CT extends KustvaktResource%3E T findbyId(Integer id, User user)%0A            throws KustvaktException;%0A%0A    List%3CT%3E getResources(Collection%3CObject%3E ids, User user)%0A            throws KustvaktException;%0A%0A    int updateResource(T resource, User user) throws KustvaktException;%0A%0A    int%5B%5D updateResources(List%3CT%3E resources, User user)%0A            throws KustvaktException;%0A%0A    /**%0A     * store a resource and return the id of the inserted value%0A     *%0A     * @param resource%0A     * @return%0A     * @throws KustvaktException%0A     */%0A    int storeResource(T resource, User user) throws KustvaktException;%0A%0A    //    public void deleteResource(Integer id, User user) throws KorAPException;%0A    int deleteResource(String id, User user) throws KustvaktException;%0A%0A%7D%0A

fix resourcedao dependency