edu.internet2.middleware.grouper.internal.dao.hib3
Class Hib3EntityDAO
java.lang.Object
edu.internet2.middleware.grouper.internal.dao.hib3.Hib3DAO
edu.internet2.middleware.grouper.internal.dao.hib3.Hib3EntityDAO
- All Implemented Interfaces:
- EntityDAO, GrouperDAO
public class Hib3EntityDAO
- extends Hib3DAO
- implements EntityDAO
Basic Hibernate Entity
DAO interface.
- Since:
- @HEAD@
- Version:
- $Id: Hib3GroupDAO.java,v 1.51 2009-12-10 08:54:15 mchyzer Exp $
- Author:
- chris hyzer.
Hib3EntityDAO
public Hib3EntityDAO()
findEntitiesSecure
public 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)
- Description copied from interface:
EntityDAO
- find entities
- Specified by:
findEntitiesSecure
in interface EntityDAO
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
- Returns:
- the entities
- See Also:
EntityDAO.findEntitiesSecure(GrouperSession, List, List, List, List, List, List, String, Set, QueryOptions)
findEntitiesByGroupIds
public List<Object[]> findEntitiesByGroupIds(Collection<String> groupIds)
- Description copied from interface:
EntityDAO
- find entities secure by group id
- Specified by:
findEntitiesByGroupIds
in interface EntityDAO
- Parameters:
groupIds
- (note, can be any amount of group ids, will batch)
- Returns:
- the group, and attribute value tuple
- See Also:
EntityDAO#findEntitiesByGroupIds(List)