public class TableData extends SnapData
Constructor and Description |
---|
TableData() |
Modifier and Type | Method and Description |
---|---|
Entity |
createEntity()
Creates the entity for this table.
|
void |
delete()
Override to delete entity.
|
static TableData |
get(WebFile aFile)
Returns the TableData for given file.
|
Entity |
getEntity()
Returns the entity.
|
java.util.List<Row> |
getRows(Query aQuery)
Returns a list of rows for a query.
|
SnapTable |
getTable()
Returns the SnapTable for this TableFile.
|
SnapTableView |
getTableView()
Returns the default view for this table.
|
void |
refresh()
Reverts file.
|
void |
save()
Override to save entity.
|
void |
setEntity(Entity anEntity)
Sets the entity.
|
createBytes, createSourceURL, get, getBytes, getInputStream, getSite, getSource, getSourceFile, getSourceURL, is, setBytes, setSource
public Entity getEntity()
public void setEntity(Entity anEntity)
public Entity createEntity()
public SnapTable getTable()
public SnapTableView getTableView()
public void save() throws java.lang.Exception
public void delete() throws java.lang.Exception