|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.internet2.middleware.grouper.internal.dao.hib3.Hib3DAO
edu.internet2.middleware.grouper.internal.dao.hib3.Hib3StemDAO
public class Hib3StemDAO
Basic Hibernate Stem DAO interface.
| Field Summary |
|---|
| Fields inherited from class edu.internet2.middleware.grouper.internal.dao.hib3.Hib3DAO |
|---|
hibernateInitted |
| Constructor Summary | |
|---|---|
Hib3StemDAO()
|
|
| Method Summary | |
|---|---|
void |
createChildAttributeDef(Stem _stem,
AttributeDef attributeDef)
|
void |
createChildAttributeDefName(Stem _parent,
AttributeDefName attributeDefName)
|
void |
createChildGroup(Stem _stem,
Group _group,
Member _member)
|
void |
createChildStem(Stem _child)
|
void |
createRootStem(Stem _root)
|
void |
createStemSetsForStem(java.lang.String stemId,
java.lang.String parentStemId)
|
void |
delete(Stem _ns)
|
boolean |
exists(java.lang.String uuid)
|
java.util.Set<Stem> |
findAllByApproximateDisplayExtension(java.lang.String val)
|
java.util.Set<Stem> |
findAllByApproximateDisplayExtension(java.lang.String val,
java.lang.String scope)
|
java.util.Set<Stem> |
findAllByApproximateDisplayName(java.lang.String val)
|
java.util.Set<Stem> |
findAllByApproximateDisplayName(java.lang.String val,
java.lang.String scope)
|
java.util.Set<Stem> |
findAllByApproximateExtension(java.lang.String val)
|
java.util.Set<Stem> |
findAllByApproximateExtension(java.lang.String val,
java.lang.String scope)
|
java.util.Set<Stem> |
findAllByApproximateName(java.lang.String val)
|
java.util.Set<Stem> |
findAllByApproximateName(java.lang.String val,
java.lang.String scope)
|
java.util.Set<Stem> |
findAllByApproximateNameAny(java.lang.String name)
|
java.util.Set<Stem> |
findAllByApproximateNameAny(java.lang.String name,
java.lang.String scope)
|
java.util.Set<Stem> |
findAllByApproximateNameAny(java.lang.String name,
java.lang.String scope,
QueryOptions queryOptions)
|
java.util.Set<Stem> |
findAllByCreatedAfter(java.util.Date d)
|
java.util.Set<Stem> |
findAllByCreatedAfter(java.util.Date d,
java.lang.String scope)
|
java.util.Set<Stem> |
findAllByCreatedBefore(java.util.Date d)
|
java.util.Set<Stem> |
findAllByCreatedBefore(java.util.Date d,
java.lang.String scope)
|
java.util.Set<Group> |
findAllChildGroups(Stem ns,
Stem.Scope scope)
Find all child groups within specified scope. |
java.util.Set<Group> |
findAllChildGroupsSecure(Stem ns,
Stem.Scope scope,
GrouperSession grouperSession,
edu.internet2.middleware.subject.Subject subject,
java.util.Set<Privilege> inPrivSet,
QueryOptions queryOptions)
Find all child groups within specified scope, and make sure the grouper session can see them |
java.util.Set<Group> |
findAllChildGroupsSecure(Stem ns,
Stem.Scope scope,
GrouperSession grouperSession,
edu.internet2.middleware.subject.Subject subject,
java.util.Set<Privilege> inPrivSet,
QueryOptions queryOptions,
java.util.Set<TypeOfGroup> typeOfGroups)
Find all child groups within specified scope, and make sure the grouper session can see them |
java.util.Set<Group> |
findAllChildMembershipGroupsSecure(Stem ns,
Stem.Scope scope,
GrouperSession grouperSession,
edu.internet2.middleware.subject.Subject subject,
java.util.Set<Privilege> inPrivSet,
QueryOptions queryOptions)
Find all child groups within specified scope, and make sure the grouper session can see them |
java.util.Set<Stem> |
findAllChildStems(Stem ns,
Stem.Scope scope)
Find all child stems within specified scope. |
java.util.Set<Stem> |
findAllChildStems(Stem ns,
Stem.Scope scope,
boolean orderByName)
Find all child stems within specified scope. |
java.util.Set<Stem> |
findAllChildStems(Stem ns,
Stem.Scope scope,
QueryOptions queryOptions)
Find all child stems within specified scope. |
java.util.Set<Stem> |
findAllChildStemsSecure(Stem ns,
Stem.Scope scope,
GrouperSession grouperSession,
edu.internet2.middleware.subject.Subject subject,
java.util.Set<Privilege> inPrivSet,
QueryOptions queryOptions)
Find all child stems within specified scope, and make sure the grouper session can see them |
Stem |
findByAlternateName(java.lang.String name,
boolean exceptionIfNull,
QueryOptions queryOptions)
Find a stem by its alternate name only. |
java.util.Set<Stem> |
findByCreatorOrModifier(Member member)
find stems by creator or modifier |
Stem |
findByCurrentName(java.lang.String name,
boolean exceptionIfNull,
QueryOptions queryOptions)
Find a stem by its current name only. |
Stem |
findByIdIndex(java.lang.Long idIndex,
boolean exceptionIfNotFound,
QueryOptions queryOptions)
not a secure method, find by id index |
Stem |
findByName(java.lang.String name)
Deprecated. |
Stem |
findByName(java.lang.String name,
boolean exceptionIfNull)
|
Stem |
findByName(java.lang.String name,
boolean exceptionIfNull,
QueryOptions queryOptions)
|
java.util.Set<Stem> |
findByNames(java.util.Collection<java.lang.String> names,
boolean exceptionOnNotFound)
find all stems by name |
Stem |
findByUuid(java.lang.String uuid)
Deprecated. |
Stem |
findByUuid(java.lang.String uuid,
boolean exceptionIfNull)
|
Stem |
findByUuid(java.lang.String uuid,
boolean exceptionIfNull,
QueryOptions queryOptions)
|
Stem |
findByUuidOrName(java.lang.String uuid,
java.lang.String name,
boolean exceptionIfNull)
|
Stem |
findByUuidOrName(java.lang.String uuid,
java.lang.String name,
boolean exceptionIfNull,
QueryOptions queryOptions)
|
java.util.Set<Stem> |
findByUuids(java.util.Collection<java.lang.String> uuids,
QueryOptions queryOptions)
note, dont pass more than 100 ids |
java.util.Set<Stem> |
findParentsByGroups(java.util.Collection<Group> groups)
find all parent stems by group |
java.util.Set<Stem> |
findStemsInStemWithoutPrivilege(GrouperSession grouperSession,
java.lang.String stemId,
Stem.Scope scope,
edu.internet2.middleware.subject.Subject subject,
Privilege privilege,
QueryOptions queryOptions,
boolean considerAllSubject,
java.lang.String sqlLikeString)
see which stems do not have this privilege |
java.util.Set<Stem> |
getAllStems()
|
java.util.Set<Stem> |
getAllStemsSecure(GrouperSession grouperSession,
edu.internet2.middleware.subject.Subject subject,
java.util.Set<Privilege> inPrivSet,
QueryOptions queryOptions)
|
java.util.Set<Stem> |
getAllStemsSecure(java.lang.String scope,
GrouperSession grouperSession,
edu.internet2.middleware.subject.Subject subject,
java.util.Set<Privilege> inPrivSet,
QueryOptions queryOptions)
|
java.util.Set<Stem> |
getAllStemsSecure(java.lang.String scope,
GrouperSession grouperSession,
edu.internet2.middleware.subject.Subject subject,
java.util.Set<Privilege> inPrivSet,
QueryOptions queryOptions,
boolean splitScope,
java.lang.String parentStemId,
Stem.Scope stemScope,
boolean findByUuidOrName,
java.util.Collection<Field> userHasInGroupFields,
java.util.Collection<Field> userHasInAttributeFields,
java.util.Collection<java.lang.String> totalStemIds)
|
java.util.Set<Stem> |
getAllStemsSecure(java.lang.String scope,
GrouperSession grouperSession,
edu.internet2.middleware.subject.Subject subject,
java.util.Set<Privilege> inPrivSet,
QueryOptions queryOptions,
boolean splitScope,
java.lang.String parentStemId,
Stem.Scope stemScope,
boolean findByUuidOrName,
java.util.Collection<Field> userHasInGroupFields,
java.util.Collection<Field> userHasInAttributeFields,
java.util.Collection<java.lang.String> totalStemIds,
java.lang.String idOfAttributeDefName,
java.lang.Object attributeValue,
java.lang.Boolean attributeCheckReadOnAttributeDef)
|
java.util.Set<Stem> |
getAllStemsSplitScopeSecure(java.lang.String scope,
GrouperSession grouperSession,
edu.internet2.middleware.subject.Subject subject,
java.util.Set<Privilege> privileges,
QueryOptions queryOptions)
get all stems secure, split the scope by whitespace |
java.util.Set<Stem> |
getAllStemsWithGroupsSecure(GrouperSession grouperSession,
edu.internet2.middleware.subject.Subject subject,
java.util.Set<Privilege> inPrivSet,
QueryOptions queryOptions)
get stems with groups that have privileges |
java.util.Set<Stem> |
getImmediateChildrenSecure(GrouperSession grouperSession,
Stem stem,
edu.internet2.middleware.subject.Subject subject,
java.util.Set<Privilege> inPrivSet,
QueryOptions queryOptions)
get immediate children (stems) secure |
void |
moveStemSets(java.util.List<StemSet> ifHasStemSetsOfParentStem,
java.util.List<StemSet> oldStemSets,
java.lang.String currentStemId,
int depthOfFirstParent)
|
void |
renameStemAndChildren(java.util.Set children)
|
void |
saveUpdateProperties(Stem stem)
save the udpate properties which are auto saved when business method is called |
void |
update(Stem _ns)
|
void |
updateLastMembershipChange(java.lang.String stemId)
|
void |
updateLastMembershipChangeIncludeAncestorGroups(java.lang.String groupId)
This will update last_membership_change for stem owners where group member in groupSet is the given groupId. |
| Methods inherited from class edu.internet2.middleware.grouper.internal.dao.hib3.Hib3DAO |
|---|
evict, evictEntity, evictQueries, getConfiguration, getSessionFactory, initHibernateIfNotInitted, resourceNameFromClassName, session |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Hib3StemDAO()
| Method Detail |
|---|
public void createChildGroup(Stem _stem,
Group _group,
Member _member)
throws GrouperDAOException
createChildGroup in interface StemDAO_stem - _group - _member -
GrouperDAOException
public void createChildAttributeDef(Stem _stem,
AttributeDef attributeDef)
throws GrouperDAOException
createChildAttributeDef in interface StemDAO_stem - attributeDef -
GrouperDAOException
public void createChildStem(Stem _child)
throws GrouperDAOException
createChildStem in interface StemDAO_child -
GrouperDAOException
public void createRootStem(Stem _root)
throws GrouperDAOException
createRootStem in interface StemDAO_root -
GrouperDAOException
public void createStemSetsForStem(java.lang.String stemId,
java.lang.String parentStemId)
stemId - parentStemId -
public void moveStemSets(java.util.List<StemSet> ifHasStemSetsOfParentStem,
java.util.List<StemSet> oldStemSets,
java.lang.String currentStemId,
int depthOfFirstParent)
moveStemSets in interface StemDAOStemDAO.moveStemSets(java.util.List, java.util.List, java.lang.String, int)
public void delete(Stem _ns)
throws GrouperDAOException
delete in interface StemDAO_ns -
GrouperDAOException
public boolean exists(java.lang.String uuid)
throws GrouperDAOException
exists in interface StemDAOuuid -
GrouperDAOException
public java.util.Set<Stem> findAllByApproximateDisplayExtension(java.lang.String val)
throws GrouperDAOException
findAllByApproximateDisplayExtension in interface StemDAOval -
GrouperDAOException
public java.util.Set<Stem> findAllByApproximateDisplayExtension(java.lang.String val,
java.lang.String scope)
throws GrouperDAOException
findAllByApproximateDisplayExtension in interface StemDAOval - scope -
GrouperDAOException
public java.util.Set<Stem> findAllByApproximateDisplayName(java.lang.String val)
throws GrouperDAOException
findAllByApproximateDisplayName in interface StemDAOval -
GrouperDAOException
public java.util.Set<Stem> findAllByApproximateDisplayName(java.lang.String val,
java.lang.String scope)
throws GrouperDAOException
findAllByApproximateDisplayName in interface StemDAOval - scope -
GrouperDAOException
public java.util.Set<Stem> findAllByApproximateExtension(java.lang.String val)
throws GrouperDAOException
findAllByApproximateExtension in interface StemDAOval -
GrouperDAOException
public java.util.Set<Stem> findAllByApproximateExtension(java.lang.String val,
java.lang.String scope)
throws GrouperDAOException
findAllByApproximateExtension in interface StemDAOval - scope -
GrouperDAOException
public java.util.Set<Stem> findAllByApproximateName(java.lang.String val)
throws GrouperDAOException
findAllByApproximateName in interface StemDAOval -
GrouperDAOException
public java.util.Set<Stem> findAllByApproximateName(java.lang.String val,
java.lang.String scope)
throws GrouperDAOException
findAllByApproximateName in interface StemDAOval - scope -
GrouperDAOException
public java.util.Set<Stem> findAllByApproximateNameAny(java.lang.String name)
throws GrouperDAOException
findAllByApproximateNameAny in interface StemDAOname -
GrouperDAOException
public java.util.Set<Stem> findAllByApproximateNameAny(java.lang.String name,
java.lang.String scope)
findAllByApproximateNameAny in interface StemDAOname - scope -
GrouperDAOException
public java.util.Set<Stem> findAllByApproximateNameAny(java.lang.String name,
java.lang.String scope,
QueryOptions queryOptions)
throws GrouperDAOException
findAllByApproximateNameAny in interface StemDAOname - scope - queryOptions -
GrouperDAOException
public java.util.Set<Stem> findAllByCreatedAfter(java.util.Date d)
throws GrouperDAOException
findAllByCreatedAfter in interface StemDAOd -
GrouperDAOException
public java.util.Set<Stem> findAllByCreatedAfter(java.util.Date d,
java.lang.String scope)
throws GrouperDAOException
findAllByCreatedAfter in interface StemDAOd - scope -
GrouperDAOException
public java.util.Set<Stem> findAllByCreatedBefore(java.util.Date d)
throws GrouperDAOException
findAllByCreatedBefore in interface StemDAOd -
GrouperDAOException
public java.util.Set<Stem> findAllByCreatedBefore(java.util.Date d,
java.lang.String scope)
throws GrouperDAOException
findAllByCreatedBefore in interface StemDAOd - scope -
GrouperDAOException
public java.util.Set<Group> findAllChildGroups(Stem ns,
Stem.Scope scope)
throws GrouperDAOException
StemDAO
findAllChildGroups in interface StemDAOGrouperDAOExceptionStemDAO.findAllChildGroups(Stem, Stem.Scope)
public java.util.Set<Stem> findAllChildStems(Stem ns,
Stem.Scope scope)
throws GrouperDAOException,
java.lang.IllegalStateException
StemDAO
findAllChildStems in interface StemDAOjava.lang.IllegalStateException - if unknown scope.
GrouperDAOExceptionStemDAO.findAllChildStems(Stem, Stem.Scope)
public java.util.Set<Stem> findAllChildStems(Stem ns,
Stem.Scope scope,
boolean orderByName)
StemDAO
findAllChildStems in interface StemDAOns - scope - orderByName -
GrouperDAOException
java.lang.IllegalStateException - if unknown scope.StemDAO.findAllChildStems(Stem, Stem.Scope)
public java.util.Set<Stem> findAllChildStems(Stem ns,
Stem.Scope scope,
QueryOptions queryOptions)
throws GrouperDAOException,
java.lang.IllegalStateException
StemDAO
findAllChildStems in interface StemDAOns - scope - queryOptions -
GrouperDAOException
java.lang.IllegalStateException - if unknown scope.StemDAO.findAllChildStems(Stem, Stem.Scope)
@Deprecated
public Stem findByName(java.lang.String name)
throws GrouperDAOException,
StemNotFoundException
findByName in interface StemDAOname -
GrouperDAOException
StemNotFoundException
public Stem findByName(java.lang.String name,
boolean exceptionIfNull)
throws GrouperDAOException,
StemNotFoundException
findByName in interface StemDAOname - exceptionIfNull -
GrouperDAOException
StemNotFoundException
@Deprecated
public Stem findByUuid(java.lang.String uuid)
throws GrouperDAOException,
StemNotFoundException
findByUuid in interface StemDAOuuid -
GrouperDAOException
StemNotFoundException
public Stem findByUuid(java.lang.String uuid,
boolean exceptionIfNull)
throws GrouperDAOException,
StemNotFoundException
findByUuid in interface StemDAOuuid - exceptionIfNull -
GrouperDAOException
StemNotFoundException
public java.util.Set<Stem> getAllStems()
throws GrouperDAOException
getAllStems in interface StemDAOGrouperDAOException
public void renameStemAndChildren(java.util.Set children)
throws GrouperDAOException
renameStemAndChildren in interface StemDAOchildren -
GrouperDAOException
public void update(Stem _ns)
throws GrouperDAOException
update in interface StemDAO_ns -
GrouperDAOExceptionpublic java.util.Set<Stem> findByCreatorOrModifier(Member member)
findByCreatorOrModifier in interface StemDAOmember -
public java.util.Set<Group> findAllChildGroupsSecure(Stem ns,
Stem.Scope scope,
GrouperSession grouperSession,
edu.internet2.middleware.subject.Subject subject,
java.util.Set<Privilege> inPrivSet,
QueryOptions queryOptions)
throws GrouperDAOException
StemDAO
findAllChildGroupsSecure in interface StemDAOinPrivSet - is a set of privs that the subject must have one of to display a row. AccessPrivilege
has some pre-baked set constants available
GrouperDAOExceptionStemDAO.findAllChildGroupsSecure(edu.internet2.middleware.grouper.Stem, edu.internet2.middleware.grouper.Stem.Scope, edu.internet2.middleware.grouper.GrouperSession, edu.internet2.middleware.subject.Subject, java.util.Set, edu.internet2.middleware.grouper.internal.dao.QueryOptions)
public java.util.Set<Group> findAllChildGroupsSecure(Stem ns,
Stem.Scope scope,
GrouperSession grouperSession,
edu.internet2.middleware.subject.Subject subject,
java.util.Set<Privilege> inPrivSet,
QueryOptions queryOptions,
java.util.Set<TypeOfGroup> typeOfGroups)
throws GrouperDAOException
StemDAO
findAllChildGroupsSecure in interface StemDAOinPrivSet - is a set of privs that the subject must have one of to display a row. AccessPrivilege
has some pre-baked set constants availabletypeOfGroups - type of groups to return or null for all
GrouperDAOExceptionStemDAO.findAllChildGroupsSecure(edu.internet2.middleware.grouper.Stem, edu.internet2.middleware.grouper.Stem.Scope, edu.internet2.middleware.grouper.GrouperSession, edu.internet2.middleware.subject.Subject, java.util.Set, edu.internet2.middleware.grouper.internal.dao.QueryOptions, Set)
public java.util.Set<Group> findAllChildMembershipGroupsSecure(Stem ns,
Stem.Scope scope,
GrouperSession grouperSession,
edu.internet2.middleware.subject.Subject subject,
java.util.Set<Privilege> inPrivSet,
QueryOptions queryOptions)
throws GrouperDAOException
StemDAO
findAllChildMembershipGroupsSecure in interface StemDAOinPrivSet - is a set of privs that the subject must have one of to display a row. AccessPrivilege
has some pre-baked set constants available
GrouperDAOExceptionStemDAO.findAllChildMembershipGroupsSecure(edu.internet2.middleware.grouper.Stem, edu.internet2.middleware.grouper.Stem.Scope, edu.internet2.middleware.grouper.GrouperSession, edu.internet2.middleware.subject.Subject, java.util.Set, edu.internet2.middleware.grouper.internal.dao.QueryOptions)
public java.util.Set<Stem> findAllChildStemsSecure(Stem ns,
Stem.Scope scope,
GrouperSession grouperSession,
edu.internet2.middleware.subject.Subject subject,
java.util.Set<Privilege> inPrivSet,
QueryOptions queryOptions)
throws GrouperDAOException
StemDAO
findAllChildStemsSecure in interface StemDAOinPrivSet - is a set of privs that the subject must have one of to display a row. NamingPrivilege
has some pre-baked set constants available
GrouperDAOExceptionStemDAO.findAllChildStemsSecure(edu.internet2.middleware.grouper.Stem, edu.internet2.middleware.grouper.Stem.Scope, edu.internet2.middleware.grouper.GrouperSession, edu.internet2.middleware.subject.Subject, java.util.Set, edu.internet2.middleware.grouper.internal.dao.QueryOptions)
public java.util.Set<Stem> getImmediateChildrenSecure(GrouperSession grouperSession,
Stem stem,
edu.internet2.middleware.subject.Subject subject,
java.util.Set<Privilege> inPrivSet,
QueryOptions queryOptions)
throws GrouperDAOException
StemDAO
getImmediateChildrenSecure in interface StemDAOinPrivSet - 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
GrouperDAOExceptionStemDAO.getImmediateChildrenSecure(edu.internet2.middleware.grouper.GrouperSession, edu.internet2.middleware.grouper.Stem, edu.internet2.middleware.subject.Subject, java.util.Set, edu.internet2.middleware.grouper.internal.dao.QueryOptions)
public java.util.Set<Stem> getAllStemsSecure(GrouperSession grouperSession,
edu.internet2.middleware.subject.Subject subject,
java.util.Set<Privilege> inPrivSet,
QueryOptions queryOptions)
throws GrouperDAOException
getAllStemsSecure in interface StemDAOinPrivSet - means that each row must have a matching priv in this set to user or GrouperAll.
There are some constants in NamingPrivilege of pre-canned sets
GrouperDAOExceptionStemDAO.getAllStemsSecure(edu.internet2.middleware.grouper.GrouperSession, edu.internet2.middleware.subject.Subject, java.util.Set, edu.internet2.middleware.grouper.internal.dao.QueryOptions)
public java.util.Set<Stem> getAllStemsSecure(java.lang.String scope,
GrouperSession grouperSession,
edu.internet2.middleware.subject.Subject subject,
java.util.Set<Privilege> inPrivSet,
QueryOptions queryOptions)
throws GrouperDAOException
getAllStemsSecure in interface StemDAOscope - is blank for no scopeinPrivSet - means that each row must have a matching priv in this set to user or GrouperAll.
There are some constants in NamingPrivilege of pre-canned sets
GrouperDAOExceptionStemDAO.getAllStemsSecure(java.lang.String, edu.internet2.middleware.grouper.GrouperSession, edu.internet2.middleware.subject.Subject, java.util.Set, edu.internet2.middleware.grouper.internal.dao.QueryOptions)
public void createChildAttributeDefName(Stem _parent,
AttributeDefName attributeDefName)
throws GrouperDAOException
createChildAttributeDefName in interface StemDAO_parent - attributeDefName -
GrouperDAOExceptionpublic void updateLastMembershipChange(java.lang.String stemId)
updateLastMembershipChange in interface StemDAOStemDAO.updateLastMembershipChange(java.lang.String)public void updateLastMembershipChangeIncludeAncestorGroups(java.lang.String groupId)
StemDAO
updateLastMembershipChangeIncludeAncestorGroups in interface StemDAOStemDAO.updateLastMembershipChangeIncludeAncestorGroups(java.lang.String)
public Stem findByName(java.lang.String name,
boolean exceptionIfNull,
QueryOptions queryOptions)
throws GrouperDAOException,
StemNotFoundException
findByName in interface StemDAOname - exceptionIfNull - queryOptions -
GrouperDAOException
StemNotFoundException
public Stem findByCurrentName(java.lang.String name,
boolean exceptionIfNull,
QueryOptions queryOptions)
throws GrouperDAOException,
StemNotFoundException
StemDAO
findByCurrentName in interface StemDAOname - exceptionIfNull - queryOptions -
GrouperDAOException
StemNotFoundException
public Stem findByAlternateName(java.lang.String name,
boolean exceptionIfNull,
QueryOptions queryOptions)
throws GrouperDAOException,
StemNotFoundException
StemDAO
findByAlternateName in interface StemDAOname - exceptionIfNull - queryOptions -
GrouperDAOException
StemNotFoundException
public Stem findByUuid(java.lang.String uuid,
boolean exceptionIfNull,
QueryOptions queryOptions)
throws GrouperDAOException,
StemNotFoundException
findByUuid in interface StemDAOuuid - exceptionIfNull - queryOptions -
GrouperDAOException
StemNotFoundException
public Stem findByUuidOrName(java.lang.String uuid,
java.lang.String name,
boolean exceptionIfNull)
throws GrouperDAOException,
StemNotFoundException
findByUuidOrName in interface StemDAOGrouperDAOException
StemNotFoundExceptionStemDAO.findByUuidOrName(java.lang.String, java.lang.String, boolean)
public Stem findByUuidOrName(java.lang.String uuid,
java.lang.String name,
boolean exceptionIfNull,
QueryOptions queryOptions)
throws GrouperDAOException,
StemNotFoundException
findByUuidOrName in interface StemDAOGrouperDAOException
StemNotFoundExceptionStemDAO.findByUuidOrName(java.lang.String, java.lang.String, boolean, QueryOptions)public void saveUpdateProperties(Stem stem)
StemDAO
saveUpdateProperties in interface StemDAOStemDAO.saveUpdateProperties(edu.internet2.middleware.grouper.Stem)public java.util.Set<Stem> findParentsByGroups(java.util.Collection<Group> groups)
findParentsByGroups in interface StemDAOgroups -
public java.util.Set<Stem> findByNames(java.util.Collection<java.lang.String> names,
boolean exceptionOnNotFound)
throws StemNotFoundException
StemDAO
findByNames in interface StemDAOStemNotFoundExceptionStemDAO.findByNames(java.util.Collection, boolean)
public java.util.Set<Stem> getAllStemsWithGroupsSecure(GrouperSession grouperSession,
edu.internet2.middleware.subject.Subject subject,
java.util.Set<Privilege> inPrivSet,
QueryOptions queryOptions)
throws GrouperDAOException
StemDAO
getAllStemsWithGroupsSecure in interface StemDAOinPrivSet - 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
GrouperDAOExceptionStemDAO.getAllStemsWithGroupsSecure(edu.internet2.middleware.grouper.GrouperSession, edu.internet2.middleware.subject.Subject, java.util.Set, edu.internet2.middleware.grouper.internal.dao.QueryOptions)
public java.util.Set<Stem> findStemsInStemWithoutPrivilege(GrouperSession grouperSession,
java.lang.String stemId,
Stem.Scope scope,
edu.internet2.middleware.subject.Subject subject,
Privilege privilege,
QueryOptions queryOptions,
boolean considerAllSubject,
java.lang.String sqlLikeString)
StemDAO
findStemsInStemWithoutPrivilege in interface StemDAOStemDAO#findStemsInStemWithoutPrivilege(GrouperSession, String, Scope, Subject, Privilege, QueryOptions, boolean, String)
public java.util.Set<Stem> getAllStemsSplitScopeSecure(java.lang.String scope,
GrouperSession grouperSession,
edu.internet2.middleware.subject.Subject subject,
java.util.Set<Privilege> privileges,
QueryOptions queryOptions)
StemDAO
getAllStemsSplitScopeSecure in interface StemDAOStemDAO.getAllStemsSplitScopeSecure(String, GrouperSession, Subject, Set, QueryOptions)
public java.util.Set<Stem> findByUuids(java.util.Collection<java.lang.String> uuids,
QueryOptions queryOptions)
StemDAO
findByUuids in interface StemDAOStemDAO.findByUuids(Collection, QueryOptions)
public Stem findByIdIndex(java.lang.Long idIndex,
boolean exceptionIfNotFound,
QueryOptions queryOptions)
throws GroupNotFoundException
findByIdIndex in interface StemDAOGroupNotFoundExceptionStemDAO.findByIdIndex(Long, boolean, QueryOptions)
public java.util.Set<Stem> getAllStemsSecure(java.lang.String scope,
GrouperSession grouperSession,
edu.internet2.middleware.subject.Subject subject,
java.util.Set<Privilege> inPrivSet,
QueryOptions queryOptions,
boolean splitScope,
java.lang.String parentStemId,
Stem.Scope stemScope,
boolean findByUuidOrName,
java.util.Collection<Field> userHasInGroupFields,
java.util.Collection<Field> userHasInAttributeFields,
java.util.Collection<java.lang.String> totalStemIds)
throws GrouperDAOException
getAllStemsSecure in interface StemDAOscope - is blank for no scopeinPrivSet - means that each row must have a matching priv in this set to user or GrouperAll.
There are some constants in NamingPrivilege of pre-canned setssplitScope - true to split scopes by whitespaceparentStemId - true if filtering by parent of ancestorstemScope - ONE or SUBfindByUuidOrName - if we are looking up a stem, only look by uuid or nameuserHasInGroupFields - find stems where the user has these fields in a groupuserHasInAttributeFields - find stems where the user has these fields in an attribute
GrouperDAOExceptionStemDAO#getAllStemsSecure(String, GrouperSession, Subject, Set, QueryOptions, boolean, String, Scope, boolean, Collection, Collection, Collection)
public java.util.Set<Stem> getAllStemsSecure(java.lang.String scope,
GrouperSession grouperSession,
edu.internet2.middleware.subject.Subject subject,
java.util.Set<Privilege> inPrivSet,
QueryOptions queryOptions,
boolean splitScope,
java.lang.String parentStemId,
Stem.Scope stemScope,
boolean findByUuidOrName,
java.util.Collection<Field> userHasInGroupFields,
java.util.Collection<Field> userHasInAttributeFields,
java.util.Collection<java.lang.String> totalStemIds,
java.lang.String idOfAttributeDefName,
java.lang.Object attributeValue,
java.lang.Boolean attributeCheckReadOnAttributeDef)
throws GrouperDAOException
getAllStemsSecure in interface StemDAOscope - is blank for no scopeinPrivSet - means that each row must have a matching priv in this set to user or GrouperAll.
There are some constants in NamingPrivilege of pre-canned setssplitScope - true to split scopes by whitespaceparentStemId - true if filtering by parent of ancestorstemScope - ONE or SUBfindByUuidOrName - if we are looking up a stem, only look by uuid or nameuserHasInGroupFields - find stems where the user has these fields in a groupuserHasInAttributeFields - find stems where the user has these fields in an attributeidOfAttributeDefName - if looking for groups that have this attribute def nameattributeValue - if looking for groups that have this attribute value on the attribute def nameattributeCheckReadOnAttributeDef - if check read on attribute for attribute on stem
GrouperDAOExceptionStemDAO#getAllStemsSecure(String, GrouperSession, Subject, Set, QueryOptions, boolean, String, Scope, boolean, Collection, Collection, Collection, String, Object, Boolean)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||