public class AttributeDefSave extends Object
Constructor and Description |
---|
AttributeDefSave(GrouperSession theGrouperSession)
create a new attribute def save
|
public AttributeDefSave(GrouperSession theGrouperSession)
theGrouperSession
- public AttributeDefSave assignIdIndex(Long theIdIndex)
theIdIndex
- public AttributeDefSave assignAttributeDefNameToEdit(String theAttributeDefNameToEdit)
theAttributeDefNameToEdit
- public AttributeDefSave assignId(String theId)
theUuid
- public AttributeDefSave assignName(String name1)
name1
- public AttributeDefSave assignDescription(String theDescription)
theDescription
- public AttributeDefSave assignSaveMode(SaveMode theSaveMode)
theSaveMode
- public AttributeDefSave assignCreateParentStemsIfNotExist(boolean theCreateParentStemsIfNotExist)
theCreateParentStemsIfNotExist
- public AttributeDefSave assignToAttributeDef(boolean theBoolean)
theBoolean
- public AttributeDefSave assignToAttributeDefAssn(boolean theBoolean)
theBoolean
- public AttributeDefSave assignToEffMembership(boolean theBoolean)
theBoolean
- public AttributeDefSave assignToEffMembershipAssn(boolean theBoolean)
theBoolean
- public AttributeDefSave assignToGroup(boolean theBoolean)
theBoolean
- public AttributeDefSave assignToGroupAssn(boolean theBoolean)
theBoolean
- public AttributeDefSave assignToImmMembership(boolean theBoolean)
theBoolean
- public AttributeDefSave assignToImmMembershipAssn(boolean theBoolean)
theBoolean
- public AttributeDefSave assignToMember(boolean theBoolean)
theBoolean
- public AttributeDefSave assignToMemberAssn(boolean theBoolean)
theBoolean
- public AttributeDefSave assignToStem(boolean theBoolean)
theBoolean
- public AttributeDefSave assignToStemAssn(boolean theBoolean)
theBoolean
- public AttributeDefSave assignAttributeDefPublic(boolean theBoolean)
theBoolean
- public AttributeDefSave assignAttributeDefType(AttributeDefType theAttributeDefType)
theBoolean
- public AttributeDefSave assignMultiAssignable(boolean theBoolean)
theBoolean
- public AttributeDefSave assignMultiValued(boolean theBoolean)
theBoolean
- public AttributeDefSave assignValueType(AttributeDefValueType attributeDefValueType)
theBoolean
- public SaveResultType getSaveResultType()
public AttributeDef save() throws StemNotFoundException, InsufficientPrivilegeException, StemAddException
create or update an attribute def. Note this will not rename an attribute def at this time (might in future) Steps: 1. Find the attributeDef by attributeDefNameToEdit 2. Internally set all the fields of the attributeDef (no need to reset if already the same) 3. Store the attributeDef (insert or update) if needed 4. Return the attributeDef object This runs in a tx so that if part of it fails the whole thing fails, and potentially the outer transaction too
StemNotFoundException
InsufficientPrivilegeException
StemAddException
Copyright © 2016 Internet2. All rights reserved.