public static class UpdateUserApplicationHelper.ApplicationUpdateResult extends Object implements ServiceResult
Constructor and Description |
---|
ApplicationUpdateResult(ApplicationUser applicationUser) |
ApplicationUpdateResult(ApplicationUser applicationUser,
ErrorCollection errorCollection) |
ApplicationUpdateResult(ApplicationUser applicationUser,
ErrorCollection errorCollection,
WarningCollection warningCollection) |
Modifier and Type | Method and Description |
---|---|
com.atlassian.fugue.Option<ApplicationUser> |
getApplicationUser() |
ErrorCollection |
getErrorCollection() |
WarningCollection |
getWarningCollection() |
boolean |
isValid() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
hasWarnings
public ApplicationUpdateResult(ApplicationUser applicationUser, ErrorCollection errorCollection, WarningCollection warningCollection)
public ApplicationUpdateResult(ApplicationUser applicationUser, ErrorCollection errorCollection)
public ApplicationUpdateResult(ApplicationUser applicationUser)
public boolean isValid()
isValid
in interface ServiceResult
public ErrorCollection getErrorCollection()
getErrorCollection
in interface ServiceResult
ErrorCollection
that contains any errors that may have happened as a result of the validations.public WarningCollection getWarningCollection()
getWarningCollection
in interface ServiceResult
WarningCollection
that contains all warnings that may have happened as a result of the validation.public com.atlassian.fugue.Option<ApplicationUser> getApplicationUser()
Copyright © 2002-2015 Atlassian. All Rights Reserved.