public class DiffDatasetRepository extends ParentDatasetRepository
| Constructor and Description |
|---|
DiffDatasetRepository() |
| Modifier and Type | Method and Description |
|---|---|
static void |
acceptDataset(String diffTable,
String dataTable,
String diffAuthTable,
int grpfid)
Add, update or remove a dataset from an original data table.
|
static void |
declineDataset(String diffTable,
String diffAuthTable,
int grpfid) |
static void |
deleteDatasets(String diffTableName,
String diffAuthTableName,
List<org.opengis.feature.simple.SimpleFeature> features,
long userId)
Add diff datasets as delete entries.
|
static org.geotools.feature.FeatureCollection |
getModifiedDatasets(String diffTableName,
String diffAuthTableName,
long userId,
boolean asAdmin) |
static void |
insertDatasets(String diffTableName,
String diffAuthTableName,
List<org.opengis.feature.simple.SimpleFeature> features,
long userId)
Insert new datasets into a diff table.
|
static void |
updateDatasets(String diffTableName,
String diffAuthTableName,
List<org.opengis.feature.simple.SimpleFeature> features,
long userId)
Insert datasets into a diff table that declare updates from users.
|
public static void insertDatasets(String diffTableName, String diffAuthTableName, List<org.opengis.feature.simple.SimpleFeature> features, long userId) throws IOException
tableName - the name of a diff tablefeatures - IOExceptionpublic static void updateDatasets(String diffTableName, String diffAuthTableName, List<org.opengis.feature.simple.SimpleFeature> features, long userId) throws IOException
diffTableName - features - IOExceptionpublic static void deleteDatasets(String diffTableName, String diffAuthTableName, List<org.opengis.feature.simple.SimpleFeature> features, long userId) throws IOException
diffTableName - diffAuthTableName - features - userId - IOExceptionpublic static void acceptDataset(String diffTable, String dataTable, String diffAuthTable, int grpfid) throws IOException
diffTable - dataTable - grpfid - features - userId - IOExceptionpublic static void declineDataset(String diffTable, String diffAuthTable, int grpfid) throws IOException
IOExceptionpublic static org.geotools.feature.FeatureCollection getModifiedDatasets(String diffTableName, String diffAuthTableName, long userId, boolean asAdmin) throws IOException
IOExceptionCopyright © 2021. All rights reserved.