congrats Icon
New! Announcing our next generation AI code completions
Read here
Tabnine Logo
TransactionSummaryType
Code IndexAdd Tabnine to your IDE (free)

How to use
TransactionSummaryType
in
net.opengis.wfs

Best Java code snippets using net.opengis.wfs.TransactionSummaryType (Showing top 5 results out of 315)

origin: geotools/geotools

BigInteger totalInserted = ts.getTotalInserted();
BigInteger totalDeleted = ts.getTotalDeleted();
BigInteger totalUpdated = ts.getTotalUpdated();
this.updatedCount = totalUpdated == null ? -1 : totalUpdated.intValue();
this.deletedCount = totalDeleted == null ? -1 : totalDeleted.intValue();
origin: org.geoserver/wfsv

final QName layerName = rollback.getTypeName();
VersioningFeatureStore vstore = (VersioningFeatureStore) featureStores.get(layerName);
long inserted = response.getTransactionSummary().getTotalInserted().longValue();
long updated = response.getTransactionSummary().getTotalUpdated().longValue();
long deleted = response.getTransactionSummary().getTotalDeleted().longValue();
  response.getTransactionSummary().setTotalInserted(BigInteger.valueOf(inserted));
  response.getTransactionSummary().setTotalUpdated(BigInteger.valueOf(updated));
  response.getTransactionSummary().setTotalDeleted(BigInteger.valueOf(deleted));
} catch (IOException e) {
  throw new WFSTransactionException("Could not perform the rollback", e, rollback
origin: org.geoserver/gs-wfs

@Override
public TransactionResponse createResponse() {
  WfsFactory factory = (WfsFactory) getFactory();
  TransactionResponseType tr = factory.createTransactionResponseType();
  tr.setTransactionSummary(factory.createTransactionSummaryType());
  tr.getTransactionSummary().setTotalInserted(BigInteger.valueOf(0));
  tr.getTransactionSummary().setTotalUpdated(BigInteger.valueOf(0));
  tr.getTransactionSummary().setTotalDeleted(BigInteger.valueOf(0));
  tr.setTransactionResults(factory.createTransactionResultsType());
  tr.setInsertResults(factory.createInsertResultsType());
  return new TransactionResponse.WFS11(tr);
}
origin: org.n52.sensorweb/52n-xml-wfs-v110

/**
 * Sets the "TransactionSummary" element
 */
public void setTransactionSummary(net.opengis.wfs.TransactionSummaryType transactionSummary)
{
  synchronized (monitor())
  {
    check_orphaned();
    net.opengis.wfs.TransactionSummaryType target = null;
    target = (net.opengis.wfs.TransactionSummaryType)get_store().find_element_user(TRANSACTIONSUMMARY$0, 0);
    if (target == null)
    {
      target = (net.opengis.wfs.TransactionSummaryType)get_store().add_element_user(TRANSACTIONSUMMARY$0);
    }
    target.set(transactionSummary);
  }
}

origin: org.geotools/gt-wfs-ng

BigInteger totalInserted = ts.getTotalInserted();
BigInteger totalDeleted = ts.getTotalDeleted();
BigInteger totalUpdated = ts.getTotalUpdated();
this.updatedCount = totalUpdated == null ? -1 : totalUpdated.intValue();
this.deletedCount = totalDeleted == null ? -1 : totalDeleted.intValue();
net.opengis.wfsTransactionSummaryType

Javadoc

A representation of the model object 'Transaction Summary Type'. Reports the total number of features affected by some kind of write action (i.e, insert, update, delete).

The following features are supported:

  • net.opengis.wfs.TransactionSummaryType#getTotalInserted
  • net.opengis.wfs.TransactionSummaryType#getTotalUpdated
  • net.opengis.wfs.TransactionSummaryType#getTotalDeleted

Most used methods

  • getTotalDeleted
    Gets the "totalDeleted" element
  • getTotalInserted
    Gets the "totalInserted" element
  • getTotalUpdated
    Gets the "totalUpdated" element
  • setTotalDeleted
    Sets the "totalDeleted" element
  • setTotalInserted
    Sets the "totalInserted" element
  • setTotalUpdated
    Sets the "totalUpdated" element
  • set

Popular in Java

  • Running tasks concurrently on multiple threads
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • findViewById (Activity)
  • getExternalFilesDir (Context)
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • FileInputStream (java.io)
    An input stream that reads bytes from a file. File file = ...finally if (in != null) in.clos
  • SortedSet (java.util)
    SortedSet is a Set which iterates over its elements in a sorted order. The order is determined eithe
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • JLabel (javax.swing)
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • Top 25 Plugins for Webstorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now