public class RecordStoreLayer extends AbstractRecordLayer
ALL, FORM_FACTORY_EXPRESSIONICON_LAYER, sync| Constructor and Description |
|---|
RecordStoreLayer(Map<String,? extends Object> properties) |
RecordStoreLayer(RecordStore recordStore,
String typePath,
boolean exists) |
addComplete, addHighlightedRecord, addHighlightedRecords, addHighlightedRecords, addModifiedRecord, addNewRecord, addProxyRecord, addRecordsToCache, addRenderer, addSelectedRecord, addSelectedRecords, addSelectedRecords, addSelectedRecords, addToIndex, addToIndex, addUserReadOnlyFieldNames, addVisibleLayers, cancelChanges, canPasteRecordGeometry, clearSelectedRecords, clearSelectedRecordsIndex, copyRecord, copyRecordGeometry, copyRecordsToClipboard, copySelectedRecords, createDefaultForm, createForm, createPropertiesPanel, createPropertiesPanelFieldNamesSet, createPropertiesPanelFields, createPropertiesPanelSnapping, createPropertiesPanelStyle, createPropertiesTabGeneral, createPropertiesTabGeneralPanelFilter, createPropertyEdit, createRecord, createRecord, createTablePanel, createTableViewComponent, deleteRecord, deleteRecords, deleteRecords, deleteSelectedRecords, doDeleteRecord, doSaveChanges, doSaveChanges, exportRecords, filterQueryResults, filterQueryResults, fireHighlighted, fireRecordDeleted, fireRecordInserted, fireRecordsChanged, fireRecordUpdated, fireSelected, getAndRemoveSame, getCacheIdDeleted, getCacheIdHighlighted, getCacheIdIndex, getCacheIdModified, getCacheIdNew, getCacheIdSelected, getChangeCount, getChanges, getChildClasses, getCoordinateSystem, getDeletedRecordCount, getDeletedRecords, getEditSync, getFieldNames, getFieldNamesSet, getFieldNamesSet, getFieldNamesSetName, getFieldNamesSetNames, getFieldNamesSets, getFieldTitle, getGeometryFieldName, getGeometryType, getHighlightedBoundingBox, getHighlightedCount, getHighlightedRecords, getIdFieldName, getIgnorePasteFields, getIndex, getMergeableSelectedRecords, getMergedRecord, getModifiedRecordCount, getModifiedRecords, getNewRecordCount, getNewRecords, getPasteRecordGeometry, getProxyRecords, getQuery, getRecord, getRecordDefinition, getRecords, getRowCount, getSelectedBoundingBox, getSelectedRecords, getSelectedRecords, getSelectedRecordsIndex, getSelectionCount, getSnapLayerPaths, getUserReadOnlyFieldNames, getVisibleLayers, getWhere, getWhereCondition, hasFieldNamesSet, hasGeometryAttribute, hasPermission, internalCancelChanges, internalIsDeleted, internalPostSaveChanges, internalSaveChanges, isCanAddRecords, isCanDeleteRecords, isCanEditRecords, isCanMergeRecords, isCanPaste, isClonable, isDeleted, isEmpty, isFieldUserReadOnly, isHasCachedRecords, isHasChanges, isHasGeometry, isHasSelectedRecords, isHidden, isHighlighted, isModified, isNew, isPostSaveRemoveCacheId, isReadOnly, isSelected, isSnapToAllLayers, isUseFieldTitles, isVisible, mergeSelectedRecords, pasteRecordGeometry, pasteRecords, postSaveChanges, postSaveModifiedRecord, postSaveNewRecord, propertyChange, query, query, query, queryBackground, recordPasted, removeForms, removeFromIndex, removeFromIndex, removeFromIndex, removeHighlightedRecord, removeProxyRecord, removeRecordsFromCache, removeSelectedRecord, replaceValues, saveChanges, saveChanges, saveChanges, saveChanges, setBoundingBox, setCanAddRecords, setCanDeleteRecords, setCanEditRecords, setEditable, setFieldNamesSetName, setFieldNamesSets, setGeometryFactory, setHighlightedRecords, setIndexRecords, setProperty, setQuery, setRecordDefinition, setSelectedHighlighted, setSelectedRecords, setSelectedRecords, setSelectedRecords, setSelectedRecordsById, setSnapLayerPaths, setSnapToAllLayers, setUseFieldTitles, setUserReadOnlyFieldNames, setWhere, setWhereCondition, showAddForm, showRecordsTable, showRecordsTable, splitRecord, splitRecord, splitRecord, unHighlightRecords, unHighlightRecords, unSelectRecords, unSelectRecords, updateRecordState, updateSpatialIndex, zoomToBoundingBox, zoomToGeometry, zoomToHighlighted, zoomToRecord, zoomToRecords, zoomToSelectedaddParent, addRenderer, canSaveSettings, checkShowProperties, compareTo, createPanelComponent, createPropertiesTabCoordinateSystem, createPropertiesTabGeneralPanelGeneral, deleteWithConfirm, doRefreshAll, doSaveSettings, fireIndexedPropertyChange, firePropertyChange, getBeanPropertyListener, getBoundingBox, getDirectory, getGeometryFactory, getIcon, getId, getLayerGroup, getMaximumScale, getMinimumScale, getName, getParent, getPath, getPathList, getPluginConfig, getProject, getPropertyChangeSupport, getRenderer, getSettingsFileName, getSync, getType, initialize, isEditable, isEditable, isEventsEnabled, isExists, isInitialized, isQueryable, isQuerySupported, isSelectable, isSelectable, isSelectSupported, isVisible, isVisible, isZoomToLayerEnabled, refresh, refreshAll, saveSettings, saveSettings, setEventsEnabled, setExists, setIcon, setInitialized, setLayerGroup, setMaximumScale, setMinimumScale, setName, setPluginConfig, setPluginConfig, setPluginConfig, setProperties, setQueryable, setQuerySupported, setReadOnly, setRenderer, setSelectable, setSelectSupported, setType, setVisible, showProperties, showProperties, showRendererProperties, showTableView, toggleEditable, toString, zoomToLayerclearProperties, close, getProperties, getProperty, getProperty, removeProperty, setPropertySoft, setPropertyWeakequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitclearProperties, getProperties, getProperty, getProperty, removeProperty, setPropertySoft, setPropertyWeakpublic RecordStoreLayer(RecordStore recordStore, String typePath, boolean exists)
public static AbstractLayer create(Map<String,Object> properties)
protected <V extends LayerRecord> boolean addProxyRecordToList(List<V> records, LayerRecord record)
public LayerRecord addRecordToCache(Label cacheId, LayerRecord record)
addRecordToCache in class AbstractRecordLayerprotected void cleanCachedRecords()
cleanCachedRecords in class AbstractRecordLayerpublic void clearCachedRecords(Label cacheId)
clearCachedRecords in class AbstractRecordLayerprotected void clearLoading(BoundingBox loadedBoundingBox)
public RecordStoreLayer clone()
clone in class AbstractRecordLayerprotected LoadingWorker createLoadingWorker(BoundingBox boundingBox)
protected ValueField createPropertiesTabGeneralPanelSource(BasePanel parent)
createPropertiesTabGeneralPanelSource in class AbstractLayerprotected <V extends LayerRecord> V createProxyRecord(Identifier identifier)
public LayerRecord createRecord(Map<String,Object> values)
createRecord in class AbstractRecordLayerpublic void delete()
delete in interface Layerdelete in class AbstractRecordLayerprotected boolean doInitialize()
doInitialize in class AbstractLayerprotected List<LayerRecord> doQuery(BoundingBox boundingBox)
doQuery in class AbstractRecordLayerpublic List<LayerRecord> doQuery(Geometry geometry, double distance)
doQuery in class AbstractRecordLayerprotected List<LayerRecord> doQuery(Query query)
doQuery in class AbstractRecordLayerprotected List<LayerRecord> doQueryBackground(BoundingBox boundingBox)
doQueryBackground in class AbstractRecordLayerprotected void doRefresh()
doRefresh in class AbstractRecordLayerprotected boolean doSaveChanges(LayerRecord record)
doSaveChanges in class AbstractRecordLayerpublic BoundingBox getBoundingBox()
getBoundingBox in interface LayergetBoundingBox in class AbstractRecordLayerpublic <V extends LayerRecord> V getCachedRecord(Identifier identifier)
getCachedRecord in class AbstractRecordLayerpublic int getCachedRecordCount(Label cacheId)
getCachedRecordCount in class AbstractRecordLayerprotected <V extends LayerRecord> List<V> getCachedRecords()
protected <V extends LayerRecord> List<V> getCachedRecords(Collection<? extends V> records)
public List<LayerRecord> getCachedRecords(Label cacheId)
getCachedRecords in class AbstractRecordLayerpublic FieldDefinition getGeometryField()
protected Identifier getId(LayerRecord record)
public BoundingBox getLoadingBoundingBox()
public LayerRecord getRecordById(Identifier id)
getRecordById in class AbstractRecordLayerprotected List<LayerRecord> getRecords(BoundingBox boundingBox)
protected List<LayerRecord> getRecordsFromRecordStore(BoundingBox boundingBox)
public RecordStore getRecordStore()
getRecordStore in class AbstractRecordLayerpublic int getRowCount(Query query)
getRowCount in class AbstractRecordLayerpublic String getTypePath()
getTypePath in class AbstractRecordLayerpublic boolean isCached(Label cacheId, LayerRecord record)
public boolean isLayerRecord(Record record)
isLayerRecord in class AbstractRecordLayerpublic boolean isRecordCached(Label cacheId, LayerRecord record)
isRecordCached in class AbstractRecordLayerprotected boolean postSaveDeletedRecord(LayerRecord record)
postSaveDeletedRecord in class AbstractRecordLayerprotected void preDeleteRecord(LayerRecord record)
public List<LayerRecord> query(Map<String,? extends Object> filter)
protected void removeForm(LayerRecord record)
removeForm in class AbstractRecordLayerpublic boolean removeRecordFromCache(Label cacheId, LayerRecord record)
removeRecordFromCache in class AbstractRecordLayerpublic boolean removeRecordFromCache(LayerRecord record)
removeRecordFromCache in class AbstractRecordLayerpublic void revertChanges(LayerRecord record)
revertChanges in class AbstractRecordLayerprotected void setIndexRecords(BoundingBox loadedBoundingBox, List<LayerRecord> records)
public <V extends LayerRecord> List<V> setRecordsToCache(Label cacheId, Collection<? extends LayerRecord> records)
protected void setRecordStore(RecordStore recordStore)
public void setTypePath(String typePath)
public <V extends JComponent> V showForm(LayerRecord record)
showForm in class AbstractRecordLayerpublic Map<String,Object> toMap()
MapSerializerConvert the object to a Map of property name, value pairs. The values can be one of the following supported types. Other values should be converted to one of these values.
toMap in interface MapSerializertoMap in class AbstractRecordLayerpublic void unSelectRecords(BoundingBox boundingBox)
unSelectRecords in class AbstractRecordLayerCopyright © 2015 Revolution Systems Inc.. All rights reserved.