Interface EntityDAO

All Superinterfaces:
GrouperDAO
All Known Implementing Classes:
Hib3EntityDAO

public interface EntityDAO extends GrouperDAO
Basic Entity DAO interface.
Since:
2.1.0
Version:
$Id: GroupDAO.java,v 1.30 2009-12-10 08:54:15 mchyzer Exp $
  • Method Details

    • findEntitiesSecure

      Set<Entity> findEntitiesSecure(GrouperSession grouperSession, List<String> ancestorFolderIds, List<String> ancestorFolderNames, List<String> ids, List<String> names, List<String> parentFolderIds, List<String> parentFolderNames, String terms, Set<Privilege> inPrivSet, QueryOptions queryOptions)
      find entities
      Parameters:
      grouperSession -
      ancestorFolderIds -
      ancestorFolderNames -
      ids -
      names -
      parentFolderIds -
      parentFolderNames -
      terms -
      inPrivSet - means that each row must have a matching priv in this set to user or GrouperAll. There are some constants in AccessPrivilege of pre-canned sets
      queryOptions -
      Returns:
      the entities
      Throws:
      GrouperDAOException
    • findEntitiesByGroupIds

      List<Object[]> findEntitiesByGroupIds(Collection<String> groupIds)
      find entities secure by group id
      Parameters:
      grouperSession -
      groupIds - (note, can be any amount of group ids, will batch)
      Returns:
      the group, and attribute value tuple
      Throws:
      GrouperDAOException