public ActionForward viewForUpdateRole( ActionMapping mapping, ActionForm form, HttpServletRequest request,HttpServletResponse response)
throws IOException, ServletException
{
ActionForward actionFrwd = null;
RoleBD bd = (RoleBD)BusinessDelegateFactory.getInstance().
getDelegate("com.eteam.ems.auth.delegates.RoleBD");
log.debug("calling get Role");
HttpSession session = request.getSession();
SessionUserVO sessUser = (SessionUserVO) session.getAttribute(IConstants.SESSION_ATTR_USER_SESSION_INFO);
String dsName = sessUser.getDsName();
String dbType = sessUser.getDbType();
RoleVO roleVO = new RoleVO();
try
{
roleVO = bd.getRole(dsName, dbType, request.getParameter("id"));
}
catch (Exception e) {
log.error("ERROR in viewforupdaterole" +e);
}
log.debug("returning findUser");