All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.urosk.mifss.services.interfaces.MifssWorkItemService Maven / Gradle / Ivy

package net.urosk.mifss.services.interfaces;

import net.urosk.mifss.entities.MifssWorkItem;
import net.urosk.mifss.lib.exceptions.MifssWorkItemDaoException;
import net.urosk.mifss.lib.jobs.MifssWorkItemState;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

public interface MifssWorkItemService {
	@Transactional
	Long persistWorkItem(MifssWorkItem mifssWorkItem);

	@Transactional
	void removeWorkItem(Long id) throws MifssWorkItemDaoException;

	@Transactional
	void updateWorkItem(MifssWorkItem mifssWorkItem);

	List getWorkItems(String operationName, String storageName, MifssWorkItemState workItemState);

	MifssWorkItem getWorkItem(Long id) throws MifssWorkItemDaoException;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy