- Author
- Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g
Definition at line 44 of file IssueEdit.java.
◆ IssueEdit() [1/2]
org.turro.dossier.zul.issue.IssueEdit.IssueEdit |
( |
| ) |
throws InterruptedException |
Definition at line 53 of file IssueEdit.java.
55 issueCat =
new ChangeCategory(2,
I_.
get(
"Changes"));
56 commentCat =
new ChangeCategory(5,
I_.
get(
"Comment"));
static String get(String msg)
◆ IssueEdit() [2/2]
org.turro.dossier.zul.issue.IssueEdit.IssueEdit |
( |
String |
title, |
|
|
String |
border, |
|
|
boolean |
closable |
|
) |
| throws InterruptedException |
Definition at line 59 of file IssueEdit.java.
60 super(title, border, closable);
61 issueCat =
new ChangeCategory(2,
I_.
get(
"Changes"));
62 commentCat =
new ChangeCategory(5,
I_.
get(
"Comment"));
◆ doAction()
void org.turro.dossier.zul.issue.IssueEdit.doAction |
( |
String |
action | ) |
|
Definition at line 69 of file IssueEdit.java.
70 if(
"1".equals(action)) {
71 saveWithStatus(getIssue().getStatus());
72 }
else if(
"2".equals(action)) {
74 }
else if(
"3".equals(action)) {
76 }
else if(
"4".equals(action)) {
82 }
else if(
"5".equals(action)) {
84 }
else if(
"6".equals(action)) {
86 }
else if(
"7".equals(action)) {
88 }
else if(
"8".equals(action)) {
90 }
else if(
"9".equals(action)) {
IssueResolution getResolution()
◆ getCanCheckClose()
boolean org.turro.dossier.zul.issue.IssueEdit.getCanCheckClose |
( |
| ) |
|
◆ getCanClose()
boolean org.turro.dossier.zul.issue.IssueEdit.getCanClose |
( |
| ) |
|
◆ getCanFreeze()
boolean org.turro.dossier.zul.issue.IssueEdit.getCanFreeze |
( |
| ) |
|
◆ getCanMarkAsIncomplete()
boolean org.turro.dossier.zul.issue.IssueEdit.getCanMarkAsIncomplete |
( |
| ) |
|
◆ getCanReopen()
boolean org.turro.dossier.zul.issue.IssueEdit.getCanReopen |
( |
| ) |
|
◆ getCanResolve()
boolean org.turro.dossier.zul.issue.IssueEdit.getCanResolve |
( |
| ) |
|
◆ getCanStart()
boolean org.turro.dossier.zul.issue.IssueEdit.getCanStart |
( |
| ) |
|
◆ getCanVerify()
boolean org.turro.dossier.zul.issue.IssueEdit.getCanVerify |
( |
| ) |
|
◆ getChanges()
Changes org.turro.dossier.zul.issue.IssueEdit.getChanges |
( |
| ) |
|
◆ getLeaveAsLabel()
String org.turro.dossier.zul.issue.IssueEdit.getLeaveAsLabel |
( |
| ) |
|
Definition at line 95 of file IssueEdit.java.
96 return I_.
get(
"Leave issue as") +
": " +
I_.
byKey(getIssue().getStatus().toString()) +
static String byKey(String key)
◆ hasQA()
boolean org.turro.dossier.zul.issue.IssueEdit.hasQA |
( |
| ) |
|
◆ isAssistant()
boolean org.turro.dossier.zul.issue.IssueEdit.isAssistant |
( |
| ) |
|
◆ isParticipant()
boolean org.turro.dossier.zul.issue.IssueEdit.isParticipant |
( |
| ) |
|
◆ isQA()
boolean org.turro.dossier.zul.issue.IssueEdit.isQA |
( |
| ) |
|
◆ isReporter()
boolean org.turro.dossier.zul.issue.IssueEdit.isReporter |
( |
| ) |
|
◆ isResponsible()
boolean org.turro.dossier.zul.issue.IssueEdit.isResponsible |
( |
| ) |
|
◆ setCancelEmail()
void org.turro.dossier.zul.issue.IssueEdit.setCancelEmail |
( |
boolean |
value | ) |
|
◆ setCloseIssue()
void org.turro.dossier.zul.issue.IssueEdit.setCloseIssue |
( |
boolean |
value | ) |
|
◆ setIssueComment()
void org.turro.dossier.zul.issue.IssueEdit.setIssueComment |
( |
String |
newValue | ) |
|
Definition at line 226 of file IssueEdit.java.
227 changesManager.addComment(commentCat, newValue);
◆ setIssueControlDate()
void org.turro.dossier.zul.issue.IssueEdit.setIssueControlDate |
( |
Date |
newValue | ) |
|
Definition at line 221 of file IssueEdit.java.
222 changesManager.addChange(
new DateChange(issueCat,
I_.
get(
"Control"), getIssue().getControlDate(), newValue));
void setControlDate(Date controlDate)
◆ setIssueDelivery()
void org.turro.dossier.zul.issue.IssueEdit.setIssueDelivery |
( |
Date |
newValue | ) |
|
Definition at line 216 of file IssueEdit.java.
217 changesManager.addChange(
new DateChange(issueCat,
I_.
get(
"Delivery"), getIssue().getDelivery(), newValue));
void setDelivery(Date delivery)
◆ setIssueDescription()
void org.turro.dossier.zul.issue.IssueEdit.setIssueDescription |
( |
String |
newValue | ) |
|
Definition at line 179 of file IssueEdit.java.
180 changesManager.addChange(
new StringChange(issueCat,
I_.
get(
"Description"), getIssue().getDescription(), newValue));
void setDescription(String description)
◆ setIssueDossier()
void org.turro.dossier.zul.issue.IssueEdit.setIssueDossier |
( |
Dossier |
newValue | ) |
|
Definition at line 172 of file IssueEdit.java.
173 changesManager.addChange(
new StringChange(issueCat,
I_.
get(
"Dossier"),
174 getIssue().getDossier() !=
null ? getIssue().getDossier().getDescription() :
"",
void setDossier(Dossier dossier)
◆ setIssueDuplicated()
void org.turro.dossier.zul.issue.IssueEdit.setIssueDuplicated |
( |
Issue |
duplicated | ) |
|
Definition at line 260 of file IssueEdit.java.
261 if(issue.equals(duplicated)) {
264 changesManager.addChange(
new StringChange(issueCat,
I_.
get(
"Duplicated"),
void setDuplicated(Issue duplicated)
◆ setIssueExpenses()
void org.turro.dossier.zul.issue.IssueEdit.setIssueExpenses |
( |
BigDecimal |
newValue | ) |
|
Definition at line 245 of file IssueEdit.java.
246 changesManager.addChange(
new UniqueNumber(issueCat,
I_.
get(
"Expenses"), newValue));
247 expenses = newValue.doubleValue();
◆ setIssueHours()
void org.turro.dossier.zul.issue.IssueEdit.setIssueHours |
( |
BigDecimal |
newValue | ) |
|
◆ setIssuePrevExpenses()
void org.turro.dossier.zul.issue.IssueEdit.setIssuePrevExpenses |
( |
BigDecimal |
newValue | ) |
|
Definition at line 230 of file IssueEdit.java.
231 changesManager.addChange(
new NumberChange(issueCat,
I_.
get(
"Prevision") +
"/" +
I_.
get(
"Expenses"), getIssue().getExpenses(), newValue));
void setExpenses(double expenses)
◆ setIssuePrevHours()
void org.turro.dossier.zul.issue.IssueEdit.setIssuePrevHours |
( |
BigDecimal |
newValue | ) |
|
Definition at line 235 of file IssueEdit.java.
236 changesManager.addChange(
new NumberChange(issueCat,
I_.
get(
"Prevision") +
"/" +
I_.
get(
"Hours"), getIssue().getHours(), newValue));
237 getIssue().
setHours(newValue.doubleValue());
void setHours(double hours)
◆ setIssuePrevPrice()
void org.turro.dossier.zul.issue.IssueEdit.setIssuePrevPrice |
( |
BigDecimal |
newValue | ) |
|
Definition at line 240 of file IssueEdit.java.
241 changesManager.addChange(
new NumberChange(issueCat,
I_.
get(
"Prevision") +
"/" +
I_.
get(
"Price"), getIssue().getPrice(), newValue));
242 getIssue().
setPrice(newValue.doubleValue());
void setPrice(double price)
◆ setIssuePrice()
void org.turro.dossier.zul.issue.IssueEdit.setIssuePrice |
( |
BigDecimal |
newValue | ) |
|
◆ setIssuePriority()
void org.turro.dossier.zul.issue.IssueEdit.setIssuePriority |
( |
String |
newValue | ) |
|
Definition at line 206 of file IssueEdit.java.
207 changesManager.addChange(
new EnumChange(issueCat,
I_.
get(
"Priority"), getIssue().getPriority(),
IssuePriority.valueOf(newValue)));
void setPriority(IssuePriority priority)
◆ setIssuePublishable()
void org.turro.dossier.zul.issue.IssueEdit.setIssuePublishable |
( |
boolean |
newValue | ) |
|
Definition at line 191 of file IssueEdit.java.
192 changesManager.addChange(
new BooleanChange(issueCat,
I_.
get(
"Publishable"), getIssue().isPublishable(), newValue));
void setPublishable(boolean publishable)
◆ setIssueResolution()
void org.turro.dossier.zul.issue.IssueEdit.setIssueResolution |
( |
String |
newValue | ) |
|
Definition at line 201 of file IssueEdit.java.
202 changesManager.addChange(
new EnumChange(issueCat,
I_.
get(
"Resolution"), getIssue().getResolution(),
IssueResolution.valueOf(newValue)));
void setResolution(IssueResolution resolution)
◆ setIssueStartDate()
void org.turro.dossier.zul.issue.IssueEdit.setIssueStartDate |
( |
Date |
newValue | ) |
|
Definition at line 211 of file IssueEdit.java.
212 changesManager.addChange(
new DateChange(issueCat,
I_.
get(
"Start date"), getIssue().getStartDate(), newValue));
void setStartDate(Date startDate)
◆ setIssueType()
void org.turro.dossier.zul.issue.IssueEdit.setIssueType |
( |
String |
newValue | ) |
|
Definition at line 196 of file IssueEdit.java.
197 changesManager.addChange(
new EnumChange(issueCat,
I_.
get(
"Type"), getIssue().getType(),
IssueType.valueOf(newValue)));
void setType(IssueType type)
◆ setIssueVersion()
void org.turro.dossier.zul.issue.IssueEdit.setIssueVersion |
( |
DossierVersion |
newValue | ) |
|
Definition at line 184 of file IssueEdit.java.
185 changesManager.addChange(
new StringChange(issueCat,
I_.
get(
"Version"),
186 getIssue().getVersion() ==
null ?
null : getIssue().getVersion().getVersionId(),
void setVersion(DossierVersion version)
The documentation for this class was generated from the following file: