Subversion Repositories SmartDukaan

Rev

Rev 36018 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
34658 ranu 1
package com.spice.profitmandi.dao.repository.auth;
2
 
35679 ranu 3
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
34658 ranu 4
import com.spice.profitmandi.dao.entity.auth.SipMaster;
5
import org.springframework.stereotype.Repository;
6
 
7
@Repository
8
public interface SipRepository {
9
 
10
    SipMaster selectByEmailOrMobile(String emailOrMobile) throws ProfitMandiBusinessException;
11
 
35679 ranu 12
    SipMaster selectByCallerId(String callerId) throws ProfitMandiBusinessException;
13
 
37552 amit 14
    /** As selectByCallerId, but returns null on a miss or a blank callerId instead of throwing. */
15
    SipMaster selectByCallerIdOrNull(String callerId);
16
 
36018 amit 17
    SipMaster selectBySipUrl(String sipUrl);
18
 
19
    java.util.List<SipMaster> selectAll();
20
 
34658 ranu 21
}