◆ doFinally()
void org.turro.dossier.zul.www.EditProjectControl.doFinally |
( |
| ) |
|
|
protected |
Reimplemented from org.turro.elephant.TemplateControl.
Definition at line 183 of file EditProjectControl.java.
185 IAgreements agreements = Plugins.loadImplementation(IAgreements.class,
"agreements");
186 agreements.setContact(Authentication.getIContact());
187 if(!agreements.isValid() || !agreements.canAct(
"project-new")) {
188 Application.getApplication().sendRedirect(agreements.getPendingActURL(
"project-new"));
◆ getDescriptors()
DescriptorSet org.turro.dossier.zul.www.EditProjectControl.getDescriptors |
( |
| ) |
|
Definition at line 165 of file EditProjectControl.java.
168 if(!
"all".equals(grouping)) {
169 CollectionUtil.from(ds).remove(e -> {
170 return CompareUtil.compare(grouping, e.getGrouping()) != 0 ||
171 CompareUtil.compare(required, e.isRequired()) != 0;
175 CollectionUtil.from(ds).remove(e -> {
176 return !DescriptorType.OPENING_DESCRIPTOR.equals(e.getType());
DescriptorSet getDescriptorSet()
PhaseDefinition getPhaseDefinition()
boolean anyTypeMatch(Collection< PhaseType > types)
◆ getGrouping()
String org.turro.dossier.zul.www.EditProjectControl.getGrouping |
( |
| ) |
|
◆ getPath()
String org.turro.dossier.zul.www.EditProjectControl.getPath |
( |
| ) |
|
◆ isRequired()
boolean org.turro.dossier.zul.www.EditProjectControl.isRequired |
( |
| ) |
|
◆ onBudget()
void org.turro.dossier.zul.www.EditProjectControl.onBudget |
( |
| ) |
|
Definition at line 92 of file EditProjectControl.java.
void setEstimatedBudget(double estimatedBudget)
double getEstimatedBudget()
◆ onCategory()
void org.turro.dossier.zul.www.EditProjectControl.onCategory |
( |
| ) |
|
◆ onGoal()
void org.turro.dossier.zul.www.EditProjectControl.onGoal |
( |
| ) |
|
◆ onNewTag()
void org.turro.dossier.zul.www.EditProjectControl.onNewTag |
( |
InputEvent |
event | ) |
|
Definition at line 115 of file EditProjectControl.java.
116 String value =
event.getValue();
117 String entityPath = DossierPU.getObjectPath(dossier);
118 if(!Strings.isBlank(value)) {
119 Tags.addTag(entityPath, value);
◆ onSave()
void org.turro.dossier.zul.www.EditProjectControl.onSave |
( |
| ) |
|
Definition at line 125 of file EditProjectControl.java.
126 boolean wasNew = dossier.
getId() ==
null || dossier.
getId() < 1;
127 DossierWrapper dw =
new DossierWrapper(dossier);
128 if(!dossier.
isEmpty() && !dw.isEmptyDescriptors(grouping, required)) {
131 new NewIdeaNotification(dossier).sendNotification();
133 Application.getApplication().sendRedirect(path + dossier.
getId());
◆ onSearching()
void org.turro.dossier.zul.www.EditProjectControl.onSearching |
( |
| ) |
|
◆ onTag()
void org.turro.dossier.zul.www.EditProjectControl.onTag |
( |
| ) |
|
Definition at line 108 of file EditProjectControl.java.
109 String entityPath = DossierPU.getObjectPath(dossier);
111 .stream().map(s -> s.getTagName()).collect(Collectors.toSet()));
◆ onTitle()
void org.turro.dossier.zul.www.EditProjectControl.onTitle |
( |
| ) |
|
Definition at line 86 of file EditProjectControl.java.
void setDescription(String description)
void setProjectTitle(String projectTitle)
◆ setDossier()
void org.turro.dossier.zul.www.EditProjectControl.setDossier |
( |
Dossier |
dossier | ) |
|
◆ setGrouping()
void org.turro.dossier.zul.www.EditProjectControl.setGrouping |
( |
String |
grouping | ) |
|
◆ setPath()
void org.turro.dossier.zul.www.EditProjectControl.setPath |
( |
String |
path | ) |
|
◆ setRequired()
void org.turro.dossier.zul.www.EditProjectControl.setRequired |
( |
boolean |
required | ) |
|
The documentation for this class was generated from the following file: