◆ OccurrencesVM()
org.turro.occurrence.OccurrencesVM.OccurrencesVM |
( |
| ) |
|
◆ getModel()
Definition at line 81 of file OccurrencesVM.java.
82 List<IOccurrenceAPI> list =
new ArrayList<>();
83 if(!Strings.isBlank(occurrence)) {
84 for(IOccurrenceAPI oapi : Instances.cached().bySuper(AbstractOccurrenceAPI.class, IOccurrenceAPI.class)) {
85 if(oapi.hasOccurrences(occurrence)) {
◆ getOccurrence()
String org.turro.occurrence.OccurrencesVM.getOccurrence |
( |
| ) |
|
◆ getSubstitution()
String org.turro.occurrence.OccurrencesVM.getSubstitution |
( |
| ) |
|
◆ remove()
void org.turro.occurrence.OccurrencesVM.remove |
( |
@BindingParam("api") IOccurrenceAPI |
api | ) |
|
Definition at line 72 of file OccurrencesVM.java.
74 Messages.confirmDeletion().add(occurrence).show(() -> {
75 api.removeOccurrences();
76 BindUtils.postNotifyChange(
null,
null,
OccurrencesVM.this,
"model");
◆ setOccurrence()
void org.turro.occurrence.OccurrencesVM.setOccurrence |
( |
String |
occurrence | ) |
|
◆ setSubstitution()
void org.turro.occurrence.OccurrencesVM.setSubstitution |
( |
String |
substitution | ) |
|
◆ substitute()
void org.turro.occurrence.OccurrencesVM.substitute |
( |
@BindingParam("api") IOccurrenceAPI |
api | ) |
|
Definition at line 65 of file OccurrencesVM.java.
66 if(api !=
null && !Strings.isBlank(substitution)) {
67 api.changeOccurrences(substitution);
◆ update()
void org.turro.occurrence.OccurrencesVM.update |
( |
| ) |
|
The documentation for this class was generated from the following file: