|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Uses of ErrorCollection in com.atlassian.greenhopper.global |
|---|
| Methods in com.atlassian.greenhopper.global with parameters of type ErrorCollection | ||
|---|---|---|
protected
|
AbstractResultBuilder.buildCombinedResult(com.atlassian.crowd.embedded.api.User user,
ErrorCollection errors,
T successPayload)
Build a Result with both error and success object. |
|
protected
|
AbstractResultBuilder.buildErrorOnlyResult(com.atlassian.crowd.embedded.api.User user,
ErrorCollection errors)
|
|
protected
|
AbstractResultBuilder.buildResult(com.atlassian.crowd.embedded.api.User user,
ErrorCollection errors,
AbstractResultBuilder.SuccessBuilder<T> successBuilder)
Build a Result with a complex (expensive to create) success object. |
|
protected
|
AbstractResultBuilder.buildResult(com.atlassian.crowd.embedded.api.User user,
ErrorCollection errors,
T successPayload)
Build a Result with a simple success object. |
|
| Uses of ErrorCollection in com.atlassian.greenhopper.model.validation |
|---|
| Methods in com.atlassian.greenhopper.model.validation that return ErrorCollection | |
|---|---|
ErrorCollection |
ErrorCollection.addAllErrors(ErrorCollection toAdd)
|
ErrorCollection |
ErrorCollection.addAllJiraErrors(com.atlassian.jira.util.ErrorCollection toAdd)
|
ErrorCollection |
ErrorCollection.addContextualError(ErrorCollection.Reason reason,
java.lang.String contextId,
java.lang.String messageKey,
java.lang.Object... params)
Add a contextual error. |
ErrorCollection |
ErrorCollection.addContextualError(java.lang.String contextId,
java.lang.String messageKey,
java.lang.Object... params)
Add a contextual error. |
ErrorCollection |
ErrorCollection.addError(ErrorCollection.Reason reason,
java.lang.String messageKey,
java.lang.Object... params)
Add a global error that is not bound to a particular context. |
ErrorCollection |
ErrorCollection.addError(java.lang.String messageKey,
java.lang.Object... params)
Add a global error that is not bound to a particular context. |
ErrorCollection |
ErrorCollection.addReason(ErrorCollection.Reason reason)
Add a reason why the function has not been performed. |
ErrorCollection |
ErrorCollection.addReasons(java.util.Set<ErrorCollection.Reason> reasons)
Add reasons why the function has not been performed. |
ErrorCollection |
ErrorCollection.addWarning(java.lang.String messageKey,
java.lang.Object... params)
|
ErrorCollection |
ErrorCollection.setReasons(java.util.Set<ErrorCollection.Reason> reasons)
Set reasons why the function has not been performed. |
| Methods in com.atlassian.greenhopper.model.validation with parameters of type ErrorCollection | |
|---|---|
ErrorCollection |
ErrorCollection.addAllErrors(ErrorCollection toAdd)
|
| Uses of ErrorCollection in com.atlassian.greenhopper.service |
|---|
| Methods in com.atlassian.greenhopper.service that return ErrorCollection | |
|---|---|
ErrorCollection |
ServiceOutcomeImpl.getErrors()
|
ErrorCollection |
ServiceOutcome.getErrors()
|
| Methods in com.atlassian.greenhopper.service with parameters of type ErrorCollection | ||
|---|---|---|
static
|
ServiceOutcomeImpl.from(ErrorCollection errorCollection)
Convenience method that returns a new ServiceOutcomeImpl containing the given errors. |
|
static
|
ServiceOutcomeImpl.from(ErrorCollection errorCollection,
T value)
Convenience method that returns a new ServiceOutcomeImpl containing the given errors and returned value. |
|
| Constructors in com.atlassian.greenhopper.service with parameters of type ErrorCollection | |
|---|---|
ServiceOutcomeImpl(ErrorCollection errorCollection)
Creates a new ServiceOutcomeImpl with the given errors. |
|
ServiceOutcomeImpl(ErrorCollection errorCollection,
T value)
Creates a new ServiceOutcomeImpl with the given errors and returned value. |
|
| Uses of ErrorCollection in com.atlassian.greenhopper.service.api |
|---|
| Methods in com.atlassian.greenhopper.service.api with parameters of type ErrorCollection | ||
|---|---|---|
|
ResultFactory.makeResult(ErrorCollection errors,
T payload,
com.atlassian.crowd.embedded.api.User user)
Constructs a ServiceOutcome result from a payload and an ErrorCollection,
which is converted into a JIRA ErrorCollection. |
|
| Uses of ErrorCollection in com.atlassian.greenhopper.service.charts |
|---|
| Methods in com.atlassian.greenhopper.service.charts that return ErrorCollection | |
|---|---|
ErrorCollection |
IssueStatusHistoryServiceImpl.collectStatusHistory(com.atlassian.crowd.embedded.api.User user,
com.atlassian.query.Query query,
IssueStatusHistoryCallback callback)
Read the status history from the Lucene history index. |
ErrorCollection |
IssueStatusHistoryService.collectStatusHistory(com.atlassian.crowd.embedded.api.User user,
com.atlassian.query.Query query,
IssueStatusHistoryCallback callback)
For all issues defined by the given query and for each status provided, the change timeline will be provided to the callback. |
| Uses of ErrorCollection in com.atlassian.greenhopper.service.configuration |
|---|
| Methods in com.atlassian.greenhopper.service.configuration with parameters of type ErrorCollection | |
|---|---|
void |
UserBoardSettingsServiceImpl.toggleSingleCardDisplay(ErrorCollection errorCollection,
com.atlassian.crowd.embedded.api.User user,
com.atlassian.jira.project.Project project,
ViewDefinition view,
java.lang.String issueKey,
UserBoardSettings userBoardSettings)
Actually no one really cares about the issue here, it's just the key that we want. |
void |
UserBoardSettingsService.toggleSingleCardDisplay(ErrorCollection errorCollection,
com.atlassian.crowd.embedded.api.User user,
com.atlassian.jira.project.Project project,
ViewDefinition view,
java.lang.String issueKey,
UserBoardSettings userBoardSettings)
|
| Uses of ErrorCollection in com.atlassian.greenhopper.service.issue |
|---|
| Methods in com.atlassian.greenhopper.service.issue that return ErrorCollection | ||
|---|---|---|
|
IssueDataServiceImpl.find(com.atlassian.crowd.embedded.api.User user,
com.atlassian.query.Query query,
T callback)
|
|
|
IssueDataService.find(com.atlassian.crowd.embedded.api.User user,
com.atlassian.query.Query query,
T callback)
Execute the query, and for each issue in the result, extract the data as specified by the fields in the callback and send them over to the callback collector. |
|
|
IssueDataServiceImpl.findAndSort(com.atlassian.crowd.embedded.api.User user,
com.atlassian.query.Query query,
T callback,
com.atlassian.jira.web.bean.PagerFilter<?> pager)
|
|
|
IssueDataService.findAndSort(com.atlassian.crowd.embedded.api.User user,
com.atlassian.query.Query query,
T callback,
com.atlassian.jira.web.bean.PagerFilter<?> pager)
|
|
| Uses of ErrorCollection in com.atlassian.greenhopper.service.rank |
|---|
| Methods in com.atlassian.greenhopper.service.rank that return ErrorCollection | |
|---|---|
ErrorCollection |
SortedByRankFieldResult.getWarnings()
|
| Uses of ErrorCollection in com.atlassian.greenhopper.service.rapid |
|---|
| Methods in com.atlassian.greenhopper.service.rapid that return ErrorCollection | |
|---|---|
ErrorCollection |
SavedFilterServiceImpl.deleteSavedFilter(com.atlassian.crowd.embedded.api.User user,
java.lang.Long id)
|
ErrorCollection |
SavedFilterService.deleteSavedFilter(com.atlassian.crowd.embedded.api.User user,
java.lang.Long id)
|
| Methods in com.atlassian.greenhopper.service.rapid with parameters of type ErrorCollection | |
|---|---|
java.util.List<com.atlassian.jira.issue.search.SearchRequest> |
SavedFilterServiceImpl.findSavedFilters(com.atlassian.crowd.embedded.api.User user,
ErrorCollection errors,
java.lang.String query)
|
java.util.List<com.atlassian.jira.issue.search.SearchRequest> |
SavedFilterService.findSavedFilters(com.atlassian.crowd.embedded.api.User user,
ErrorCollection errors,
java.lang.String query)
|
com.atlassian.jira.issue.search.SearchRequest |
SavedFilterServiceImpl.updateSavedFilter(com.atlassian.crowd.embedded.api.User user,
ErrorCollection errors,
com.atlassian.jira.issue.search.SearchRequest savedFilter)
|
com.atlassian.jira.issue.search.SearchRequest |
SavedFilterService.updateSavedFilter(com.atlassian.crowd.embedded.api.User 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 that return ErrorCollection | |
|---|---|
ErrorCollection |
RapidViewServiceImpl.delete(com.atlassian.crowd.embedded.api.User user,
java.lang.Long id)
|
ErrorCollection |
RapidViewService.delete(com.atlassian.crowd.embedded.api.User user,
java.lang.Long id)
Delete a rapid view given its ID |
ErrorCollection |
RapidViewServiceImpl.update(com.atlassian.crowd.embedded.api.User user,
RapidView view)
|
ErrorCollection |
RapidViewService.update(com.atlassian.crowd.embedded.api.User user,
RapidView view)
Save a RapidView entity's state to the database. |
| Methods in com.atlassian.greenhopper.service.rapid.view with parameters of type ErrorCollection | |
|---|---|
void |
SwimlaneServiceImpl.delete(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView,
long swimlaneId,
ErrorCollection errors)
Delete a single swimlane |
void |
SwimlaneService.delete(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView,
long swimlaneId,
ErrorCollection errors)
Delete a single swimlane |
void |
QuickFilterServiceImpl.delete(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView,
long quickFilterId,
ErrorCollection errors)
Delete a single quick filter |
void |
QuickFilterService.delete(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView,
long quickFilterId,
ErrorCollection errors)
Delete a single quick filter |
Swimlane |
SwimlaneServiceImpl.get(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView,
long swimlaneId,
ErrorCollection errors)
|
Swimlane |
SwimlaneService.get(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView,
long swimlaneId,
ErrorCollection errors)
Get a swimlane given its id |
QuickFilter |
QuickFilterServiceImpl.get(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView,
long quickFilterId,
ErrorCollection errors)
|
QuickFilter |
QuickFilterService.get(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView,
long quickFilterId,
ErrorCollection errors)
gets the quick filter with id quickFilterId for rapid view with rapidViewId |
java.util.List<RapidView> |
RapidViewServiceImpl.getRapidViews(com.atlassian.crowd.embedded.api.User user,
ErrorCollection errors)
|
java.util.List<RapidView> |
RapidViewService.getRapidViews(com.atlassian.crowd.embedded.api.User user,
ErrorCollection errors)
|
void |
SwimlaneServiceImpl.moveBefore(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView,
long swimlaneId,
long moveToSwimlaneId,
ErrorCollection errors)
Moves a swimlane before another one |
void |
SwimlaneService.moveBefore(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView,
long swimlaneId,
long moveToSwimlaneId,
ErrorCollection errors)
Moves a swimlane before another one |
void |
QuickFilterServiceImpl.moveBefore(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView,
long quickFilterId,
long moveToQuickFilterId,
ErrorCollection errors)
|
void |
QuickFilterService.moveBefore(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView,
long quickFilterId,
long moveToQuickFilterId,
ErrorCollection errors)
Moves a quick filter before another one |
void |
SwimlaneServiceImpl.moveLast(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView,
long swimlaneId,
ErrorCollection errors)
Moves a swimlane to the last spot |
void |
SwimlaneService.moveLast(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView,
long swimlaneId,
ErrorCollection errors)
Moves a swimlane to the last spot |
void |
QuickFilterServiceImpl.moveLast(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView,
long quickFilterId,
ErrorCollection errors)
|
void |
QuickFilterService.moveLast(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView,
long quickFilterId,
ErrorCollection errors)
Moves a quick filter to the last spot |
QuickFilter |
QuickFilterServiceImpl.update(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView,
QuickFilter quickFilter,
ErrorCollection errors)
|
QuickFilter |
QuickFilterService.update(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView,
QuickFilter quickFilter,
ErrorCollection errors)
Updates a single quick filter for the given rapidview |
Swimlane |
SwimlaneServiceImpl.update(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView,
Swimlane swimlane,
ErrorCollection errors)
Updates a single swimlane for a given rapidView |
Swimlane |
SwimlaneService.update(com.atlassian.crowd.embedded.api.User user,
RapidView rapidView,
Swimlane swimlane,
ErrorCollection errors)
Updates a single swimlane for a given rapidView |
QuickFilterAO |
QuickFilterDao.updateQuickFilter(QuickFilter quickFilter,
ErrorCollection errors)
|
StatisticsFieldConfig |
StatisticsFieldServiceImpl.updateStatisticsField(com.atlassian.crowd.embedded.api.User user,
ErrorCollection errors,
RapidView rapidView,
StatisticsFieldConfig statisticsField)
Update the statistics field |
StatisticsFieldConfig |
StatisticsFieldService.updateStatisticsField(com.atlassian.crowd.embedded.api.User user,
ErrorCollection errors,
RapidView rapidView,
StatisticsFieldConfig statisticsField)
|
SwimlaneAO |
SwimlaneDao.updateSwimlane(Swimlane swimlane,
ErrorCollection errors)
|
void |
ColumnServiceImpl.validateColumns(java.util.List<Column> columns,
ErrorCollection errors)
|
void |
ColumnService.validateColumns(java.util.List<Column> columns,
ErrorCollection errors)
|
| Uses of ErrorCollection in com.atlassian.greenhopper.service.statistics |
|---|
| Methods in com.atlassian.greenhopper.service.statistics that return ErrorCollection | |
|---|---|
ErrorCollection |
WatchedFieldServiceImpl.addWatchedField(com.atlassian.crowd.embedded.api.User user,
ViewDefinition view,
Configuration configuration,
java.lang.String fieldId)
|
ErrorCollection |
WatchedFieldService.addWatchedField(com.atlassian.crowd.embedded.api.User user,
ViewDefinition view,
Configuration configuration,
java.lang.String fieldId)
Add a field to the watched fields. |
ErrorCollection |
WatchedFieldServiceImpl.removeWatchedField(com.atlassian.crowd.embedded.api.User user,
ViewDefinition view,
Configuration configuration,
java.lang.String fieldId)
|
ErrorCollection |
WatchedFieldService.removeWatchedField(com.atlassian.crowd.embedded.api.User user,
ViewDefinition view,
Configuration configuration,
java.lang.String fieldId)
Remove a field from the watched fields. |
| Uses of ErrorCollection in com.atlassian.greenhopper.service.version |
|---|
| Methods in com.atlassian.greenhopper.service.version that return ErrorCollection | |
|---|---|
ErrorCollection |
VersionServiceImpl.addIssueToVersion(com.atlassian.crowd.embedded.api.User user,
com.atlassian.jira.issue.Issue issue,
com.atlassian.jira.project.version.Version version)
We'll try to stay as close as possible to the service layer here, just calling the manager for the actual update |
ErrorCollection |
VersionService.addIssueToVersion(com.atlassian.crowd.embedded.api.User user,
com.atlassian.jira.issue.Issue issue,
com.atlassian.jira.project.version.Version version)
Adds the issue to the version. |
ErrorCollection |
ReleaseServiceImpl.createAndReleaseVersion(com.atlassian.crowd.embedded.api.User user,
java.lang.String name,
java.lang.String description,
org.joda.time.DateMidnight releaseDate,
java.lang.Long rapidViewId,
java.lang.Long columnId)
|
ErrorCollection |
ReleaseService.createAndReleaseVersion(com.atlassian.crowd.embedded.api.User user,
java.lang.String name,
java.lang.String description,
org.joda.time.DateMidnight releaseDate,
java.lang.Long rapidViewId,
java.lang.Long columnId)
Create a version in each project that has issues in the done column, associate the version with the issues and release it. |
ErrorCollection |
VersionServiceImpl.releaseVersions(com.atlassian.crowd.embedded.api.User user,
java.util.Collection<com.atlassian.jira.project.version.Version> versions,
org.joda.time.DateMidnight releaseDate)
valid? yes, do it! |
ErrorCollection |
VersionService.releaseVersions(com.atlassian.crowd.embedded.api.User user,
java.util.Collection<com.atlassian.jira.project.version.Version> versions,
org.joda.time.DateMidnight releaseDate)
Release the given versions. |
| Methods in com.atlassian.greenhopper.service.version with parameters of type ErrorCollection | |
|---|---|
java.util.Map<com.atlassian.jira.project.Project,com.atlassian.jira.project.version.Version> |
VersionServiceImpl.createVersions(com.atlassian.crowd.embedded.api.User user,
ErrorCollection errors,
java.util.Collection<com.atlassian.jira.project.Project> projects,
java.lang.String name,
java.lang.String description,
org.joda.time.DateMidnight releaseDate)
We're calling through to the service layer, so JIRA does all the validation for us. |
java.util.Map<com.atlassian.jira.project.Project,com.atlassian.jira.project.version.Version> |
VersionService.createVersions(com.atlassian.crowd.embedded.api.User user,
ErrorCollection errors,
java.util.Collection<com.atlassian.jira.project.Project> projects,
java.lang.String name,
java.lang.String description,
org.joda.time.DateMidnight releaseDate)
Build a version out of the given parameters and create it. |
| Uses of ErrorCollection in com.atlassian.greenhopper.web |
|---|
| Methods in com.atlassian.greenhopper.web with parameters of type ErrorCollection | |
|---|---|
protected void |
GreenHopperWebActionSupport.attachErrors(ErrorCollection errors)
Attaches all errors in the error collection to the current action. |
javax.ws.rs.core.Response |
AbstractResource.createErrorResponse(ErrorCollection errors)
Deprecated. |
java.lang.String |
RedirectHelper.getPlanningBoardRedirect(ErrorCollection errorCollection,
com.atlassian.crowd.embedded.api.User user,
com.atlassian.jira.issue.Issue issue,
boolean committed)
|
java.lang.String |
RedirectHelper.getRedirectByRequestParams(com.atlassian.crowd.embedded.api.User user,
ErrorCollection errorCollection)
Creates a redirect url taking the information provided on the request parameters into account. |
java.lang.String |
RedirectHelper.getTaskBoardRedirect(ErrorCollection errorCollection,
com.atlassian.crowd.embedded.api.User user,
com.atlassian.jira.issue.Issue issue,
boolean committed)
|
| Uses of ErrorCollection in com.atlassian.greenhopper.web.input |
|---|
| Methods in com.atlassian.greenhopper.web.input with parameters of type ErrorCollection | |
|---|---|
ViewDefinition |
ViewDefinitionFactory.find(ErrorCollection errorCollection)
Loads all settings from request parameters |
ViewDefinition |
ViewDefinitionFactory.load(ErrorCollection errorCollection)
Creates a ViewDefinition loaded from the request parameters. |
void |
ViewDefinitionFactory.loadFromRequestParams(ErrorCollection errorCollection,
ViewDefinition view,
boolean reportErrors)
Finds the ViewSettings from the request parameters This method finds the values from the request parameters and adds errors if not available |
| Uses of ErrorCollection in com.atlassian.greenhopper.web.rapid |
|---|
| Methods in com.atlassian.greenhopper.web.rapid with parameters of type ErrorCollection | ||
|---|---|---|
static
|
ResultEntry.createCombinedResult(ErrorCollection errors,
T successObject,
I18n2 i18n)
|
|
static
|
ResultEntry.createErrorResult(ErrorCollection errorCollection,
I18n2 i18n)
Creates an error result |
|
| Uses of ErrorCollection in com.atlassian.greenhopper.web.rapid.issue |
|---|
| Methods in com.atlassian.greenhopper.web.rapid.issue with parameters of type ErrorCollection | |
|---|---|
com.atlassian.jira.issue.MutableIssue |
IssueEntryFactory.getIssue(com.atlassian.crowd.embedded.api.User user,
java.lang.Long issueId,
ErrorCollection errorCollection)
|
com.atlassian.jira.issue.MutableIssue |
IssueEntryFactory.getIssue(com.atlassian.crowd.embedded.api.User user,
java.lang.String issueKey,
ErrorCollection errorCollection)
|
| Uses of ErrorCollection in com.atlassian.greenhopper.web.rapid.release |
|---|
| Methods in com.atlassian.greenhopper.web.rapid.release that return ErrorCollection | |
|---|---|
ErrorCollection |
ReleaseHelper.setIssueNavigatorQuery(com.atlassian.crowd.embedded.api.User user,
java.lang.Long projectId,
java.lang.Long rapidViewId,
java.lang.Long columnId)
|
| Uses of ErrorCollection in com.atlassian.greenhopper.web.rapid.view |
|---|
| Methods in com.atlassian.greenhopper.web.rapid.view with parameters of type ErrorCollection | |
|---|---|
ResultEntry<ColumnEditRequest> |
ColumnEditHelper.buildModel(com.atlassian.crowd.embedded.api.User user,
I18n2 i18n,
RapidView view,
ErrorCollection errors)
|
QuickFilterEditModel |
QuickFilterHelper.buildQuickFilterEditModel(com.atlassian.crowd.embedded.api.User user,
ErrorCollection errors,
java.lang.Long id)
|
SavedFilterEntry |
RapidViewFilterHelper.buildSavedFilterEntry(com.atlassian.crowd.embedded.api.User user,
com.atlassian.jira.issue.search.SearchRequest savedFilter,
ErrorCollection errorCollection)
Builds a SavedFilterEntry object. |
SwimlaneEditModel |
SwimlaneHelper.buildSwimlaneEditModel(com.atlassian.crowd.embedded.api.User user,
ErrorCollection errors,
java.lang.Long id)
|
com.atlassian.query.Query |
JqlHelper.createQuery(com.atlassian.crowd.embedded.api.User user,
java.lang.String jqlQuery,
java.lang.String errorContext,
ErrorCollection errors)
Translates the query string into a query object Note: This is an adaption of IssueNavigator.getNewSearchQuery |
void |
JqlHelper.validateJql(com.atlassian.crowd.embedded.api.User user,
com.atlassian.query.Query query,
java.lang.String errorContext,
ErrorCollection errors)
Ensure the jql is properly parsable and not invalid Note: this is an adapted copy of IssueNavigator.validateQuery |
void |
JqlHelper.validateJql(com.atlassian.crowd.embedded.api.User user,
java.lang.String queryString,
java.lang.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 ErrorCollection | |
|---|---|
void |
WebUtilities.validateStringSpecialCharacters(java.lang.String str,
ErrorCollection errorCollection)
TODO Should not be in here. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||