Done changes related to instructor dashboard API
This commit is contained in:
@@ -15,7 +15,7 @@ public interface DashboardService {
|
||||
public BeneficiaryWidgetResponseBean getDashboardWidgetForBeneficiary(HttpServletRequest request, Long companyId);
|
||||
public ApplicationWidgetResponseBean getApplicationDetails(HttpServletRequest request);
|
||||
public AmendmentWidgetResponseBean getAmendmentDetails(HttpServletRequest request);
|
||||
public PreInstructorWidgetResponseBean getDashboardWidgetForPreInstructor(HttpServletRequest request);
|
||||
public PreInstructorWidgetResponseBean getDashboardWidgetForPreInstructor(HttpServletRequest request,Long userId);
|
||||
public AssignedApplicationWidgetResponseBean getApplicationDetailsForEvaluation(HttpServletRequest request);
|
||||
|
||||
}
|
||||
|
||||
@@ -48,9 +48,9 @@ public class DashboardServiceImpl implements DashboardService {
|
||||
return dashboardDao.getAmendmentDetails(userEntity);
|
||||
}
|
||||
@Override
|
||||
public PreInstructorWidgetResponseBean getDashboardWidgetForPreInstructor(HttpServletRequest request) {
|
||||
UserEntity userEntity = validator.validateUser(request);
|
||||
return dashboardDao.getDashboardWidgetForPreInstructor(userEntity);
|
||||
public PreInstructorWidgetResponseBean getDashboardWidgetForPreInstructor(HttpServletRequest request,Long userId) {
|
||||
validator.validateUser(request);
|
||||
return dashboardDao.getDashboardWidgetForPreInstructor(request,userId);
|
||||
}
|
||||
@Override
|
||||
public AssignedApplicationWidgetResponseBean getApplicationDetailsForEvaluation(HttpServletRequest request) {
|
||||
|
||||
Reference in New Issue
Block a user