Commit 9ad6cedf authored by manohar's avatar manohar

Filtering of menu as per login user added


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@91643 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 1db05d1e
...@@ -554,7 +554,7 @@ public class UserRightsPrc extends ProcessEJB implements UserRightsPrcLocal , U ...@@ -554,7 +554,7 @@ public class UserRightsPrc extends ProcessEJB implements UserRightsPrcLocal , U
else else
rights = null; rights = null;
} }
//} }
// 01/06/10 manoharan // 01/06/10 manoharan
if (level1 == null || level1.trim().length() == 0) if (level1 == null || level1.trim().length() == 0)
...@@ -672,7 +672,7 @@ public class UserRightsPrc extends ProcessEJB implements UserRightsPrcLocal , U ...@@ -672,7 +672,7 @@ public class UserRightsPrc extends ProcessEJB implements UserRightsPrcLocal , U
} }
}//End of subMenuList iteration for loop }//End of subMenuList iteration for loop
}//End of if subMenuList is not null }//End of if subMenuList is not null
} //}
}//outer for }//outer for
if (insertCount > 0) if (insertCount > 0)
...@@ -814,7 +814,7 @@ public class UserRightsPrc extends ProcessEJB implements UserRightsPrcLocal , U ...@@ -814,7 +814,7 @@ public class UserRightsPrc extends ProcessEJB implements UserRightsPrcLocal , U
pstmt = null; pstmt = null;
//foundRights = (String) userRightsMap.get(searchKey); //foundRights = (String) userRightsMap.get(searchKey);
System.out.println("Found rights in function ["+foundRights+"]"); System.out.println("Found rights in function ["+foundRights+"] rights [" + rights +"] alreadyExists [" + alreadyExists + "]");
if(foundRights == null && rights != null && "N".equals(alreadyExists)) if(foundRights == null && rights != null && "N".equals(alreadyExists))
operation = 1; operation = 1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment