Package edu.internet2.middleware.grouper
Class PrivilegeGroupSave
java.lang.Object
edu.internet2.middleware.grouper.PrivilegeGroupSave
Use this class to insert or update a group privilege
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionassignField
(Field theField) field of privilegeassignFieldId
(String theFieldId) field of privilegeassignFieldName
(String theFieldName) field of privilege (could be privilege name too)assignGroup
(Group theGroup) assign a groupassignGroupId
(String theGroupId) group id to add to, mutually exclusive with group nameassignGroupName
(String theGroupName) group name to add to, mutually exclusive with group idassignImmediateMembershipId
(String theImmediateMembershipId) uuid of this membership for inserts (optional)assignMember
(Member theMember) member to addassignMemberId
(String theMemberId) member id to addassignSaveMode
(SaveMode theSaveMode) asssign save modeassignSubject
(Subject theSubject) subject to addassignSubjectId
(String theSubjectId) subject id to add, mutually exclusive and preferable to subject identifierassignSubjectIdentifier
(String theSubjectIdentifier) subject identifier to add, mutually exclusive and not preferable to subject idassignSubjectSourceId
(String theSubjectSourceId) subject source id to addget the save typesave()
create or update or delete a composite
-
Constructor Details
-
PrivilegeGroupSave
public PrivilegeGroupSave()create a new privilege save- Parameters:
theGrouperSession
-
-
-
Method Details
-
assignGroupId
group id to add to, mutually exclusive with group name- Parameters:
theGroupId
-- Returns:
- this for chaining
-
assignGroup
assign a group- Parameters:
theGroup
-- Returns:
- this for chaining
-
assignSubject
subject to add- Parameters:
theSubject
-- Returns:
- this for chaining
-
assignMember
member to add- Parameters:
member
-- Returns:
- this for chaining
-
assignGroupName
group name to add to, mutually exclusive with group id- Parameters:
theGroupName
-- Returns:
- this for chaining
-
assignMemberId
member id to add- Parameters:
theMemberId
-- Returns:
- this for chaining
-
assignSubjectId
subject id to add, mutually exclusive and preferable to subject identifier- Parameters:
theSubjectId
-- Returns:
- this for chaining
-
assignSubjectSourceId
subject source id to add- Parameters:
theSubjectSourceId
-- Returns:
- this for chaining
-
assignSubjectIdentifier
subject identifier to add, mutually exclusive and not preferable to subject id- Parameters:
thesubjectIdentifier
-- Returns:
- this for chaining
-
assignImmediateMembershipId
uuid of this membership for inserts (optional)- Parameters:
theImmediateMembershipId
-- Returns:
- this for chaining
-
assignSaveMode
asssign save mode- Parameters:
theSaveMode
-- Returns:
- this for chaining
-
getSaveResultType
get the save type- Returns:
- save type
-
assignFieldId
field of privilege- Parameters:
theFieldId
-- Returns:
- this for chaining
-
assignFieldName
field of privilege (could be privilege name too)- Parameters:
theFieldName
-- Returns:
- this for chaining
-
assignField
field of privilege- Parameters:
theFieldId
-- Returns:
- this for chaining
-
save
create or update or delete a composite
- Returns:
- the composite that was updated or created or deleted
- Throws:
InsufficientPrivilegeException
GroupNotFoundException
-