Subversion Repositories SmartDukaan

Rev

Blame | Last modification | View Log | RSS feed

package com.spice.profitmandi.dao.repository;

import org.springframework.stereotype.Repository;

import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
import com.spice.profitmandi.dao.entity.Document;

@Repository
public interface DocumentRepository {
        public Document persist(Document document)throws ProfitMandiBusinessException;
        public Document selectById(int id) throws ProfitMandiBusinessException;
        public void deleteById(int id) throws ProfitMandiBusinessException;
        public void markDocumentAsPersisted(int id) throws ProfitMandiBusinessException;
}