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
Nested ClassesModifier and TypeClassDescriptionstatic enumresult code of a request -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidassignResultCode(WsAssignGrouperPrivilegesResult.WsAssignGrouperPrivilegesResultCode wsAssignGrouperPrivilegesResultCode) assign the code from the enumvoidassignResultCodeException(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 tovoidprocessSubject(WsSubjectLookup wsSubjectLookup1, String[] theSubjectAttributeNames) assign the code from the enumconvert string to result codevoidsetAllowed(String allowed1) whether this privilege is allowed T/FvoidvoidsetPrivilegeName(String privilegeName1) privilege type, e.g.voidsetPrivilegeType(String privilegeType1) privilege type, e.g.voidsetResultMetadata(WsResultMeta resultMetadata1) voidsetWsSubject(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:ResultMetadataHolderget the result metadata- Specified by:
getResultMetadatain 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
-