org.geotools.arcsde.session
Class Commands.GetVersionCommand
Object
Command<SeVersion>
Commands.GetVersionCommand
- Enclosing class:
- Commands
public static final class Commands.GetVersionCommand
- extends Command<SeVersion>
Command to fetch a version.
- Author:
- Gabriel Roldan
Method Summary |
SeVersion |
execute(ISession session,
SeConnection connection)
Executed to operate on an SeConnection, a Command is scheduled for execution on a Session. |
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Commands.GetVersionCommand
public Commands.GetVersionCommand(String versionName)
execute
public SeVersion execute(ISession session,
SeConnection connection)
throws SeException,
IOException
- Description copied from class:
Command
- Executed to operate on an SeConnection, a Command is scheduled for execution on a Session.
Please keep in mind that a Command should be short in duration; you are sharing this
SeConnection with other threads.
- Specified by:
execute
in class Command<SeVersion>
- Parameters:
session
- the Session the command is being executed insideconnection
- the session's connection, used to interact with ArcSDE
- Returns:
- the result of the command execution, or null if the command is not meant to return
anything (a command meant to return something should fail if not able to)
- Throws:
SeException
IOException
Copyright © 1996-2014 Geotools. All Rights Reserved.