Class AttributeAssignFinder
java.lang.Object
edu.internet2.middleware.grouper.attr.finder.AttributeAssignFinder
finder methods for attribute assign
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddAttributeDefId
(String attributeDefId) attribute def id to findaddAttributeDefNameId
(String attributeDefNameId) attribute def name id to findaddOwnerAttributeAssignId
(String ownerAttributeAssignId) add owner assign idaddOwnerAttributeDefId
(String ownerAttributeDefId) add owner AttributeDef idaddOwnerGroupId
(String ownerGroupId) add owner group idaddOwnerMemberId
(String ownerMemberId) add owner member idaddOwnerStemId
(String ownerStemId) add owner stem idassignAttributeAssignType
(AttributeAssignType theAttributeAssignType) assign the attribute assign type for querying by attributeassignAttributeCheckReadOnAttributeDef
(boolean theAttributeDefNameUseSecurity) use security around attribute def? default is trueassignAttributeDefIds
(Collection<String> theAttributeDefIds) attribute def ids to findassignAttributeDefNameIds
(Collection<String> theAttributeDefNameIds) attribute def name ids to findassignAttributeValuesOnAssignment0
(Set<Object> theAttributeValuesOnAssignment0) values that the attribute def name on assignment of assignment hasassignAttributeValuesOnAssignment1
(Set<Object> theAttributeValuesOnAssignment1) values that the second attribute def name on assignment of assignment hasassignCheckAttributeReadOnOwner
(boolean theCheckAttributeReadOnOwner) check read on ownerassignFilter
(String theFilter) filter text for groups, folders, attributes of ownerassignIdOfAttributeDefNameOnAssignment0
(String theIdOfAttributeDefNameOnAssignment0) id of attribute def name that there is an assignment on assignment of with a value or values (optional)assignIdOfAttributeDefNameOnAssignment1
(String theIdOfAttributeDefNameOnAssignment1) id of second attribute def name that there is an assignment on assignment of with a value or values (optional)assignIncludeAssignmentsOnAssignments
(boolean theIncludeAssignAssignmentsOnAssignments) if assignments on assignments should also be includedassignOwnerAttributeAssignIds
(Collection<String> ownerAttributeAssignIds1) add owner assign idassignOwnerAttributeDefIds
(Collection<String> ownerAttributeDefIds1) add owner AttributeDef idassignOwnerGroupIds
(Collection<String> ownerGroupIds1) add owner group idassignOwnerMemberIds
(Collection<String> ownerMemberIds1) add owner member idassignOwnerStemIds
(Collection<String> ownerStemIds1) add owner stem idassignQueryOptions
(QueryOptions theQueryOptions) query options paging and sortingassignRetrieveValues
(boolean theRetrieveValues) if should retrieve valuesassignSplitFilter
(boolean theSplitFilter) if filter should be split by whitespace, by default yesfind all the attribute assignsfind all the attribute assignsstatic AttributeAssign
find an attributeAssign by id.
-
Constructor Details
-
AttributeAssignFinder
public AttributeAssignFinder()
-
-
Method Details
-
assignFilter
filter text for groups, folders, attributes of owner- Parameters:
theFilter
-- Returns:
- this for chaining
-
assignSplitFilter
if filter should be split by whitespace, by default yes- Parameters:
theSplitFilter
-- Returns:
- this for chaining
-
assignRetrieveValues
if should retrieve values- Parameters:
theRetrieveValues
-- Returns:
- this for chaining
-
assignQueryOptions
query options paging and sorting- Parameters:
theQueryOptions
-- Returns:
- this for chaining
-
assignIdOfAttributeDefNameOnAssignment0
public AttributeAssignFinder assignIdOfAttributeDefNameOnAssignment0(String theIdOfAttributeDefNameOnAssignment0) id of attribute def name that there is an assignment on assignment of with a value or values (optional)- Parameters:
theIdOfAttributeDefNameOnAssignment0
-- Returns:
- this for chaining
-
assignAttributeValuesOnAssignment0
public AttributeAssignFinder assignAttributeValuesOnAssignment0(Set<Object> theAttributeValuesOnAssignment0) values that the attribute def name on assignment of assignment has- Parameters:
theAttributeValuesOnAssignment0
-- Returns:
- this for chaining
-
assignIdOfAttributeDefNameOnAssignment1
public AttributeAssignFinder assignIdOfAttributeDefNameOnAssignment1(String theIdOfAttributeDefNameOnAssignment1) id of second attribute def name that there is an assignment on assignment of with a value or values (optional)- Parameters:
theIdOfAttributeDefNameOnAssignment1
-- Returns:
- this for chaining
-
assignAttributeValuesOnAssignment1
public AttributeAssignFinder assignAttributeValuesOnAssignment1(Set<Object> theAttributeValuesOnAssignment1) values that the second attribute def name on assignment of assignment has- Parameters:
theAttributeValuesOnAssignment1
-- Returns:
- this for chaining
-
assignCheckAttributeReadOnOwner
check read on owner- Parameters:
theCheckAttributeReadOnOwner
-- Returns:
- this for chaining
-
assignAttributeCheckReadOnAttributeDef
public AttributeAssignFinder assignAttributeCheckReadOnAttributeDef(boolean theAttributeDefNameUseSecurity) use security around attribute def? default is true- Parameters:
theAttributeDefNameUseSecurity
-- Returns:
- this for chaining
-
assignAttributeAssignType
assign the attribute assign type for querying by attribute- Parameters:
theAttributeAssignType
-- Returns:
- this for chaining
-
addAttributeDefNameId
attribute def name id to find- Parameters:
attributeDefNameId
-- Returns:
- this for chaining
-
addAttributeDefId
attribute def id to find- Parameters:
attributeDefId
-- Returns:
- this for chaining
-
assignAttributeDefNameIds
attribute def name ids to find- Parameters:
theAttributeDefNameIds
-- Returns:
- this for chaining
-
assignAttributeDefIds
attribute def ids to find- Parameters:
theAttributeDefIds
-- Returns:
- this for chaining
-
addOwnerGroupId
add owner group id- Parameters:
ownerGroupId
-- Returns:
- this for chaining
-
assignOwnerGroupIds
add owner group id- Parameters:
ownerGroupIds1
-- Returns:
- this for chaining
-
addOwnerAttributeAssignId
add owner assign id- Parameters:
ownerAttributeAssignId
-- Returns:
- this for chaining
-
assignOwnerAttributeAssignIds
public AttributeAssignFinder assignOwnerAttributeAssignIds(Collection<String> ownerAttributeAssignIds1) add owner assign id- Parameters:
ownerAttributeAssignIds1
-- Returns:
- this for chaining
-
addOwnerStemId
add owner stem id- Parameters:
ownerStemId
-- Returns:
- this for chaining
-
assignOwnerStemIds
add owner stem id- Parameters:
ownerStemIds1
-- Returns:
- this for chaining
-
addOwnerMemberId
add owner member id- Parameters:
ownerMemberId
-- Returns:
- this for chaining
-
assignOwnerMemberIds
add owner member id- Parameters:
ownerMemberIds1
-- Returns:
- this for chaining
-
assignIncludeAssignmentsOnAssignments
public AttributeAssignFinder assignIncludeAssignmentsOnAssignments(boolean theIncludeAssignAssignmentsOnAssignments) if assignments on assignments should also be included- Parameters:
theIncludeAssignAssignmentsOnAssignments
-- Returns:
- this for chaining
-
findAttributeAssignFinderResults
find all the attribute assigns- Returns:
- the set of groups or the empty set if none found
-
findAttributeAssigns
find all the attribute assigns- Returns:
- the set of groups or the empty set if none found
-
addOwnerAttributeDefId
add owner AttributeDef id- Parameters:
ownerAttributeDefId
-- Returns:
- this for chaining
-
assignOwnerAttributeDefIds
add owner AttributeDef id- Parameters:
ownerAttributeDefIds1
-- Returns:
- this for chaining
-
findById
find an attributeAssign by id. This is a secure method, a GrouperSession must be open- Parameters:
id
- of attributeAssignexceptionIfNull
- true if exception should be thrown if null- Returns:
- the attribute assign or null
- Throws:
AttributeAssignNotFoundException
-