public class PrivilegeStemSave extends Object
Constructor and Description |
---|
PrivilegeStemSave()
create a new privilege save
|
Modifier and Type | Method and Description |
---|---|
PrivilegeStemSave |
assignField(Field theField)
field of privilege
|
PrivilegeStemSave |
assignFieldId(String theFieldId)
field of privilege
|
PrivilegeStemSave |
assignFieldName(String theFieldName)
field of privilege (could be privilege name too)
|
PrivilegeStemSave |
assignImmediateMembershipId(String theImmediateMembershipId)
uuid of this membership for inserts (optional)
|
PrivilegeStemSave |
assignMember(Member theMember)
member to add
|
PrivilegeStemSave |
assignMemberId(String theMemberId)
member id to add
|
PrivilegeStemSave |
assignSaveMode(SaveMode theSaveMode)
asssign save mode
|
PrivilegeStemSave |
assignStem(Stem theStem)
assign a stem
|
PrivilegeStemSave |
assignStemId(String theStemId)
stem id to add to, mutually exclusive with stem name
|
PrivilegeStemSave |
assignStemName(String theStemName)
stem name to add to, mutually exclusive with stem id
|
PrivilegeStemSave |
assignSubject(Subject theSubject)
subject to add
|
PrivilegeStemSave |
assignSubjectId(String theSubjectId)
subject id to add, mutually exclusive and preferable to subject identifier
|
PrivilegeStemSave |
assignSubjectIdentifier(String theSubjectIdentifier)
subject identifier to add, mutually exclusive and not preferable to subject id
|
PrivilegeStemSave |
assignSubjectSourceId(String theSubjectSourceId)
subject source id to add
|
SaveResultType |
getSaveResultType()
get the save type
|
Membership |
save()
create or update or delete a composite
|
public PrivilegeStemSave()
theGrouperSession
- public PrivilegeStemSave assignStemId(String theStemId)
theStemId
- public PrivilegeStemSave assignStem(Stem theStem)
theStem
- public PrivilegeStemSave assignSubject(Subject theSubject)
theSubject
- public PrivilegeStemSave assignMember(Member theMember)
member
- public PrivilegeStemSave assignStemName(String theStemName)
theStemName
- public PrivilegeStemSave assignMemberId(String theMemberId)
theMemberId
- public PrivilegeStemSave assignSubjectId(String theSubjectId)
theSubjectId
- public PrivilegeStemSave assignSubjectSourceId(String theSubjectSourceId)
theSubjectSourceId
- public PrivilegeStemSave assignSubjectIdentifier(String theSubjectIdentifier)
thesubjectIdentifier
- public PrivilegeStemSave assignImmediateMembershipId(String theImmediateMembershipId)
theImmediateMembershipId
- public PrivilegeStemSave assignSaveMode(SaveMode theSaveMode)
theSaveMode
- public SaveResultType getSaveResultType()
public PrivilegeStemSave assignFieldId(String theFieldId)
theFieldId
- public PrivilegeStemSave assignFieldName(String theFieldName)
theFieldName
- public PrivilegeStemSave 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.