- Author
- Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g
Definition at line 53 of file MonitorVM.java.
◆ MonitorVM()
org.turro.dossier.monitor.MonitorVM.MonitorVM |
( |
| ) |
|
Definition at line 59 of file MonitorVM.java.
60 query =
new DossierResults();
62 query.
setOrderBy(
"order by dossier.category.fullDescription");
63 Application app = Application.getApplication();
64 show = app.isInRole(
"dossier:show");
65 all = app.isInRole(
"dossier:all");
void setOrderBy(String orderBy)
void setByParticipant(IContact byParticipant)
◆ addInformation()
void org.turro.dossier.monitor.MonitorVM.addInformation |
( |
@BindingParam("dossier") Dossier |
dossier | ) |
|
Definition at line 112 of file MonitorVM.java.
113 DossierMenu.addDossierInformation(dossier,
null);
◆ getModel()
GroupsModel<DossierMonitor, Object, Object> org.turro.dossier.monitor.MonitorVM.getModel |
( |
| ) |
|
Definition at line 164 of file MonitorVM.java.
165 List<List<DossierMonitor>> data =
new ArrayList<>();
166 List<String> headers =
new ArrayList<>();
167 List<DossierMonitor> loading =
null;
170 Dao dao =
new DossierPU();
175 DossierIds.initDaoList(dao, dl);
177 for(
final DossierIds item : dl) {
178 Long current = item.categoryId;
179 if(catId ==
null || !(current.equals(catId))) {
181 headers.add(item.getCategory().getFullDescription());
182 loading =
new ArrayList<>();
185 if(loading !=
null) {
186 loading.add(
new DossierMonitor(dao, item.dossierId));
193 return new SimpleGroupsModel<>(data, headers);
java.util.List< DossierIds > getDossierIdList()
◆ getParticipant()
IContact org.turro.dossier.monitor.MonitorVM.getParticipant |
( |
| ) |
|
◆ getSearchValue()
String org.turro.dossier.monitor.MonitorVM.getSearchValue |
( |
| ) |
|
◆ getSelectedCategory()
Category org.turro.dossier.monitor.MonitorVM.getSelectedCategory |
( |
| ) |
|
◆ getStatus()
Set<DossierStatus> org.turro.dossier.monitor.MonitorVM.getStatus |
( |
| ) |
|
◆ getType()
Set<DossierType> org.turro.dossier.monitor.MonitorVM.getType |
( |
| ) |
|
◆ isCkOthers()
boolean org.turro.dossier.monitor.MonitorVM.isCkOthers |
( |
| ) |
|
◆ selectCategory()
void org.turro.dossier.monitor.MonitorVM.selectCategory |
( |
@BindingParam("category") Category |
category | ) |
|
Definition at line 81 of file MonitorVM.java.
82 if(category instanceof Category) {
void setSelectedCategory(Category category)
◆ selectContact()
void org.turro.dossier.monitor.MonitorVM.selectContact |
( |
@BindingParam("contact") IContact |
contact | ) |
|
Definition at line 91 of file MonitorVM.java.
void setParticipant(IContact contact)
◆ selectFromAll()
void org.turro.dossier.monitor.MonitorVM.selectFromAll |
( |
@BindingParam("checked") boolean |
checked | ) |
|
Definition at line 97 of file MonitorVM.java.
void setCkOthers(boolean ckOthers)
◆ setCkOthers()
void org.turro.dossier.monitor.MonitorVM.setCkOthers |
( |
boolean |
ckOthers | ) |
|
◆ setParticipant()
void org.turro.dossier.monitor.MonitorVM.setParticipant |
( |
IContact |
contact | ) |
|
◆ setSearchValue()
void org.turro.dossier.monitor.MonitorVM.setSearchValue |
( |
String |
searchValue | ) |
|
Definition at line 116 of file MonitorVM.java.
void setDossierValue(String dossierValue)
◆ setSelectedCategory()
void org.turro.dossier.monitor.MonitorVM.setSelectedCategory |
( |
Category |
category | ) |
|
◆ setStatus()
void org.turro.dossier.monitor.MonitorVM.setStatus |
( |
Set< DossierStatus > |
status | ) |
|
Definition at line 144 of file MonitorVM.java.
void setStatus(Set< DossierStatus > status)
◆ setType()
void org.turro.dossier.monitor.MonitorVM.setType |
( |
Set< DossierType > |
type | ) |
|
◆ showAttachments()
void org.turro.dossier.monitor.MonitorVM.showAttachments |
( |
@BindingParam("wrapper") DossierWrapper |
wrapper | ) |
|
Definition at line 102 of file MonitorVM.java.
103 if(show && (all || wrapper.isParticipant())) {
104 AttachmentControl ac =
new AttachmentControl();
105 ac.setEntity(wrapper.getEntity());
106 SelectionDialog.showComponent(Framework.getCurrent().getPage(), I_.get(
"Attachments"),
107 ac,
"80%",
"80%",
null);
◆ showInfo()
void org.turro.dossier.monitor.MonitorVM.showInfo |
( |
@BindingParam("monitor") DossierMonitor |
monitor | ) |
|
Definition at line 69 of file MonitorVM.java.
70 if(show && (all || monitor.getWrapper().isParticipant())) {
71 DossiersInfo.popup(monitor.getDossier());
◆ update()
void org.turro.dossier.monitor.MonitorVM.update |
( |
| ) |
|
The documentation for this class was generated from the following file: