com.atlassian.jira.gadgets.system.util
Class DefaultProjectsAndCategoriesHelper

java.lang.Object
  extended by com.atlassian.jira.gadgets.system.util.DefaultProjectsAndCategoriesHelper
All Implemented Interfaces:
ProjectsAndCategoriesHelper

public class DefaultProjectsAndCategoriesHelper
extends Object
implements ProjectsAndCategoriesHelper

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


Constructor Summary
DefaultProjectsAndCategoriesHelper(ProjectManager projectManager, PermissionManager permissionManager, JiraAuthenticationContext authenticationContext)
           
 
Method Summary
 Set<Long> getProjectIds(String projectAndCategoryIds)
           
 void validate(String projectsOrCategories, Collection<ValidationError> errors, String fieldName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultProjectsAndCategoriesHelper

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

validate

public void validate(String projectsOrCategories,
                     Collection<ValidationError> errors,
                     String fieldName)
Specified by:
validate in interface ProjectsAndCategoriesHelper

getProjectIds

public Set<Long> getProjectIds(String projectAndCategoryIds)
Specified by:
getProjectIds in interface ProjectsAndCategoriesHelper


Copyright © 2002-2013 Atlassian. All Rights Reserved.