|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.jira.issue.label.DefaultLabelUtil
public class DefaultLabelUtil
| Constructor Summary | |
|---|---|
DefaultLabelUtil(SearchService searchService,
CustomFieldManager customFieldManager)
|
|
| Method Summary | |
|---|---|
String |
getLabelJql(com.atlassian.crowd.embedded.api.User 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(com.atlassian.crowd.embedded.api.User user,
String label)
Given a label this utility returns a JQL string to search for this label in the system labels field |
String |
getLabelJqlForProject(com.atlassian.crowd.embedded.api.User 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(com.atlassian.crowd.embedded.api.User 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 |
| 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 String getLabelJql(com.atlassian.crowd.embedded.api.User user,
String label)
LabelUtil
getLabelJql in interface LabelUtiluser - The user running the searchlabel - The label string to search for
public String getLabelJql(com.atlassian.crowd.embedded.api.User user,
Long customFieldId,
String label)
LabelUtil
getLabelJql in interface LabelUtiluser - The user running the searchcustomFieldId - The CustomField Id of the labels custom fieldlabel - The label string to search for
public String getLabelJqlForProject(com.atlassian.crowd.embedded.api.User user,
Long projectId,
String label)
LabelUtil
getLabelJqlForProject in interface LabelUtiluser - The user running the searchprojectId - The project to limit the searchlabel - The label string to search for
public String getLabelJqlForProject(com.atlassian.crowd.embedded.api.User user,
Long projectId,
Long customFieldId,
String label)
LabelUtil
getLabelJqlForProject in interface LabelUtiluser - 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 | |||||||||