Uses of Class
com.atlassian.greenhopper.model.validation.ErrorCollection
Packages that use ErrorCollection
Package
Description
-
Uses of ErrorCollection in com.atlassian.greenhopper.global
Methods in com.atlassian.greenhopper.global with parameters of type ErrorCollectionModifier and TypeMethodDescriptionvoidLoggerWrapper.error(ErrorCollection errorCollection) voidLoggerWrapper.warn(ErrorCollection errorCollection) -
Uses of ErrorCollection in com.atlassian.greenhopper.model.validation
Methods in com.atlassian.greenhopper.model.validation that return ErrorCollectionModifier and TypeMethodDescriptionErrorCollection.addAllErrors(ErrorCollection toAdd) ErrorCollection.addAllErrorsWithoutReason(ErrorCollection toAdd) Add all errors from error collection without adding reasons.ErrorCollection.addContextualError(ErrorCollection.Reason reason, String contextId, String messageKey, Object... params) Add a contextual error.ErrorCollection.addContextualError(String contextId, String messageKey, Object... params) Add a contextual error.ErrorCollection.addError(ErrorCollection.Reason reason, String messageKey, Object... params) Add a global error that is not bound to a particular context.Add a global error that is not bound to a particular context.ErrorCollection.addReason(ErrorCollection.Reason reason) Add a reason why the function has not been performed.ErrorCollection.addReasons(Set<ErrorCollection.Reason> reasons) Add reasons why the function has not been performed.static ErrorCollectionErrorCollection.fromJiraErrorCollection(com.atlassian.jira.util.ErrorCollection jiraErrors) static ErrorCollectionErrorCollection.fromJiraErrorCollectionWithReasons(com.atlassian.jira.util.ErrorCollection jiraErrors) ErrorCollection.setReasons(Set<ErrorCollection.Reason> reasons) Set reasons why the function has not been performed.Methods in com.atlassian.greenhopper.model.validation with parameters of type ErrorCollectionModifier and TypeMethodDescriptionErrorCollection.addAllErrors(ErrorCollection toAdd) ErrorCollection.addAllErrorsWithoutReason(ErrorCollection toAdd) Add all errors from error collection without adding reasons.static voidErrorCollections.checkErrors(ErrorCollection errorCollection, I18n2 i18n) Deprecated.com.atlassian.jira.util.ErrorCollectionErrorCollectionTransformer.toJiraErrorCollection(ErrorCollection errorCollection) Transforms GreenHopper'sErrorCollectionto JIRA'sErrorCollection.com.atlassian.jira.util.ErrorCollectionErrorCollectionTransformer.toJiraErrorCollection(ErrorCollection errorCollection, com.atlassian.jira.user.ApplicationUser user) Transforms GreenHopper'sErrorCollectionto JIRA'sErrorCollection.com.atlassian.jira.util.ErrorCollectionErrorCollectionTransformerImpl.toJiraErrorCollection(ErrorCollection errorCollection) com.atlassian.jira.util.ErrorCollectionErrorCollectionTransformerImpl.toJiraErrorCollection(ErrorCollection errorCollection, com.atlassian.jira.user.ApplicationUser user) -
Uses of ErrorCollection in com.atlassian.greenhopper.service
Methods in com.atlassian.greenhopper.service that return ErrorCollectionModifier and TypeMethodDescriptionServiceOutcome.getErrors()ServiceOutcomeImpl.getErrors()ServiceResult.getErrors()ServiceResultImpl.getErrors()Methods in com.atlassian.greenhopper.service that return types with arguments of type ErrorCollectionModifier and TypeMethodDescriptionstatic <T> io.atlassian.fugue.Either<ErrorCollection,T> ServiceOutcomes.toEither(ServiceOutcome<T> outcome) Methods in com.atlassian.greenhopper.service with parameters of type ErrorCollectionModifier and TypeMethodDescriptionstatic <T> ServiceOutcome<T>ServiceOutcomeImpl.from(ErrorCollection errors) Convenience method that returns a new ServiceOutcomeImpl containing the given errors.static ServiceResultServiceResultImpl.from(ErrorCollection errors) Convenience method that returns a new ServiceResult containing the given errors.Method parameters in com.atlassian.greenhopper.service with type arguments of type ErrorCollectionModifier and TypeMethodDescription<B> BServiceOutcome.fold(Function<ErrorCollection, B> onErrorFunction, Function<T, B> onSuccessFunction) If the ServiceOutcome is valid, apply the on success function, otherwise apply the error function.<B> BServiceOutcomeImpl.fold(Function<ErrorCollection, B> onErrorFunction, Function<T, B> onSuccessFunction) -
Uses of ErrorCollection in com.atlassian.greenhopper.service.issue.comment
Methods in com.atlassian.greenhopper.service.issue.comment that return ErrorCollectionConstructors in com.atlassian.greenhopper.service.issue.comment with parameters of type ErrorCollectionModifierConstructorDescriptionResult(Collection<com.atlassian.jira.issue.Issue> updatedIssues, ErrorCollection errorCollection) -
Uses of ErrorCollection in com.atlassian.greenhopper.service.issue.flagging
Methods in com.atlassian.greenhopper.service.issue.flagging that return ErrorCollectionConstructors in com.atlassian.greenhopper.service.issue.flagging with parameters of type ErrorCollectionModifierConstructorDescriptionResult(Collection<com.atlassian.jira.issue.Issue> updatedIssues, ErrorCollection errorCollection) -
Uses of ErrorCollection in com.atlassian.greenhopper.service.lexorank
Methods in com.atlassian.greenhopper.service.lexorank that return ErrorCollectionMethods in com.atlassian.greenhopper.service.lexorank with parameters of type ErrorCollectionModifier and TypeMethodDescriptionstatic <T> LexoRankOperationOutcome<T>LexoRankOperationOutcome.error(ErrorCollection errorCollection) -
Uses of ErrorCollection in com.atlassian.greenhopper.service.rank
Methods in com.atlassian.greenhopper.service.rank that return ErrorCollectionMethods in com.atlassian.greenhopper.service.rank that return types with arguments of type ErrorCollectionMethods in com.atlassian.greenhopper.service.rank with parameters of type ErrorCollectionModifier and TypeMethodDescriptionstatic SortedByRankFieldResultSortedByRankFieldResult.foundWithWarnings(com.atlassian.jira.issue.fields.CustomField customField, ErrorCollection warnings, boolean canBeFixed) -
Uses of ErrorCollection in com.atlassian.greenhopper.service.rapid
Methods in com.atlassian.greenhopper.service.rapid with parameters of type ErrorCollectionModifier and TypeMethodDescriptioncom.atlassian.jira.issue.search.SearchRequestSavedFilterService.updateSavedFilter(com.atlassian.jira.user.ApplicationUser user, ErrorCollection errors, com.atlassian.jira.issue.search.SearchRequest savedFilter) com.atlassian.jira.issue.search.SearchRequestSavedFilterServiceImpl.updateSavedFilter(com.atlassian.jira.user.ApplicationUser user, ErrorCollection errors, com.atlassian.jira.issue.search.SearchRequest savedFilter) -
Uses of ErrorCollection in com.atlassian.greenhopper.service.rapid.view
Methods in com.atlassian.greenhopper.service.rapid.view with parameters of type ErrorCollectionModifier and TypeMethodDescriptionvoidQuickFilterService.delete(com.atlassian.jira.user.ApplicationUser user, RapidView rapidView, long quickFilterId, ErrorCollection errors) Delete a single quick filtervoidQuickFilterServiceImpl.delete(com.atlassian.jira.user.ApplicationUser user, RapidView rapidView, long quickFilterId, ErrorCollection errors) Delete a single quick filtervoidSwimlaneService.delete(com.atlassian.jira.user.ApplicationUser user, RapidView rapidView, long swimlaneId, ErrorCollection errors) Delete a single swimlanevoidSwimlaneServiceImpl.delete(com.atlassian.jira.user.ApplicationUser user, RapidView rapidView, long swimlaneId, ErrorCollection errors) Delete a single swimlaneQuickFilterService.get(com.atlassian.jira.user.ApplicationUser user, RapidView rapidView, long quickFilterId, ErrorCollection errors) gets the quick filter with id quickFilterId for rapid view with rapidViewIdQuickFilterServiceImpl.get(com.atlassian.jira.user.ApplicationUser user, RapidView rapidView, long quickFilterId, ErrorCollection errors) SwimlaneService.get(com.atlassian.jira.user.ApplicationUser user, RapidView rapidView, long swimlaneId, ErrorCollection errors) Get a swimlane given its idSwimlaneServiceImpl.get(com.atlassian.jira.user.ApplicationUser user, RapidView rapidView, long swimlaneId, ErrorCollection errors) QuickFilterService.update(com.atlassian.jira.user.ApplicationUser user, RapidView rapidView, QuickFilter quickFilter, ErrorCollection errors) Updates a single quick filter for the given rapidviewQuickFilterServiceImpl.update(com.atlassian.jira.user.ApplicationUser user, RapidView rapidView, QuickFilter quickFilter, ErrorCollection errors) SwimlaneService.update(com.atlassian.jira.user.ApplicationUser user, RapidView rapidView, Swimlane swimlane, ErrorCollection errors) Updates a single swimlane for a given rapidViewSwimlaneServiceImpl.update(com.atlassian.jira.user.ApplicationUser user, RapidView rapidView, Swimlane swimlane, ErrorCollection errors) Updates a single swimlane for a given rapidViewQuickFilterDao.updateQuickFilter(QuickFilter quickFilter, ErrorCollection errors) StatisticsFieldService.updateStatisticsField(com.atlassian.jira.user.ApplicationUser user, ErrorCollection errors, RapidView rapidView, StatisticsFieldConfig statisticsField) StatisticsFieldServiceImpl.updateStatisticsField(com.atlassian.jira.user.ApplicationUser user, ErrorCollection errors, RapidView rapidView, StatisticsFieldConfig statisticsField) Update the statistics fieldSwimlaneDao.updateSwimlane(Swimlane swimlane, ErrorCollection errors) voidColumnService.validateColumns(RapidView rapidView, List<Column> columns, ErrorCollection errors) voidColumnService.validateColumns(List<Column> columns, ErrorCollection errors) Deprecated.voidColumnServiceImpl.validateColumns(RapidView rapidView, List<Column> columns, ErrorCollection errors) voidColumnServiceImpl.validateColumns(List<Column> columns, ErrorCollection errors) -
Uses of ErrorCollection in com.atlassian.greenhopper.service.util
Methods in com.atlassian.greenhopper.service.util that return ErrorCollectionMethods in com.atlassian.greenhopper.service.util with parameters of type ErrorCollectionModifier and TypeMethodDescriptionstatic voidServiceOutcomeHelper.validate(ErrorCollection errors) If the given ErrorCollection contains errors, a ServiceOutcomeException is thrown that contains all those errors.Constructors in com.atlassian.greenhopper.service.util with parameters of type ErrorCollection -
Uses of ErrorCollection in com.atlassian.greenhopper.web
Methods in com.atlassian.greenhopper.web with parameters of type ErrorCollectionModifier and TypeMethodDescriptionprotected voidGreenHopperWebActionSupport.attachErrors(ErrorCollection errors) Attaches all errors in the error collection to the current action. -
Uses of ErrorCollection in com.atlassian.greenhopper.web.rapid.issue
Methods in com.atlassian.greenhopper.web.rapid.issue with parameters of type ErrorCollectionModifier and TypeMethodDescriptioncom.atlassian.jira.issue.MutableIssueIssueEntryFactory.getIssue(com.atlassian.jira.user.ApplicationUser user, Long issueId, ErrorCollection errorCollection) com.atlassian.jira.issue.MutableIssueIssueEntryFactory.getIssue(com.atlassian.jira.user.ApplicationUser user, String issueKey, ErrorCollection errorCollection) -
Uses of ErrorCollection in com.atlassian.greenhopper.web.rapid.view
Methods in com.atlassian.greenhopper.web.rapid.view with parameters of type ErrorCollectionModifier and TypeMethodDescriptioncom.atlassian.query.QueryJqlHelper.createQuery(com.atlassian.jira.user.ApplicationUser user, String jqlQuery, String errorContext, ErrorCollection errors) Translates the query string into a query object Note: This is an adaption of IssueNavigator.getNewSearchQueryvoidJqlHelper.validateJql(com.atlassian.jira.user.ApplicationUser user, com.atlassian.query.Query query, String errorContext, ErrorCollection errors) Ensure the jql is properly parsable and not invalid Note: this is an adapted copy of IssueNavigator.validateQueryvoidJqlHelper.validateJql(com.atlassian.jira.user.ApplicationUser user, String queryString, String errorContext, ErrorCollection errors) Validates a jql query string. -
Uses of ErrorCollection in com.atlassian.greenhopper.web.util
Methods in com.atlassian.greenhopper.web.util with parameters of type ErrorCollectionModifier and TypeMethodDescriptionvoidWebUtilities.validateStringSpecialCharacters(String str, ErrorCollection errorCollection) TODO Should not be in here.
AbstractResource.check(ServiceOutcome).