|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StemDAO
Basic Stem
DAO interface.
Method Summary | |
---|---|
void |
createChildAttributeDef(Stem _parent,
AttributeDef _child)
|
void |
createChildAttributeDefName(Stem _parent,
AttributeDefName _child)
|
void |
createChildGroup(Stem _parent,
Group _child,
Member _m,
java.util.Map<java.lang.String,java.lang.String> attributes)
|
void |
createChildStem(Stem _child)
|
void |
createRootStem(Stem _root)
|
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> |
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> |
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> |
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 |
java.util.Set<Stem> |
findByCreatorOrModifier(Member member)
find stems by creator or modifier |
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)
|
java.util.Set<Stem> |
findParentsByGroups(java.util.Collection<Group> groups)
find all parent stems of groups (and grandparents, etc) |
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> |
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 |
renameStemAndChildren(Stem _ns,
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. |
Method Detail |
---|
java.util.Set<Stem> findByNames(java.util.Collection<java.lang.String> names, boolean exceptionOnNotFound) throws StemNotFoundException
names
- exceptionOnNotFound
-
StemNotFoundException
java.util.Set<Stem> findParentsByGroups(java.util.Collection<Group> groups)
groups
-
void createChildAttributeDef(Stem _parent, AttributeDef _child) throws GrouperDAOException
GrouperDAOException
void createChildAttributeDefName(Stem _parent, AttributeDefName _child) throws GrouperDAOException
GrouperDAOException
void createChildGroup(Stem _parent, Group _child, Member _m, java.util.Map<java.lang.String,java.lang.String> attributes) throws GrouperDAOException
GrouperDAOException
void createChildStem(Stem _child) throws GrouperDAOException
GrouperDAOException
void createRootStem(Stem _root) throws GrouperDAOException
GrouperDAOException
void delete(Stem _ns) throws GrouperDAOException
GrouperDAOException
boolean exists(java.lang.String uuid) throws GrouperDAOException
GrouperDAOException
java.util.Set<Stem> findAllByApproximateDisplayExtension(java.lang.String val) throws GrouperDAOException
GrouperDAOException
java.util.Set<Stem> findAllByApproximateDisplayExtension(java.lang.String val, java.lang.String scope) throws GrouperDAOException
GrouperDAOException
java.util.Set<Stem> findAllByApproximateDisplayName(java.lang.String val) throws GrouperDAOException
GrouperDAOException
java.util.Set<Stem> findAllByApproximateDisplayName(java.lang.String val, java.lang.String scope) throws GrouperDAOException
GrouperDAOException
java.util.Set<Stem> findAllByApproximateExtension(java.lang.String val) throws GrouperDAOException
GrouperDAOException
java.util.Set<Stem> findAllByApproximateExtension(java.lang.String val, java.lang.String scope) throws GrouperDAOException
GrouperDAOException
java.util.Set<Stem> findAllByApproximateName(java.lang.String val) throws GrouperDAOException
GrouperDAOException
java.util.Set<Stem> findAllByApproximateName(java.lang.String val, java.lang.String scope) throws GrouperDAOException
GrouperDAOException
java.util.Set<Stem> findAllByApproximateNameAny(java.lang.String name) throws GrouperDAOException
GrouperDAOException
java.util.Set<Stem> findAllByApproximateNameAny(java.lang.String name, java.lang.String scope) throws GrouperDAOException
GrouperDAOException
java.util.Set<Stem> findAllByCreatedAfter(java.util.Date d) throws GrouperDAOException
GrouperDAOException
java.util.Set<Stem> findAllByCreatedAfter(java.util.Date d, java.lang.String scope) throws GrouperDAOException
GrouperDAOException
java.util.Set<Stem> findAllByCreatedBefore(java.util.Date d) throws GrouperDAOException
GrouperDAOException
java.util.Set<Stem> findAllByCreatedBefore(java.util.Date d, java.lang.String scope) throws GrouperDAOException
GrouperDAOException
java.util.Set<Group> findAllChildGroups(Stem ns, Stem.Scope scope) throws GrouperDAOException
GrouperDAOException
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
ns
- scope
- grouperSession
- subject
- queryOptions
- inPrivSet
- is a set of privs that the subject must have one of to display a row. AccessPrivilege
has some pre-baked set constants available
GrouperDAOException
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
ns
- scope
- grouperSession
- subject
- queryOptions
- inPrivSet
- is a set of privs that the subject must have one of to display a row. AccessPrivilege
has some pre-baked set constants available
GrouperDAOException
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
ns
- scope
- grouperSession
- subject
- queryOptions
- inPrivSet
- is a set of privs that the subject must have one of to display a row. NamingPrivilege
has some pre-baked set constants available
GrouperDAOException
java.util.Set<Stem> findAllChildStems(Stem ns, Stem.Scope scope) throws GrouperDAOException
GrouperDAOException
java.util.Set<Stem> findAllChildStems(Stem ns, Stem.Scope scope, boolean orderByName) throws GrouperDAOException
ns
- scope
- orderByName
-
GrouperDAOException
@Deprecated Stem findByName(java.lang.String name) throws GrouperDAOException, StemNotFoundException
GrouperDAOException
StemNotFoundException
@Deprecated Stem findByUuid(java.lang.String uuid) throws GrouperDAOException, StemNotFoundException
GrouperDAOException
StemNotFoundException
Stem findByName(java.lang.String name, boolean exceptionIfNull, QueryOptions queryOptions) throws GrouperDAOException, StemNotFoundException
GrouperDAOException
StemNotFoundException
Stem findByUuid(java.lang.String uuid, boolean exceptionIfNull, QueryOptions queryOptions) throws GrouperDAOException, StemNotFoundException
GrouperDAOException
StemNotFoundException
Stem findByName(java.lang.String name, boolean exceptionIfNull) throws GrouperDAOException, StemNotFoundException
GrouperDAOException
StemNotFoundException
Stem findByUuidOrName(java.lang.String uuid, java.lang.String name, boolean exceptionIfNull) throws GrouperDAOException, StemNotFoundException
uuid
- name
- exceptionIfNull
-
GrouperDAOException
StemNotFoundException
Stem findByUuid(java.lang.String uuid, boolean exceptionIfNull) throws GrouperDAOException, StemNotFoundException
GrouperDAOException
StemNotFoundException
java.util.Set<Stem> getAllStems() throws GrouperDAOException
GrouperDAOException
void renameStemAndChildren(Stem _ns, java.util.Set children) throws GrouperDAOException
GrouperDAOException
void update(Stem _ns) throws GrouperDAOException
GrouperDAOException
java.util.Set<Stem> findByCreatorOrModifier(Member member)
member
-
java.util.Set<Stem> getImmediateChildrenSecure(GrouperSession grouperSession, Stem stem, edu.internet2.middleware.subject.Subject subject, java.util.Set<Privilege> inPrivSet, QueryOptions queryOptions) throws GrouperDAOException
grouperSession
- stem
- subject
- queryOptions
- 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
GrouperDAOException
java.util.Set<Stem> getAllStemsSecure(GrouperSession grouperSession, edu.internet2.middleware.subject.Subject subject, java.util.Set<Privilege> inPrivSet, QueryOptions queryOptions) throws GrouperDAOException
grouperSession
- subject
- queryOptions
- inPrivSet
- 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
GrouperDAOException
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
scope
- is blank for no scopegrouperSession
- subject
- queryOptions
- inPrivSet
- 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
GrouperDAOException
void updateLastMembershipChange(java.lang.String stemId)
stemId
- void updateLastMembershipChangeIncludeAncestorGroups(java.lang.String groupId)
groupId
- void saveUpdateProperties(Stem stem)
stem
- java.util.Set<Stem> getAllStemsWithGroupsSecure(GrouperSession grouperSession, edu.internet2.middleware.subject.Subject subject, java.util.Set<Privilege> inPrivSet, QueryOptions queryOptions) throws GrouperDAOException
grouperSession
- subject
- queryOptions
- 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
GrouperDAOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |