aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/web/client/model/BaseStoreHandlers.java
blob: ed4e541989feb002fa1576c99cd8d5d191e1b7b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
package org.traccar.web.client.model;

import com.sencha.gxt.data.shared.event.StoreAddEvent;
import com.sencha.gxt.data.shared.event.StoreClearEvent;
import com.sencha.gxt.data.shared.event.StoreDataChangeEvent;
import com.sencha.gxt.data.shared.event.StoreFilterEvent;
import com.sencha.gxt.data.shared.event.StoreHandlers;
import com.sencha.gxt.data.shared.event.StoreRecordChangeEvent;
import com.sencha.gxt.data.shared.event.StoreRemoveEvent;
import com.sencha.gxt.data.shared.event.StoreSortEvent;
import com.sencha.gxt.data.shared.event.StoreUpdateEvent;

public class BaseStoreHandlers<T> implements StoreHandlers<T> {

    @Override
    public void onAdd(StoreAddEvent<T> event) {
        onAnything();
    }

    @Override
    public void onRemove(StoreRemoveEvent<T> event) {
        onAnything();
    }

    @Override
    public void onFilter(StoreFilterEvent<T> event) {
        onAnything();
    }

    @Override
    public void onClear(StoreClearEvent<T> event) {
        onAnything();
    }

    @Override
    public void onUpdate(StoreUpdateEvent<T> event) {
        onAnything();
    }

    @Override
    public void onDataChange(StoreDataChangeEvent<T> event) {
        onAnything();
    }

    @Override
    public void onRecordChange(StoreRecordChangeEvent<T> event) {
        onAnything();
    }

    @Override
    public void onSort(StoreSortEvent<T> event) {
        onAnything();
    }

    public void onAnything() {
    }

}