+ "(required for rollback)");
}
// then, make sure we're hitting a versioning datastore
RollbackType rollback = (RollbackType) element;
FeatureTypeInfo info = (FeatureTypeInfo) featureTypeInfos.get(rollback.getTypeName());
try {
if (!(info.getFeatureSource(null,null) instanceof VersioningFeatureSource)) {
throw new WFSTransactionException("Cannot perform a rollback on "
+ info.getName() + " since the backing data store is not versioning",
"", rollback.getHandle());
}
} catch (IOException e) {
throw new WFSTransactionException("Cannot get the feature source for feature type "
+ info.getName(), e, rollback.getHandle());
}
// TODO: we should check the user attribute, but for the moment
// we don't have an authentication subsystem
}