Class WsAssignGrouperPrivilegesResult
java.lang.Object
edu.internet2.middleware.grouper.ws.coresoap.WsAssignGrouperPrivilegesResult
- All Implemented Interfaces:
ResultMetadataHolder
Result of assigning or removing a privilege
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
result code of a request -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
assignResultCode
(WsAssignGrouperPrivilegesResult.WsAssignGrouperPrivilegesResultCode wsAssignGrouperPrivilegesResultCode) assign the code from the enumvoid
assignResultCodeException
(WsAssignGrouperPrivilegesResult.WsAssignGrouperPrivilegesResultCode wsMemberChangeSubjectLiteResultCodeOverride, String theError, Exception e) prcess an exception, log, etcwhether this privilege is allowed T/FWsParam[]
privilege type, e.g.privilege type, e.g.get the result metadatasubject that was changed tovoid
processSubject
(WsSubjectLookup wsSubjectLookup1, String[] theSubjectAttributeNames) assign the code from the enumconvert string to result codevoid
setAllowed
(String allowed1) whether this privilege is allowed T/Fvoid
void
setPrivilegeName
(String privilegeName1) privilege type, e.g.void
setPrivilegeType
(String privilegeType1) privilege type, e.g.void
setResultMetadata
(WsResultMeta resultMetadata1) void
setWsSubject
(WsSubject wsSubject1) subject that was changed totoString()
make sure this is an explicit toString
-
Constructor Details
-
WsAssignGrouperPrivilegesResult
public WsAssignGrouperPrivilegesResult()empty
-
-
Method Details
-
toString
make sure this is an explicit toString -
processSubject
assign the code from the enum- Parameters:
wsSubjectLookup1
-theSubjectAttributeNames
-
-
assignResultCodeException
public void assignResultCodeException(WsAssignGrouperPrivilegesResult.WsAssignGrouperPrivilegesResultCode wsMemberChangeSubjectLiteResultCodeOverride, String theError, Exception e) prcess an exception, log, etc- Parameters:
wsMemberChangeSubjectLiteResultCodeOverride
-theError
-e
-
-
assignResultCode
public void assignResultCode(WsAssignGrouperPrivilegesResult.WsAssignGrouperPrivilegesResultCode wsAssignGrouperPrivilegesResultCode) assign the code from the enum- Parameters:
wsAssignGrouperPrivilegesResultCode
-
-
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
-
getParams
- Returns:
- the params
-
setParams
- Parameters:
params1
- the params to set
-
getAllowed
whether this privilege is allowed T/F- Returns:
- if allowed
-
getPrivilegeName
privilege type, e.g. naming, or access- Returns:
- the name
-
getPrivilegeType
privilege type, e.g. naming, or access- Returns:
- the type
-
getWsSubject
subject that was changed to- Returns:
- the subjectId
-
setAllowed
whether this privilege is allowed T/F- Parameters:
allowed1
-
-
setPrivilegeName
privilege type, e.g. naming, or access- Parameters:
privilegeName1
-
-
setPrivilegeType
privilege type, e.g. naming, or access- Parameters:
privilegeType1
-
-
setWsSubject
subject that was changed to- Parameters:
wsSubject1
- the wsSubject1 to set
-
resultCode
convert string to result code- Returns:
- the result code
-