Class GrouperUiBrowserMembershipAdd
java.lang.Object
edu.internet2.middleware.grouper.app.browser.GrouperUiBrowser
edu.internet2.middleware.grouper.app.browser.GrouperUiBrowserMembershipAdd
This class is used to programmatically add a subject to a group
Add subject with subjectId: "test.subject.1" to group with name: "test:test"
GrouperUiBrowserMembershipAdd grouperUiBrowserMembershipAdd = new GrouperUiBrowserMembershipAdd(page). assignGroupToAddToName("test:test").assignSubjectId("test.subject.1").browse();
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionassignGroupToAddTo
(Group group) Pass in a group objectassignGroupToAddToId
(String groupToAddToId) Uuid of the groupassignGroupToAddToName
(String groupToAddToName) Id Path in UIassignSubject
(Subject subject1) Pass in a subject objectassignSubjectId
(String subjectId) Assign subjectId of the subject to be addedassignSubjectIdAndSourceId
(String subjectId, String sourceId) Assign subjectId and sourceId of the subject to be addedassignSubjectIdentifier
(String subjectIdentifier) Assign subjectIdentifier of the subject to be addedassignSubjectIdentifierAndSourceId
(String subjectIdentifier, String sourceId) Assign subjectIdentifier and sourceId of the subject to be addedbrowse()
Method used to programmatically add a membership to a group.Methods inherited from class edu.internet2.middleware.grouper.app.browser.GrouperUiBrowser
getGrouperPage
-
Constructor Details
-
GrouperUiBrowserMembershipAdd
-
-
Method Details
-
assignSubject
Pass in a subject object- Parameters:
subject1
-- Returns:
- this object
-
assignSubjectId
Assign subjectId of the subject to be added- Parameters:
subject1
-- Returns:
- this object
-
assignSubjectIdentifier
Assign subjectIdentifier of the subject to be added- Parameters:
subject1
-- Returns:
- this object
-
assignSubjectIdAndSourceId
Assign subjectId and sourceId of the subject to be added- Parameters:
subject1
-- Returns:
- this object
-
assignSubjectIdentifierAndSourceId
public GrouperUiBrowserMembershipAdd assignSubjectIdentifierAndSourceId(String subjectIdentifier, String sourceId) Assign subjectIdentifier and sourceId of the subject to be added- Parameters:
subject1
-- Returns:
- this object
-
assignGroupToAddToName
Id Path in UI- Parameters:
groupToAddToName
-- Returns:
- this object
-
assignGroupToAddToId
Uuid of the group- Parameters:
groupToAddToName
-- Returns:
- this object
-
assignGroupToAddTo
Pass in a group object- Parameters:
groupToAddToName
-- Returns:
- this object
-
browse
Method used to programmatically add a membership to a group. It types in the subject's combo value and presses enter, then adds the member and verifies a success message and an ajax refresh.- Returns:
-