2023-10-23 10:16:58 +02:00
|
|
|
package eu.eudat.service.entitydoi;
|
2023-10-18 16:58:36 +02:00
|
|
|
|
|
|
|
import eu.eudat.model.DescriptionTemplateType;
|
|
|
|
import eu.eudat.model.EntityDoi;
|
|
|
|
import eu.eudat.model.persist.DescriptionTemplateTypePersist;
|
|
|
|
import eu.eudat.model.persist.EntityDoiPersist;
|
|
|
|
import gr.cite.tools.exception.MyApplicationException;
|
|
|
|
import gr.cite.tools.exception.MyForbiddenException;
|
|
|
|
import gr.cite.tools.exception.MyNotFoundException;
|
|
|
|
import gr.cite.tools.exception.MyValidationException;
|
|
|
|
import gr.cite.tools.fieldset.FieldSet;
|
|
|
|
|
|
|
|
import javax.management.InvalidApplicationException;
|
|
|
|
import java.util.UUID;
|
|
|
|
|
|
|
|
public interface EntityDoiService {
|
|
|
|
|
|
|
|
EntityDoi persist(EntityDoiPersist model, FieldSet fields) throws MyForbiddenException, MyValidationException, MyApplicationException, MyNotFoundException, InvalidApplicationException;
|
|
|
|
|
|
|
|
void deleteAndSave(UUID id) throws MyForbiddenException, InvalidApplicationException;
|
|
|
|
|
|
|
|
}
|