|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.issue.label.DefaultLabelUtil
public class DefaultLabelUtil
Constructor Summary | |
---|---|
DefaultLabelUtil(SearchService searchService,
CustomFieldManager customFieldManager)
|
Method Summary | |
---|---|
java.lang.String |
getLabelJql(com.opensymphony.user.User user,
java.lang.Long customFieldId,
java.lang.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 |
java.lang.String |
getLabelJql(com.opensymphony.user.User user,
java.lang.String label)
Given a label this utility returns a JQL string to search for this label in the system labels field |
java.lang.String |
getLabelJqlForProject(com.opensymphony.user.User user,
java.lang.Long projectId,
java.lang.Long customFieldId,
java.lang.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 |
java.lang.String |
getLabelJqlForProject(com.opensymphony.user.User user,
java.lang.Long projectId,
java.lang.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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultLabelUtil(SearchService searchService, CustomFieldManager customFieldManager)
Method Detail |
---|
public java.lang.String getLabelJql(com.opensymphony.user.User user, java.lang.String label)
LabelUtil
getLabelJql
in interface LabelUtil
user
- The user running the searchlabel
- The label string to search for
public java.lang.String getLabelJql(com.opensymphony.user.User user, java.lang.Long customFieldId, java.lang.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 for
public java.lang.String getLabelJqlForProject(com.opensymphony.user.User user, java.lang.Long projectId, java.lang.String label)
LabelUtil
getLabelJqlForProject
in interface LabelUtil
user
- The user running the searchprojectId
- The project to limit the searchlabel
- The label string to search for
public java.lang.String getLabelJqlForProject(com.opensymphony.user.User user, java.lang.Long projectId, java.lang.Long customFieldId, java.lang.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 for
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |