public class

DefaultProjectsAndCategoriesHelper

extends Object
implements ProjectsAndCategoriesHelper
java.lang.Object
   ↳ com.atlassian.jira.gadgets.system.util.DefaultProjectsAndCategoriesHelper

Class Overview

Utility methods for handling a parameter which is a string of project and category ids

Summary

Public Constructors
DefaultProjectsAndCategoriesHelper(ProjectManager projectManager, PermissionManager permissionManager, JiraAuthenticationContext authenticationContext)
Public Methods
Set<Long> getProjectIds(String projectAndCategoryIds)
void validate(String projectsOrCategories, Collection<ValidationError> errors, String fieldName)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.gadgets.system.util.ProjectsAndCategoriesHelper

Public Constructors

public DefaultProjectsAndCategoriesHelper (ProjectManager projectManager, PermissionManager permissionManager, JiraAuthenticationContext authenticationContext)

Public Methods

public Set<Long> getProjectIds (String projectAndCategoryIds)

public void validate (String projectsOrCategories, Collection<ValidationError> errors, String fieldName)