1 package org.argeo.connect.ui;
2
3 import java.util.List;
4
5 /**
6 * Views and editors can implement this interface so that one of the row list
7 * that is displayed in the part can be rebuild externally. Typically to
8 * generate csv or calc extract.
9 */
10 public interface IJcrTableViewer {
11 /**
12 * Returns the list to display in the spread sheet
13 */
14 public Object[] getElements(String extractId);
15
16 /**
17 * Returns the column definition for passed ID
18 */
19 public List<ConnectColumnDefinition> getColumnDefinition(String extractId);
20 }