/** * Returns the native store for a specified type name * * @param typeName * @return * @throws IOException */ public DataStore getDataStore(String typeName) throws IOException { // grab the store for a specific feature type, making sure it's actually there DataStore store = cache.getDataStore(typeName, true); if (store == null) throw new IOException("Feature type " + typeName + " is unknown"); return store; }
public void lockFeatureID( String typeName, String authID, Transaction transaction, FeatureLock featureLock) throws IOException { DataStore store = cache.getDataStore(typeName, false); if ((store != null) && (store.getLockingManager() != null)) { store.getLockingManager().lockFeatureID(typeName, authID, transaction, featureLock); } } }
public void unLockFeatureID( String typeName, String authID, Transaction transaction, FeatureLock featureLock) throws IOException { DataStore store = cache.getDataStore(typeName, false); if ((store != null) && (store.getLockingManager() != null)) { store.getLockingManager().unLockFeatureID(typeName, authID, transaction, featureLock); } }
public DataStore getDataStore(String typeName) throws IOException { // grab the store for a specific feature type, making sure it's actually there DataStore store = cache.getDataStore(typeName, true); if(store == null) throw new IOException("Feature type " + typeName + " is unknown"); return store; }
/** * Returns the native store for a specified type name * @param typeName * @return * @throws IOException */ public DataStore getDataStore(String typeName) throws IOException { // grab the store for a specific feature type, making sure it's actually there DataStore store = cache.getDataStore(typeName, true); if(store == null) throw new IOException("Feature type " + typeName + " is unknown"); return store; }
public void lockFeatureID(String typeName, String authID, Transaction transaction, FeatureLock featureLock) throws IOException { DataStore store = cache.getDataStore(typeName, false); if ((store != null) && (store.getLockingManager() != null)) { store.getLockingManager().lockFeatureID(typeName, authID, transaction, featureLock); } }
public void unLockFeatureID(String typeName, String authID, Transaction transaction, FeatureLock featureLock) throws IOException { DataStore store = cache.getDataStore(typeName, false); if ((store != null) && (store.getLockingManager() != null)) { store.getLockingManager().unLockFeatureID(typeName, authID, transaction, featureLock); } }
public void lockFeatureID(String typeName, String authID, Transaction transaction, FeatureLock featureLock) throws IOException { DataStore store = cache.getDataStore(typeName, false); if ((store != null) && (store.getLockingManager() != null)) { store.getLockingManager().lockFeatureID(typeName, authID, transaction, featureLock); } }
public void unLockFeatureID(String typeName, String authID, Transaction transaction, FeatureLock featureLock) throws IOException { DataStore store = cache.getDataStore(typeName, false); if ((store != null) && (store.getLockingManager() != null)) { store.getLockingManager().unLockFeatureID(typeName, authID, transaction, featureLock); } }