Subversion Repositories SmartDukaan

Rev

Blame | Last modification | View Log | RSS feed

package com.spice.profitmandi.dao.repository;

import java.util.List;

import org.springframework.stereotype.Repository;

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

@Repository
public interface PinCodeTagRepository {
        public void persist(PinCodeTag pinCodeTag)throws ProfitMandiBusinessException;
        public List<PinCodeTag> selectAll(int pageNumber, int pageSize);
        public PinCodeTag selectById(int id) throws ProfitMandiBusinessException;
        public List<PinCodeTag> selectByPinCode(int pinCode, int pageNumber, int pageSize);
        public List<PinCodeTag> selectByTagId(int tagId, int pageNumber, int pageSize);
        public void deleteById(int id) throws ProfitMandiBusinessException;
        public void updateActiveById(int id, boolean active) throws ProfitMandiBusinessException;
}