org.geotools.arcsde.session
Class Commands.GetLayerCommand
Object
Command<SeLayer>
Commands.GetLayerCommand
- Enclosing class:
- Commands
public static final class Commands.GetLayerCommand
- extends Command<SeLayer>
Method Summary |
SeLayer |
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.GetLayerCommand
public Commands.GetLayerCommand(SeTable table)
execute
public SeLayer 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<SeLayer>
- Parameters:
session
- the Session the command is being executed insideconnection
- the session's connection, used to interact with ArcSDE
- Returns:
- the SeLayer corresponding to the provided SeTable, or
null
if the table
has no shape column
- Throws:
SeException
IOException
Copyright © 1996-2014 Geotools. All Rights Reserved.