Class UserGroupDAO

java.lang.Object
ru.bgcrm.dao.CommonDAO
ru.bgcrm.dao.user.UserGroupDAO

public class UserGroupDAO extends CommonDAO
  • Constructor Details

    • UserGroupDAO

      public UserGroupDAO(Connection con)
  • Method Details

    • searchGroup

      public void searchGroup(Pageable<Group> searchResult, int parentId)
    • searchGroup

      public void searchGroup(Pageable<Group> searchResult, int parentId, int archive)
    • searchGroup

      public void searchGroup(Pageable<Group> searchResult, int parentId, int archive, String filter)
    • getGroupList

      public List<Group> getGroupList()
    • getGroupById

      public Group getGroupById(int id)
    • updateGroup

      public void updateGroup(Group group)
    • deleteGroup

      public void deleteGroup(int id) throws SQLException
      Throws:
      SQLException
    • getGroupQueueIds

      public Set<Integer> getGroupQueueIds(int groupId) throws SQLException
      Throws:
      SQLException
    • getGroupPermsetIds

      public List<Integer> getGroupPermsetIds(int groupId) throws SQLException
      Throws:
      SQLException
    • getAllGroupPermsetIds

      public Map<Integer,List<Integer>> getAllGroupPermsetIds()
    • getAllGroupQueueIds

      public Map<Integer,Set<Integer>> getAllGroupQueueIds()
    • checkGroup

      public boolean checkGroup(int id, int parentId, String title) throws SQLException
      true если можно добавить скрипт с таким именем в данный каталог
      Parameters:
      parentId -
      name -
      Returns:
      Throws:
      SQLException