Class WsGroupDeleteResult
java.lang.Object
edu.internet2.middleware.grouper.ws.coresoap.WsGroupDeleteResult
- All Implemented Interfaces:
ResultMetadataHolder
Result of one group being deleted. The number of
these result objects will equal the number of groups sent in to the method
to be deleted
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
result code of a request -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
assignGroup
(Group group, WsGroupLookup wsGroupLookup, boolean includeDetail) create a result based on groupvoid
assignResultCode
(WsGroupDeleteResult.WsGroupDeleteResultCode groupDeleteResultCode) assign the code from the enumvoid
assignResultCodeException
(Exception e, WsGroupLookup wsGroupLookup) assign a resultcode of exception, and process/log the exceptionget the result metadataconvert string to result codevoid
setResultMetadata
(WsResultMeta resultMetadata1) void
setWsGroup
(WsGroup wsGroupResult1)
-
Constructor Details
-
WsGroupDeleteResult
public WsGroupDeleteResult()empty constructor -
WsGroupDeleteResult
- Parameters:
wsGroupLookup
- is the group lookup to assign
-
-
Method Details
-
assignGroup
create a result based on group- Parameters:
group
-wsGroupLookup
-includeDetail
-
-
assignResultCode
assign the code from the enum- Parameters:
groupDeleteResultCode
-
-
getWsGroup
- Returns:
- the wsGroup
-
setWsGroup
- Parameters:
wsGroupResult1
- the wsGroup to set
-
assignResultCodeException
assign a resultcode of exception, and process/log the exception- Parameters:
e
-wsGroupLookup
-
-
getResultMetadata
Description copied from interface:ResultMetadataHolder
get the result metadata- Specified by:
getResultMetadata
in interfaceResultMetadataHolder
- Returns:
- the resultMetadata
-
setResultMetadata
- Parameters:
resultMetadata1
- the resultMetadata to set
-
resultCode
convert string to result code- Returns:
- the result code
-