public abstract class AbstractCheckAction extends AbstractAction
| Modifier and Type | Class and Description |
|---|---|
protected static class |
AbstractCheckAction.ProblemCountAndClasses
DOCUMENT ME!
|
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
isBackgroundCheck |
protected static org.apache.log4j.Logger |
LOG |
changeSupport, enabledACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON| Constructor and Description |
|---|
AbstractCheckAction()
Creates a new AbstractGeoprocessingAction object.
|
AbstractCheckAction(boolean isBackgroundCheck)
Creates a new AbstractGeoprocessingAction object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(ActionEvent e) |
protected void |
addService(List<de.cismet.cismap.commons.featureservice.H2FeatureService> result,
de.cismet.cismap.commons.featureservice.H2FeatureService service)
DOCUMENT ME!
|
protected de.cismet.cismap.commons.featureservice.H2FeatureService |
analyseByCustomSearch(de.cismet.cids.server.search.CidsServerSearch search,
String tableName,
List<de.cismet.cismap.commons.featureservice.FeatureServiceAttribute> featureServiceAttributes)
Uses the given query to execute an analyse.
|
protected de.cismet.cismap.commons.featureservice.H2FeatureService |
analyseByQuery(Sirius.server.middleware.types.MetaClass mc,
String query,
String tableName)
Uses the given query to execute an analyse.
|
protected de.cismet.cismap.commons.featureservice.H2FeatureService |
analyseByQuery(String query,
String tableName)
Deprecated.
use analyseByQuery(final MetaClass mc, final String query, final String tableName)
|
protected abstract AbstractCheckResult |
check(boolean isExport,
de.cismet.tools.gui.WaitDialog wd)
DOCUMENT ME!
|
protected de.cismet.cismap.commons.featureservice.H2FeatureService |
createLocalTopicByAttributeList(ArrayList<ArrayList> attributes,
String tableName,
List<de.cismet.cismap.commons.featureservice.FeatureServiceAttribute> featureServiceAttributes)
DOCUMENT ME!
|
protected de.cismet.cismap.commons.featureservice.H2FeatureService |
createLocalTopicByMetaObjects(Sirius.server.middleware.types.MetaObject[] mos,
String tableName)
DOCUMENT ME!
|
protected AbstractCheckAction.ProblemCountAndClasses |
getErrorObjectsFromTree(String owner,
int[] routeIds,
int[] classIds,
boolean export)
DOCUMENT ME!
|
protected int[] |
getIdsOfSelectedObjects(String cidsClassName)
Determines the ids of all selected features of the given class.
|
abstract int |
getProgressSteps()
DOCUMENT ME!
|
protected int[] |
getSelectedIds(boolean isExport)
DOCUMENT ME!
|
protected void |
increaseProgress(de.cismet.tools.gui.WaitDialog wd,
int steps)
DOCUMENT ME!
|
protected void |
refreshMap()
DOCUMENT ME!
|
protected void |
refreshTree()
refreshs the LayertreeWidget.
|
protected void |
removeServicesFromDb(String[] tableNames)
DOCUMENT ME!
|
protected void |
removeServicesFromLayerModel(String[] tableNames)
DOCUMENT ME!
|
protected void |
showService(de.cismet.cismap.commons.featureservice.H2FeatureService service)
Shows the service in the ThemeLayerWidget and refreshs the Capabilities tab of the internal db.
|
protected void |
showService(de.cismet.cismap.commons.featureservice.H2FeatureService service,
String folder)
Shows the service in the ThemeLayerWidget and refreshs the Capabilities tab of the internal db.
|
AbstractCheckResult |
startBackgroundCheck()
DOCUMENT ME!
|
boolean |
startCheck(boolean isExport,
de.cismet.tools.gui.WaitDialog wd,
List<de.cismet.cismap.commons.featureservice.H2FeatureService> result)
DOCUMENT ME!
|
protected abstract boolean |
startCheckInternal(boolean isExport,
de.cismet.tools.gui.WaitDialog wd,
List<de.cismet.cismap.commons.featureservice.H2FeatureService> result)
DOCUMENT ME!
|
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabledprotected static final org.apache.log4j.Logger LOG
protected boolean isBackgroundCheck
public AbstractCheckAction()
public AbstractCheckAction(boolean isBackgroundCheck)
isBackgroundCheck - DOCUMENT ME!public AbstractCheckResult startBackgroundCheck() throws Exception
Exception - DOCUMENT ME!protected abstract AbstractCheckResult check(boolean isExport, de.cismet.tools.gui.WaitDialog wd) throws Exception
isExport - DOCUMENT ME!wd - DOCUMENT ME!Exception - DOCUMENT ME!protected abstract boolean startCheckInternal(boolean isExport,
de.cismet.tools.gui.WaitDialog wd,
List<de.cismet.cismap.commons.featureservice.H2FeatureService> result)
isExport - DOCUMENT ME!wd - DOCUMENT ME!result - DOCUMENT ME!public boolean startCheck(boolean isExport,
de.cismet.tools.gui.WaitDialog wd,
List<de.cismet.cismap.commons.featureservice.H2FeatureService> result)
isExport - DOCUMENT ME!wd - DOCUMENT ME!result - DOCUMENT ME!public void actionPerformed(ActionEvent e)
public abstract int getProgressSteps()
protected void increaseProgress(de.cismet.tools.gui.WaitDialog wd,
int steps)
wd - DOCUMENT ME!steps - n DOCUMENT ME!protected void addService(List<de.cismet.cismap.commons.featureservice.H2FeatureService> result, de.cismet.cismap.commons.featureservice.H2FeatureService service)
result - DOCUMENT ME!service - DOCUMENT ME!protected int[] getSelectedIds(boolean isExport)
isExport - DOCUMENT ME!protected int[] getIdsOfSelectedObjects(String cidsClassName)
cidsClassName - the cids class name of the selected featuresprotected de.cismet.cismap.commons.featureservice.H2FeatureService analyseByQuery(String query, String tableName) throws Exception
query - the query of the analysetableName - the name of te table with the analyse resultException - DOCUMENT ME!protected de.cismet.cismap.commons.featureservice.H2FeatureService analyseByQuery(Sirius.server.middleware.types.MetaClass mc,
String query,
String tableName)
throws Exception
mc - The meta class of the resulting objectsquery - the query of the analysetableName - the name of te table with the analyse resultException - DOCUMENT ME!protected de.cismet.cismap.commons.featureservice.H2FeatureService analyseByCustomSearch(de.cismet.cids.server.search.CidsServerSearch search,
String tableName,
List<de.cismet.cismap.commons.featureservice.FeatureServiceAttribute> featureServiceAttributes)
throws Exception
search - the custom search of the analysetableName - the name of te table with the analyse resultfeatureServiceAttributes - DOCUMENT ME!Exception - DOCUMENT ME!protected de.cismet.cismap.commons.featureservice.H2FeatureService createLocalTopicByMetaObjects(Sirius.server.middleware.types.MetaObject[] mos,
String tableName)
throws Exception
mos - DOCUMENT ME!tableName - DOCUMENT ME!Exception - DOCUMENT ME!protected AbstractCheckAction.ProblemCountAndClasses getErrorObjectsFromTree(String owner, int[] routeIds, int[] classIds, boolean export) throws Exception
owner - DOCUMENT ME!routeIds - DOCUMENT ME!classIds - DOCUMENT ME!export - DOCUMENT ME!Exception - DOCUMENT ME!protected de.cismet.cismap.commons.featureservice.H2FeatureService createLocalTopicByAttributeList(ArrayList<ArrayList> attributes, String tableName, List<de.cismet.cismap.commons.featureservice.FeatureServiceAttribute> featureServiceAttributes) throws Exception
attributes - DOCUMENT ME!tableName - DOCUMENT ME!featureServiceAttributes - DOCUMENT ME!Exception - DOCUMENT ME!protected void removeServicesFromDb(String[] tableNames)
tableNames - DOCUMENT ME!protected void removeServicesFromLayerModel(String[] tableNames)
tableNames - DOCUMENT ME!protected void refreshTree()
protected void refreshMap()
protected void showService(de.cismet.cismap.commons.featureservice.H2FeatureService service)
service - DOCUMENT ME!protected void showService(de.cismet.cismap.commons.featureservice.H2FeatureService service,
String folder)
service - DOCUMENT ME!folder - DOCUMENT ME!Copyright © 2012–2026 cismet GmbH. All rights reserved.