Package org.geotools.arcsde.session.Commands

Examples of org.geotools.arcsde.session.Commands.GetVersionCommand


            @Override
            public Void execute(ISession session, SeConnection connection) throws SeException,
                    IOException {

                final SeVersion parentVersion = session.issue(new GetVersionCommand(
                        parentVersionName));
                SeVersion version = null;
                try {
                    version = session.issue(new GetVersionCommand(versionName));
                } catch (ArcSdeException e) {
                    // ignore
                }
                if (version != null) {
                    // already exists, no need to create it
View Full Code Here


    private final String versionName;

    public AutoCommitVersionHandler(final String versionName) throws IOException {
        this.versionName = versionName;
        this.getVersionCommand = new GetVersionCommand(versionName);
    }
View Full Code Here

    public TransactionVersionHandler(final ISession session, final String versionName)
            throws IOException {
        this.session = session;
        LOGGER.finest("Fetching information for version " + versionName);
        version = session.issue(new GetVersionCommand(versionName));
    }
View Full Code Here

TOP

Related Classes of org.geotools.arcsde.session.Commands.GetVersionCommand

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.