Class WsAttributeDefToSave
java.lang.Object
edu.internet2.middleware.grouper.ws.coresoap.WsAttributeDefToSave
Class to save an attribute def via web service
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionif should create parent stems if not existif the save should be constrained to INSERT, UPDATE, or INSERT_OR_UPDATE (default)save
(GrouperSession grouperSession) save this attributeDefget the save typevoid
setCreateParentStemsIfNotExist
(String createParentStemsIfNotExist1) if should create parent stems if not existvoid
setSaveMode
(String saveMode1) if the save should be constrained to INSERT, UPDATE, or INSERT_OR_UPDATE (default)void
setWsAttributeDef
(WsAttributeDef wsAttributeDef1) void
setWsAttributeDefLookup
(WsAttributeDefLookup wsAttributeDefLookup1) toString()
make sure this is an explicit toStringvoid
validate()
validate the settings (e.g.
-
Constructor Details
-
WsAttributeDefToSave
public WsAttributeDefToSave()
-
-
Method Details
-
getCreateParentStemsIfNotExist
if should create parent stems if not exist- Returns:
- T or F or null (F)
-
setCreateParentStemsIfNotExist
if should create parent stems if not exist- Parameters:
createParentStemsIfNotExist1
- T or F or null (F)
-
saveResultType
get the save type- Returns:
- save type
-
toString
make sure this is an explicit toString -
validate
public void validate()validate the settings (e.g. that booleans are set correctly) -
save
save this attributeDef- Parameters:
grouperSession
- to save- Returns:
- the attributeDef that was inserted or updated
- Throws:
StemNotFoundException
InsufficientPrivilegeException
-
getSaveMode
if the save should be constrained to INSERT, UPDATE, or INSERT_OR_UPDATE (default)- Returns:
- the saveMode
-
setSaveMode
if the save should be constrained to INSERT, UPDATE, or INSERT_OR_UPDATE (default)- Parameters:
saveMode1
- the saveMode to set
-
getWsAttributeDefLookup
- Returns:
- the wsAttributeDefLookup
-
setWsAttributeDefLookup
- Parameters:
wsAttributeDefLookup1
- the wsAttributeDefLookup to set
-
getWsAttributeDef
- Returns:
- the wsAttributeDef
-
setWsAttributeDef
- Parameters:
wsAttributeDef1
- the wsAttributeDef to set
-