Skip to Content.
Sympa Menu

grouper-dev - [grouper-dev] search for attributes by value

Subject: Grouper Developers Forum

List archive

[grouper-dev] search for attributes by value


Chronological Thread 
  • From: Chris Hyzer <>
  • To: Grouper Dev <>
  • Subject: [grouper-dev] search for attributes by value
  • Date: Tue, 29 May 2012 14:34:20 +0000
  • Accept-language: en-US

This was done (a request from comanage) in 2.1.1

 

https://bugs.internet2.edu/jira/browse/GRP-798

 

This is a backward compatible WS change to improve getAttributeAssignments.

 

You can search by value (you need to pass the value type and value), You can also search for assignments on assignments, and include the assignments from assignments (e.g. to know which group it is assigned to). You can filter by attributeDefType. In all, these are the new params for lite or non-lite operations including grouper client:

 

   * @param attributeDefValueType required if sending theValue, can be:

   * floating, integer, memberId, string, timestamp

   * @param theValue value if you are passing in one attributeDefNameLookup

   * @param includeAssignmentsFromAssignments T|F if you are finding an assignment that is an assignmentOnAssignment,

   * then get the assignment which tells you the owner as well

   * @param attributeDefType null for all, or specify an AttributeDefType e.g. attr, limit, service, type, limit, perm

   * @param wsAssignAssignOwnerAttributeAssignLookups if looking for assignments on assignments, this is the assignment the assignment is assigned to

   * @param wsAssignAssignOwnerAttributeDefLookups if looking for assignments on assignments, this is the attribute definition of the assignment the assignment is assigned to

   * @param wsAssignAssignOwnerAttributeDefNameLookups if looking for assignments on assignments, this is the attribute def name of the assignment the assignment is assigned to

   * @param wsAssignAssignOwnerActions if looking for assignments on assignments, this are the actions of the assignment the assignment is assigned to

 

Thanks,

chris



  • [grouper-dev] search for attributes by value, Chris Hyzer, 05/29/2012

Archive powered by MHonArc 2.6.16.

Top of Page