Package bitel.billing.server.admin.bgsecure.bean

# Class MenuRestrictManager

java.lang.Object
bitel.billing.server.admin.bgsecure.bean.MenuRestrictManager

public class MenuRestrictManager extends Object

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `MenuRestrictManager(Connection con)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `addGroupMenuRestriction(int gid, String menu, boolean hide)`
  `void`
  `addUserMenuRestriction(int uid, String menu, boolean hide)`
  `void`
  `deleteGroupMenuRestriction(int gid, String menu)`
  `void`
  `deleteUserMenuRestriction(int uid, String menu)`
  `Map<String,Boolean>`
  `getGroupMenuRestrictions(int groupId)`
  `RestrictionMap`
  `getMenuAccessListForUser(int userID)`
  `Map<String,Boolean>`
  `getUserMenuRestrictions(int uid)`
  `List<String[]>`
  `menuBarList()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### MenuRestrictManager

    public MenuRestrictManager(Connection con)

- ## Method Details

  - ### getUserMenuRestrictions

    public Map<String,Boolean> getUserMenuRestrictions(int uid)

  - ### getGroupMenuRestrictions

    public Map<String,Boolean> getGroupMenuRestrictions(int groupId)

  - ### addGroupMenuRestriction

    public void addGroupMenuRestriction(int gid, String menu, boolean hide)

  - ### deleteGroupMenuRestriction

    public void deleteGroupMenuRestriction(int gid, String menu)

  - ### addUserMenuRestriction

    public void addUserMenuRestriction(int uid, String menu, boolean hide)

  - ### deleteUserMenuRestriction

    public void deleteUserMenuRestriction(int uid, String menu)

  - ### getMenuAccessListForUser

    public RestrictionMap getMenuAccessListForUser(int userID)

  - ### menuBarList

    public List<String[]> menuBarList()