readSiteView(request, viewStudentGroup, null, studentGroupCode, null);  Object[] args = { objectCode, studentGroupCode, groupPropertiesCode, shiftCodeString }; try {  Integer type = (Integer) ServiceManagerServiceFactory.executeService(userView, "VerifyStudentGroupWithoutShift", args);  request.setAttribute("ShiftType", type);  } catch (ExistingServiceException e) {
TeacherAdministrationSiteView result = (TeacherAdministrationSiteView) readSiteView(request, viewStudentGroup, null, studentGroupCode, null);  Object[] args = {objectCode,studentGroupCode,groupPropertiesCode, shiftCodeString}; try{  Integer type = (Integer)ServiceManagerServiceFactory.executeService(userView, "VerifyStudentGroupWithoutShift",args);  request.setAttribute("ShiftType",type);  } catch (ExistingServiceException e){
    public ActionForward viewStudentGroupInformation(ActionMapping mapping, ActionForm form,            HttpServletRequest request, HttpServletResponse response) throws FenixActionException,            FenixFilterException {        HttpSession session = request.getSession(false);        UserView userView = (UserView) session.getAttribute(SessionConstants.U_VIEW);        Integer objectCode = getObjectCode(request);        String studentGroupCodeString = request.getParameter("studentGroupCode");        Integer studentGroupCode = new Integer(studentGroupCodeString);        String groupPropertiesCodeString = request.getParameter("groupPropertiesCode");        Integer groupPropertiesCode = new Integer(groupPropertiesCodeString);        String shiftCodeString = request.getParameter("shiftCode");        ISiteComponent viewStudentGroup = new InfoSiteStudentGroup();        readSiteView(request, viewStudentGroup, null, studentGroupCode, null);        Object[] args = { objectCode, studentGroupCode, groupPropertiesCode, shiftCodeString };        try {            Integer type = (Integer) ServiceManagerServiceFactory.executeService(userView,                    "VerifyStudentGroupWithoutShift", args);            request.setAttribute("ShiftType", type);        } catch (ExistingServiceException e) {            ActionErrors actionErrors = new ActionErrors();            ActionError error = null;            error = new ActionError("error.noGroupProperties");            actionErrors.add("error.noGroupProperties", error);            saveErrors(request, actionErrors);            return prepareViewExecutionCourseProjects(mapping, form, request, response);        } catch (InvalidSituationServiceException e) {            ActionErrors actionErrors = new ActionErrors();            ActionError error = null;            error = new ActionError("error.noGroup");            actionErrors.add("error.noGroup", error);            saveErrors(request, actionErrors);            if (shiftCodeString != null) {                Integer shiftCode = new Integer(shiftCodeString);                request.setAttribute("shiftCode", shiftCode);            }            return viewShiftsAndGroups(mapping, form, request, response);        } catch (InvalidArgumentsServiceException e) {            ActionErrors actionErrors = new ActionErrors();            ActionError error = null;            error = new ActionError("error.StudentGroupShiftIsChanged");            actionErrors.add("error.StudentGroupShiftIsChanged", error);            saveErrors(request, actionErrors);            return viewShiftsAndGroups(mapping, form, request, response);        } catch (FenixServiceException e) {            throw new FenixActionException(e);        }        return mapping.findForward("viewStudentGroupInformation");    }