com.atlassian.jira.bc
Interface ServiceResult

All Known Implementing Classes:
IssueService.CreateValidationResult, IssueService.DeleteValidationResult, IssueService.IssueResult, IssueService.IssueValidationResult, IssueService.TransitionValidationResult, IssueService.UpdateValidationResult, ProjectService.AbstractProjectResult, ProjectService.AbstractProjectValidationResult, ProjectService.CreateProjectResult, ProjectService.CreateProjectValidationResult, ProjectService.DeleteProjectResult, ProjectService.DeleteProjectValidationResult, ProjectService.GetProjectResult, ProjectService.UpdateProjectSchemesValidationResult, ProjectService.UpdateProjectValidationResult, ServiceResultImpl, UserService.CreateUserValidationResult, UserService.DeleteUserValidationResult, VersionService.AbstractVersionResult, VersionService.ArchiveVersionValidationResult, VersionService.CreateVersionValidationResult, VersionService.ReleaseVersionValidationResult, VersionService.VersionResult, VersionService.VersionsResult, VoteService.VoteValidationResult

public interface ServiceResult

This interface defines a service method call result in JIRA that can contain human readable errors.

Since:
v4.0

Method Summary
 ErrorCollection getErrorCollection()
           
 boolean isValid()
           
 

Method Detail

isValid

boolean isValid()
Returns:
true if there are no errors, false otherwise.

getErrorCollection

ErrorCollection getErrorCollection()
Returns:
an ErrorCollection that contains any errors that may have happened as a result of the validations.


Copyright © 2002-2010 Atlassian. All Rights Reserved.