Constructor and Description |
---|
DefaultLabelUtil(SearchService searchService,
CustomFieldManager customFieldManager) |
Modifier and Type | Method and Description |
---|---|
String |
getLabelJql(ApplicationUser user,
Long customFieldId,
String label)
Given a label and custom field Id, this utility returns a JQL string to search for this label in the custom field
provided
|
String |
getLabelJql(ApplicationUser user,
String label)
Given a label this utility returns a JQL string to search for this label in the system labels field
|
String |
getLabelJqlForProject(ApplicationUser user,
Long projectId,
Long customFieldId,
String label)
Given a label, project id and custom field id, this utility returns a JQL string to search for this label in the
label custom field, limited by the project provided
|
String |
getLabelJqlForProject(ApplicationUser user,
Long projectId,
String label)
Given a label and project id, this utility returns a JQL string to search for this label in the label system
field, limited by the project provided
|
String |
getLabelSearchPath(ApplicationUser user,
Long customFieldId,
String label)
Given a label and custom field Id, this utility returns the URL to search for this label in the custom field
provided
|
String |
getLabelSearchPath(ApplicationUser user,
String label)
Given a label this utility returns the URL to search for this label in the system labels field
|
String |
getLabelSearchPathForProject(ApplicationUser user,
Long projectId,
Long customFieldId,
String label)
Given a label, project id and custom field id, this utility returns the URL to search for this label in the
label custom field, limited by the project provided
|
String |
getLabelSearchPathForProject(ApplicationUser user,
Long projectId,
String label)
Given a label and project id, this utility returns the URL to search for this label in the label system
field, limited by the project provided
|
public DefaultLabelUtil(SearchService searchService, CustomFieldManager customFieldManager)
public String getLabelJql(ApplicationUser user, String label)
LabelUtil
getLabelJql
in interface LabelUtil
user
- The user running the searchlabel
- The label string to search forpublic String getLabelJql(ApplicationUser user, Long customFieldId, String label)
LabelUtil
getLabelJql
in interface LabelUtil
user
- The user running the searchcustomFieldId
- The CustomField Id of the labels custom fieldlabel
- The label string to search forpublic String getLabelJqlForProject(ApplicationUser user, Long projectId, String label)
LabelUtil
getLabelJqlForProject
in interface LabelUtil
user
- The user running the searchprojectId
- The project to limit the searchlabel
- The label string to search forpublic String getLabelJqlForProject(ApplicationUser user, Long projectId, Long customFieldId, String label)
LabelUtil
getLabelJqlForProject
in interface LabelUtil
user
- The user running the searchprojectId
- The project to limit the searchcustomFieldId
- The CustomField Id of the labels custom fieldlabel
- The label string to search forpublic String getLabelSearchPath(ApplicationUser user, String label)
LabelUtil
getLabelSearchPath
in interface LabelUtil
user
- The user running the searchlabel
- The label string to search forpublic String getLabelSearchPath(ApplicationUser user, Long customFieldId, String label)
LabelUtil
getLabelSearchPath
in interface LabelUtil
user
- The user running the searchcustomFieldId
- The CustomField Id of the labels custom fieldlabel
- The label string to search forpublic String getLabelSearchPathForProject(ApplicationUser user, Long projectId, String label)
LabelUtil
getLabelSearchPathForProject
in interface LabelUtil
user
- The user running the searchprojectId
- The project to limit the searchlabel
- The label string to search forpublic String getLabelSearchPathForProject(ApplicationUser user, Long projectId, Long customFieldId, String label)
LabelUtil
getLabelSearchPathForProject
in interface LabelUtil
user
- The user running the searchprojectId
- The project to limit the searchcustomFieldId
- The CustomField Id of the labels custom fieldlabel
- The label string to search forCopyright © 2002-2024 Atlassian. All Rights Reserved.