public class PrivilegeGroupSave extends Object
Constructor and Description |
---|
PrivilegeGroupSave()
create a new privilege save
|
Modifier and Type | Method and Description |
---|---|
PrivilegeGroupSave |
assignField(Field theField)
field of privilege
|
PrivilegeGroupSave |
assignFieldId(String theFieldId)
field of privilege
|
PrivilegeGroupSave |
assignFieldName(String theFieldName)
field of privilege (could be privilege name too)
|
PrivilegeGroupSave |
assignGroup(Group theGroup)
assign a group
|
PrivilegeGroupSave |
assignGroupId(String theGroupId)
group id to add to, mutually exclusive with group name
|
PrivilegeGroupSave |
assignGroupName(String theGroupName)
group name to add to, mutually exclusive with group id
|
PrivilegeGroupSave |
assignImmediateMembershipId(String theImmediateMembershipId)
uuid of this membership for inserts (optional)
|
PrivilegeGroupSave |
assignMember(Member theMember)
member to add
|
PrivilegeGroupSave |
assignMemberId(String theMemberId)
member id to add
|
PrivilegeGroupSave |
assignSaveMode(SaveMode theSaveMode)
asssign save mode
|
PrivilegeGroupSave |
assignSubject(Subject theSubject)
subject to add
|
PrivilegeGroupSave |
assignSubjectId(String theSubjectId)
subject id to add, mutually exclusive and preferable to subject identifier
|
PrivilegeGroupSave |
assignSubjectIdentifier(String theSubjectIdentifier)
subject identifier to add, mutually exclusive and not preferable to subject id
|
PrivilegeGroupSave |
assignSubjectSourceId(String theSubjectSourceId)
subject source id to add
|
SaveResultType |
getSaveResultType()
get the save type
|
Membership |
save()
create or update or delete a composite
|
public PrivilegeGroupSave()
theGrouperSession
- public PrivilegeGroupSave assignGroupId(String theGroupId)
theGroupId
- public PrivilegeGroupSave assignGroup(Group theGroup)
theGroup
- public PrivilegeGroupSave assignSubject(Subject theSubject)
theSubject
- public PrivilegeGroupSave assignMember(Member theMember)
member
- public PrivilegeGroupSave assignGroupName(String theGroupName)
theGroupName
- public PrivilegeGroupSave assignMemberId(String theMemberId)
theMemberId
- public PrivilegeGroupSave assignSubjectId(String theSubjectId)
theSubjectId
- public PrivilegeGroupSave assignSubjectSourceId(String theSubjectSourceId)
theSubjectSourceId
- public PrivilegeGroupSave assignSubjectIdentifier(String theSubjectIdentifier)
thesubjectIdentifier
- public PrivilegeGroupSave assignImmediateMembershipId(String theImmediateMembershipId)
theImmediateMembershipId
- public PrivilegeGroupSave assignSaveMode(SaveMode theSaveMode)
theSaveMode
- public SaveResultType getSaveResultType()
public PrivilegeGroupSave assignFieldId(String theFieldId)
theFieldId
- public PrivilegeGroupSave assignFieldName(String theFieldName)
theFieldName
- public PrivilegeGroupSave assignField(Field theField)
theFieldId
- public Membership save() throws InsufficientPrivilegeException, GroupNotFoundException
create or update or delete a composite
InsufficientPrivilegeException
GroupNotFoundException
Copyright © 2016 Internet2. All rights reserved.