Rev 3088 | Rev 3339 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
package in.shop2020.crm.persistence;import in.shop2020.crm.domain.Agent;import java.util.List;import org.apache.ibatis.annotations.Param;/*** Ibatis mapper for agent table in database.** @author mandeep*/public interface AgentMapper {public Agent getAgent(long agentId);public Agent getAgentByEmailId(String emailId);public List<String> getRoleNamesForAgent(String agentEmailId);public List<String> getPermissionsForRoleName(String roleName);public List<Agent> getAllAgents();public void updatePasswordForAgent(@Param("emailId")String agentEmailId, @Param("password")String password);public List<Agent> getReportees(long agentId);}