public interface ValueService
| Modifier and Type | Method and Description |
|---|---|
Date |
getValue(com.atlassian.jira.project.Project project,
DateField field)
Get the value for a date field in a project
|
Long |
getValue(com.atlassian.jira.project.Project project,
DurationField field)
Get the value for a duration field in a project
|
BigDecimal |
getValue(com.atlassian.jira.project.Project project,
FormulaField field)
Get the value for a formula field in a project
|
com.atlassian.crowd.embedded.api.Group |
getValue(com.atlassian.jira.project.Project project,
GroupField field)
Get the value for a group field in a project
|
List<com.atlassian.crowd.embedded.api.Group> |
getValue(com.atlassian.jira.project.Project project,
GroupMultipleField field)
Get the value for a group multiple field in a project
|
ListItem |
getValue(com.atlassian.jira.project.Project project,
ListExtField field)
Get the value for a list external field in a project
|
List<ListItem> |
getValue(com.atlassian.jira.project.Project project,
ListExtMultipleField field)
Get the value for a list external multiple field in a project
|
ListItem |
getValue(com.atlassian.jira.project.Project project,
ListField field)
Get the value for a list field in a project
|
List<ListItem> |
getValue(com.atlassian.jira.project.Project project,
ListMultipleField field)
Get the value for a list multiple field in a project
|
BigDecimal |
getValue(com.atlassian.jira.project.Project project,
NumberField field)
Get the value for a numeric field in a project
|
PriorityItem |
getValue(com.atlassian.jira.project.Project project,
PriorityField field)
Get the value for a priority field in a project
|
com.atlassian.jira.project.ProjectCategory |
getValue(com.atlassian.jira.project.Project project,
ProjectCategoryField field)
Get the category of the project
|
Long |
getValue(com.atlassian.jira.project.Project project,
ProjectDefaultAssigneeField field)
Get the default assignee of the project
|
String |
getValue(com.atlassian.jira.project.Project project,
ProjectDescriptionField field)
Get the description of the project
|
com.atlassian.jira.project.Project |
getValue(com.atlassian.jira.project.Project project,
ProjectField field)
Get the value for a project field in a project
|
String |
getValue(com.atlassian.jira.project.Project project,
ProjectKeyField field)
Get the key of the project
|
com.atlassian.jira.user.ApplicationUser |
getValue(com.atlassian.jira.project.Project project,
ProjectLeadField field)
Get the lead of the project
|
List<com.atlassian.jira.project.Project> |
getValue(com.atlassian.jira.project.Project project,
ProjectMultipleField field)
Get the value for a project multiple field in a project
|
String |
getValue(com.atlassian.jira.project.Project project,
ProjectNameField field)
Get the name of the project
|
com.atlassian.jira.project.type.ProjectTypeKey |
getValue(com.atlassian.jira.project.Project project,
ProjectTypeField field)
Get the type of the project
|
String |
getValue(com.atlassian.jira.project.Project project,
ProjectUrlField field)
Get the url of the project
|
String |
getValue(com.atlassian.jira.project.Project project,
ScriptField field)
Get the value for a script field in a project
|
StatusItem |
getValue(com.atlassian.jira.project.Project project,
StatusField field)
Get the value for a status field in a project
|
String |
getValue(com.atlassian.jira.project.Project project,
TextField field)
Get the value for a text field in a project
|
String |
getValue(com.atlassian.jira.project.Project project,
TextMultipleField field)
Get the value for a text field multiple in a project
|
com.atlassian.jira.user.ApplicationUser |
getValue(com.atlassian.jira.project.Project project,
UserField field)
Get the value for a user field in a project
|
List<com.atlassian.jira.user.ApplicationUser> |
getValue(com.atlassian.jira.project.Project project,
UserMultipleField field)
Get the value for a user multiple field in a project
|
ValueList |
getValues(com.atlassian.jira.project.Project project,
boolean withCalculated)
Get the list of values for a project.
|
void |
setValue(com.atlassian.jira.project.Project project,
DateField field,
Date value)
Set the value for a date field in a project
|
void |
setValue(com.atlassian.jira.project.Project project,
DurationField field,
Long value)
Set the value for a duration field in a project
|
void |
setValue(com.atlassian.jira.project.Project project,
GroupField field,
com.atlassian.crowd.embedded.api.Group value)
Set the value for a group field in a project
|
void |
setValue(com.atlassian.jira.project.Project project,
GroupMultipleField field,
List<com.atlassian.crowd.embedded.api.Group> value)
Set the value for a group multiple field in a project
|
void |
setValue(com.atlassian.jira.project.Project project,
ListExtField field,
ListItem value)
Set the value for a list external field in a project
|
void |
setValue(com.atlassian.jira.project.Project project,
ListExtMultipleField field,
List<ListItem> value)
Set the value for a list external multiple field in a project
|
void |
setValue(com.atlassian.jira.project.Project project,
ListField field,
ListItem value)
Set the value for a list field in a project
|
void |
setValue(com.atlassian.jira.project.Project project,
ListMultipleField field,
List<ListItem> value)
Set the value for a list multiple field in a project
|
void |
setValue(com.atlassian.jira.project.Project project,
NumberField field,
BigDecimal value)
Set the value for a numeric field in a project
|
void |
setValue(com.atlassian.jira.project.Project project,
PriorityField field,
PriorityItem value)
Set the value for a priority field in a project
|
void |
setValue(com.atlassian.jira.project.Project project,
ProjectField field,
com.atlassian.jira.project.Project value)
Set the value for a project field in a project
|
void |
setValue(com.atlassian.jira.project.Project project,
ProjectMultipleField field,
List<com.atlassian.jira.project.Project> value)
Set the value for a project multiple field in a project
|
void |
setValue(com.atlassian.jira.project.Project project,
StatusField field,
StatusItem value)
Set the value for a status field in a project
|
void |
setValue(com.atlassian.jira.project.Project project,
TextField field,
String value)
Set the value for a text field in a project
|
void |
setValue(com.atlassian.jira.project.Project project,
TextMultipleField field,
String value)
Set the value for a text field in a project
|
void |
setValue(com.atlassian.jira.project.Project project,
UserField field,
com.atlassian.jira.user.ApplicationUser value)
Set the value for a user field in a project
|
void |
setValue(com.atlassian.jira.project.Project project,
UserMultipleField field,
List<com.atlassian.jira.user.ApplicationUser> value)
Set the value for a user multiple field in a project
|
BigDecimal |
validateBigDecimal(String value)
Validate the value and returns a BigDecimal if is valid or null if not
|
String getValue(com.atlassian.jira.project.Project project, TextField field) throws Exception
project - The JIRA projectfield - The text fieldException - if an error occursvoid setValue(com.atlassian.jira.project.Project project,
TextField field,
String value)
throws Exception
project - The JIRA projectfield - The text fieldvalue - The textException - if an error occursString getValue(com.atlassian.jira.project.Project project, TextMultipleField field) throws Exception
project - The JIRA projectfield - The text field multipleNullPointerException - if the project or the field are nullException - if an error occursvoid setValue(com.atlassian.jira.project.Project project,
TextMultipleField field,
String value)
throws Exception
project - The JIRA projectfield - The text fieldvalue - The textException - if an error occursBigDecimal getValue(com.atlassian.jira.project.Project project, NumberField field) throws Exception
project - The JIRA projectfield - The numeric fieldBigDecimal stored in this fieldNullPointerException - if the project or the field are nullException - if an error occursvoid setValue(com.atlassian.jira.project.Project project,
NumberField field,
BigDecimal value)
throws Exception
project - The JIRA projectfield - The number fieldvalue - The numberException - if an error occursBigDecimal validateBigDecimal(String value)
value - The valueDate getValue(com.atlassian.jira.project.Project project, DateField field) throws Exception
project - The JIRA projectfield - The date fieldException - if an error occursvoid setValue(com.atlassian.jira.project.Project project,
DateField field,
Date value)
throws Exception
project - The JIRA projectfield - The date fieldvalue - The dateException - if an error occursLong getValue(com.atlassian.jira.project.Project project, DurationField field) throws Exception
project - The JIRA projectfield - The duration fieldException - if an error occursvoid setValue(com.atlassian.jira.project.Project project,
DurationField field,
Long value)
throws Exception
project - The JIRA projectfield - The duration fieldvalue - The durationException - if an error occurscom.atlassian.jira.user.ApplicationUser getValue(com.atlassian.jira.project.Project project,
UserField field)
throws Exception
project - The JIRA projectfield - The user fieldException - if an error occursvoid setValue(com.atlassian.jira.project.Project project,
UserField field,
com.atlassian.jira.user.ApplicationUser value)
throws Exception
project - The JIRA projectfield - The user fieldvalue - The userException - if an error occursList<com.atlassian.jira.user.ApplicationUser> getValue(com.atlassian.jira.project.Project project, UserMultipleField field) throws Exception
project - The JIRA projectfield - The user multiple fieldException - if an error occursvoid setValue(com.atlassian.jira.project.Project project,
UserMultipleField field,
List<com.atlassian.jira.user.ApplicationUser> value)
throws Exception
project - The JIRA projectfield - The multiple users fieldvalue - The list of usersException - if an error occurscom.atlassian.crowd.embedded.api.Group getValue(com.atlassian.jira.project.Project project,
GroupField field)
throws Exception
project - The JIRA projectfield - The group fieldException - if an error occursvoid setValue(com.atlassian.jira.project.Project project,
GroupField field,
com.atlassian.crowd.embedded.api.Group value)
throws Exception
project - The JIRA projectfield - The group fieldvalue - The groupException - if an error occursList<com.atlassian.crowd.embedded.api.Group> getValue(com.atlassian.jira.project.Project project, GroupMultipleField field) throws Exception
project - The JIRA projectfield - The group multiple fieldException - if an error occursvoid setValue(com.atlassian.jira.project.Project project,
GroupMultipleField field,
List<com.atlassian.crowd.embedded.api.Group> value)
throws Exception
project - The JIRA projectfield - The multiple groups fieldvalue - The list of groupsException - if an error occurscom.atlassian.jira.project.Project getValue(com.atlassian.jira.project.Project project,
ProjectField field)
throws Exception
project - The JIRA projectfield - The project fieldException - if an error occursvoid setValue(com.atlassian.jira.project.Project project,
ProjectField field,
com.atlassian.jira.project.Project value)
throws Exception
project - The JIRA projectfield - The project fieldvalue - The projectException - if an error occursList<com.atlassian.jira.project.Project> getValue(com.atlassian.jira.project.Project project, ProjectMultipleField field) throws Exception
project - The JIRA projectfield - The project multiple fieldException - if an error occursvoid setValue(com.atlassian.jira.project.Project project,
ProjectMultipleField field,
List<com.atlassian.jira.project.Project> value)
throws Exception
project - The JIRA projectfield - The project multiple fieldvalue - The list of projectsException - if an error occursStatusItem getValue(com.atlassian.jira.project.Project project, StatusField field) throws Exception
project - The JIRA projectfield - The status fieldException - if an error occursvoid setValue(com.atlassian.jira.project.Project project,
StatusField field,
StatusItem value)
throws Exception
project - The JIRA projectfield - The status fieldvalue - The status itemException - if an error occursPriorityItem getValue(com.atlassian.jira.project.Project project, PriorityField field) throws Exception
project - The JIRA projectfield - The priority fieldException - if an error occursvoid setValue(com.atlassian.jira.project.Project project,
PriorityField field,
PriorityItem value)
throws Exception
project - The JIRA projectfield - The priority fieldvalue - The priority itemException - if an error occursListItem getValue(com.atlassian.jira.project.Project project, ListField field) throws Exception
project - The JIRA projectfield - The list fieldException - if an error occursvoid setValue(com.atlassian.jira.project.Project project,
ListField field,
ListItem value)
throws Exception
project - The JIRA projectfield - The list fieldvalue - The list itemException - if an error occursList<ListItem> getValue(com.atlassian.jira.project.Project project, ListMultipleField field) throws Exception
project - The JIRA projectfield - The list multiple fieldException - if an error occursvoid setValue(com.atlassian.jira.project.Project project,
ListMultipleField field,
List<ListItem> value)
throws Exception
project - The JIRA projectfield - The list multiple fieldvalue - The list of list itemsException - if an error occursListItem getValue(com.atlassian.jira.project.Project project, ListExtField field) throws Exception
project - The JIRA projectfield - The list external fieldException - if an error occursvoid setValue(com.atlassian.jira.project.Project project,
ListExtField field,
ListItem value)
throws Exception
project - The JIRA projectfield - The list external fieldvalue - The list itemException - if an error occursList<ListItem> getValue(com.atlassian.jira.project.Project project, ListExtMultipleField field) throws Exception
project - The JIRA projectfield - The list external multiple fieldException - if an error occursvoid setValue(com.atlassian.jira.project.Project project,
ListExtMultipleField field,
List<ListItem> value)
throws Exception
project - The JIRA projectfield - The list external multiple fieldvalue - The list of list itemsException - if an error occursBigDecimal getValue(com.atlassian.jira.project.Project project, FormulaField field) throws Exception
project - The JIRA projectfield - The list fieldException - if an error occursString getValue(com.atlassian.jira.project.Project project, ScriptField field) throws Exception
project - The JIRA projectfield - The list fieldException - if an error occursString getValue(com.atlassian.jira.project.Project project, ProjectUrlField field) throws Exception
project - The JIRA projectfield - The project url fieldException - if an error occurscom.atlassian.jira.project.type.ProjectTypeKey getValue(com.atlassian.jira.project.Project project,
ProjectTypeField field)
throws Exception
project - The JIRA projectfield - The project type fieldException - if an error occursString getValue(com.atlassian.jira.project.Project project, ProjectNameField field) throws Exception
project - The JIRA projectfield - The project name fieldException - if an error occurscom.atlassian.jira.user.ApplicationUser getValue(com.atlassian.jira.project.Project project,
ProjectLeadField field)
throws Exception
project - The JIRA projectfield - The project lead fieldException - if an error occursString getValue(com.atlassian.jira.project.Project project, ProjectKeyField field) throws Exception
project - The JIRA projectfield - The project key fieldException - if an error occursString getValue(com.atlassian.jira.project.Project project, ProjectDescriptionField field) throws Exception
project - The JIRA projectfield - The project description fieldException - if an error occurscom.atlassian.jira.project.ProjectCategory getValue(com.atlassian.jira.project.Project project,
ProjectCategoryField field)
throws Exception
project - The JIRA projectfield - The project category fieldException - if an error occursLong getValue(com.atlassian.jira.project.Project project, ProjectDefaultAssigneeField field) throws Exception
project - The JIRA projectfield - The project default assignee fieldException - if an error occursValueList getValues(com.atlassian.jira.project.Project project, boolean withCalculated)
project - the projectwithCalculated - boolean indicating if the calculated values are added to the resultCopyright © 2022 DEISER. All Rights Reserved.