Statistics
| Revision:

gvsig-scripting / org.gvsig.scripting / trunk / org.gvsig.scripting / org.gvsig.scripting.app / org.gvsig.scripting.app.mainplugin / src / main / resources-plugin / scripting / lib / gvsig / javadocs / scripting / project / table / TableDocument.java @ 846

History | View | Annotate | Download (1.89 KB)

1
package scripting.project.table;
2

    
3
import java.util.Iterator;
4
import org.gvsig.fmap.dal.feature.Feature;
5
import org.gvsig.fmap.dal.feature.FeatureSelection;
6
import org.gvsig.fmap.dal.feature.FeatureSet;
7
import org.gvsig.fmap.dal.feature.FeatureType;
8

    
9
/**
10
 *
11
 *
12
 */
13
public class TableDocument extends org.gvsig.app.project.documents.table.TableDocument {
14

    
15
    /**
16
     *
17
     * @param filterExpresion, optional
18
     * @param sortby, optional
19
     * @param asc, optional
20
     * @return
21
     */
22
    public FeatureSet features(String filterExpresion, String sortby, boolean asc) { return null; }
23

    
24
    /**
25
     * 
26
     * @return 
27
     */
28
    public Iterator<Feature> __iter__();
29

    
30
    /**
31
     * 
32
     * @return 
33
     */
34
    public int __len__();
35

    
36
    /**
37
     * 
38
     */
39
    public void edit();
40

    
41
    /**
42
     * 
43
     */
44
    public void append(Object... values);
45

    
46
    /**
47
     * 
48
     * @param schema 
49
     */
50
    public void updateSchema(FeatureType schema);
51

    
52
    /**
53
     * 
54
     * @param feature 
55
     */
56
    public void update(Feature feature);
57

    
58
    /**
59
     * 
60
     * @return 
61
     */
62
    public FeatureType getSchema();
63

    
64
    /**
65
     * 
66
     */
67
    public void commit();
68

    
69
    /**
70
     * 
71
     */
72
    public void abort();
73

    
74
    /**
75
     * 
76
     * @return 
77
     */
78
    public FeatureSelection getSelecion();
79

    
80
    /**
81
     * 
82
     * @param selection 
83
     */
84
    public void select(FeatureSelection selection);
85

    
86
    /**
87
     * 
88
     * @param selection 
89
     */
90
    public void deselect(FeatureSelection selection);
91

    
92
    /**
93
     * 
94
     * @param feature
95
     * @return 
96
     */
97
    public boolean isSelected(Feature feature);
98

    
99
    /**
100
     * Returns the java object associated to this python object. With the
101
     * current implementation this is not necessary, don't use now python
102
     * wrappers for java objects.
103
     *
104
     * @return 
105
     * @deprecated this method now return self alwais.
106
     *
107
     */
108
    public Object __call__();
109

    
110
}