|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.internet2.middleware.grouper.attr.AttributeDefSave
public class AttributeDefSave
Use this class to insert or update an attribute definition
Constructor Summary | |
---|---|
AttributeDefSave(GrouperSession theGrouperSession)
create a new attribute def save |
Method Summary | |
---|---|
AttributeDefSave |
assignAttributeDefNameToEdit(java.lang.String theAttributeDefNameToEdit)
attributeDef name to edit |
AttributeDefSave |
assignAttributeDefPublic(boolean theBoolean)
if assign |
AttributeDefSave |
assignAttributeDefType(AttributeDefType theAttributeDefType)
if assign |
AttributeDefSave |
assignCreateParentStemsIfNotExist(boolean theCreateParentStemsIfNotExist)
assign create parents if not exist |
AttributeDefSave |
assignDescription(java.lang.String theDescription)
assign description |
AttributeDefSave |
assignId(java.lang.String theId)
uuid |
AttributeDefSave |
assignIdIndex(java.lang.Long theIdIndex)
assign id_index |
AttributeDefSave |
assignMultiAssignable(boolean theBoolean)
if assign |
AttributeDefSave |
assignMultiValued(boolean theBoolean)
if assign |
AttributeDefSave |
assignName(java.lang.String name1)
name |
AttributeDefSave |
assignPrivAllAdmin(boolean thePrivAllAdmin)
assign priv admin to be different than the defaults for grouperAll |
AttributeDefSave |
assignPrivAllAttrRead(boolean thePrivAllAttrRead)
assign priv attr read to be different than the defaults for grouperAll |
AttributeDefSave |
assignPrivAllAttrUpdate(boolean thePrivAllAttrUpdate)
assign priv attr update to be different than the defaults for grouperAll |
AttributeDefSave |
assignPrivAllOptin(boolean thePrivAllOptin)
assign priv optin to be different than the defaults for grouperAll |
AttributeDefSave |
assignPrivAllOptout(boolean thePrivAllOptout)
assign priv optout to be different than the defaults for grouperAll |
AttributeDefSave |
assignPrivAllRead(boolean thePrivAllRead)
assign priv read to be different than the defaults for grouperAll |
AttributeDefSave |
assignPrivAllUpdate(boolean thePrivAllUpdate)
assign priv update to be different than the defaults for grouperAll |
AttributeDefSave |
assignPrivAllView(boolean thePrivAllView)
assign priv view to be different than the defaults for grouperAll |
AttributeDefSave |
assignSaveMode(SaveMode theSaveMode)
assign save mode |
AttributeDefSave |
assignToAttributeDef(boolean theBoolean)
if assign |
AttributeDefSave |
assignToAttributeDefAssn(boolean theBoolean)
if assign |
AttributeDefSave |
assignToEffMembership(boolean theBoolean)
if assign |
AttributeDefSave |
assignToEffMembershipAssn(boolean theBoolean)
if assign |
AttributeDefSave |
assignToGroup(boolean theBoolean)
if assign |
AttributeDefSave |
assignToGroupAssn(boolean theBoolean)
if assign |
AttributeDefSave |
assignToImmMembership(boolean theBoolean)
if assign |
AttributeDefSave |
assignToImmMembershipAssn(boolean theBoolean)
if assign |
AttributeDefSave |
assignToMember(boolean theBoolean)
if assign |
AttributeDefSave |
assignToMemberAssn(boolean theBoolean)
if assign |
AttributeDefSave |
assignToStem(boolean theBoolean)
if assign |
AttributeDefSave |
assignToStemAssn(boolean theBoolean)
if assign |
AttributeDefSave |
assignValueType(AttributeDefValueType attributeDefValueType)
if assign |
SaveResultType |
getSaveResultType()
get the save type |
AttributeDef |
save()
create or update an attribute def. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AttributeDefSave(GrouperSession theGrouperSession)
theGrouperSession
- Method Detail |
---|
public AttributeDefSave assignIdIndex(java.lang.Long theIdIndex)
theIdIndex
-
public AttributeDefSave assignAttributeDefNameToEdit(java.lang.String theAttributeDefNameToEdit)
theAttributeDefNameToEdit
-
public AttributeDefSave assignId(java.lang.String theId)
theUuid
-
public AttributeDefSave assignName(java.lang.String name1)
name1
-
public AttributeDefSave assignDescription(java.lang.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
public AttributeDefSave assignPrivAllAdmin(boolean thePrivAllAdmin)
thePrivAllAdmin
-
public AttributeDefSave assignPrivAllAttrRead(boolean thePrivAllAttrRead)
thePrivAllAttrRead
-
public AttributeDefSave assignPrivAllAttrUpdate(boolean thePrivAllAttrUpdate)
thePrivAllAttrUpdate
-
public AttributeDefSave assignPrivAllOptin(boolean thePrivAllOptin)
thePrivAllOptin
-
public AttributeDefSave assignPrivAllOptout(boolean thePrivAllOptout)
thePrivAllOptout
-
public AttributeDefSave assignPrivAllRead(boolean thePrivAllRead)
thePrivAllRead
-
public AttributeDefSave assignPrivAllUpdate(boolean thePrivAllUpdate)
thePrivAllUpdate
-
public AttributeDefSave assignPrivAllView(boolean thePrivAllView)
thePrivAllView
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |