Class GrouperWsVersionUtils
java.lang.Object
edu.internet2.middleware.grouper.ws.util.GrouperWsVersionUtils
WS grouper version utils
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddMemberSuccessResultCode
(boolean didntAlreadyExist, WsSubjectLookup.SubjectFindResult subjectFindResult, boolean canRead) result code changed in 1.4 to include a response for if the membership already existedstatic void
assignCurrentClientVersion
(GrouperVersion clientVersion, StringBuilder warnings) put the current client versionstatic void
put the current client versionstatic void
removeCurrentClientVersion
(boolean soapOnly) put the current client versionstatic GrouperVersion
return current client version or null
-
Field Details
-
currentClientVersion
current client version
-
-
Constructor Details
-
GrouperWsVersionUtils
public GrouperWsVersionUtils()
-
-
Method Details
-
addMemberSuccessResultCode
public static WsAddMemberResult.WsAddMemberResultCode addMemberSuccessResultCode(boolean didntAlreadyExist, WsSubjectLookup.SubjectFindResult subjectFindResult, boolean canRead) result code changed in 1.4 to include a response for if the membership already existed- Parameters:
didntAlreadyExist
-subjectFindResult
-canRead
- if the user can read the members or not- Returns:
- the code success or if it already existed
-
assignCurrentClientVersion
put the current client version- Parameters:
clientVersion
-warnings
-
-
removeCurrentClientVersion
public static void removeCurrentClientVersion()put the current client version -
removeCurrentClientVersion
public static void removeCurrentClientVersion(boolean soapOnly) put the current client version- Parameters:
soapOnly
- true if only doing this for rest
-
retrieveCurrentClientVersion
return current client version or null- Returns:
- the current client version or null
-