henplus.commands.properties
Class SessionPropertyCommand
java.lang.Object
henplus.AbstractCommand
henplus.commands.properties.AbstractPropertyCommand
henplus.commands.properties.SessionPropertyCommand
- All Implemented Interfaces:
- Command
public class SessionPropertyCommand
- extends AbstractPropertyCommand
handle session local properties.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SessionPropertyCommand
public SessionPropertyCommand(HenPlus henplus)
getSetCommand
protected String getSetCommand()
- Description copied from class:
AbstractPropertyCommand
- returns the name of the command this command reacts on.
- Specified by:
getSetCommand
in class AbstractPropertyCommand
getHelpHeader
protected String getHelpHeader()
- Specified by:
getHelpHeader
in class AbstractPropertyCommand
getRegistry
protected PropertyRegistry getRegistry()
- Description copied from class:
AbstractPropertyCommand
- the PropertyRegistry associcaed with the current
- Specified by:
getRegistry
in class AbstractPropertyCommand
requiresValidSession
public boolean requiresValidSession(String cmd)
- Description copied from interface:
Command
- returns true, if this command requires a valid SQLSession, i.e. if the
Command.execute(SQLSession,String,String)
method makes use of the
session (e.g. to get some Database connection) or not. Return 'true'
if unsure (you should be sure..). This is to thwart attempts to
execute a command without session.
- Specified by:
requiresValidSession
in interface Command
- Overrides:
requiresValidSession
in class AbstractCommand
- Parameters:
cmd
- the subcommand this is requested for; one of the
commands returned by Command.getCommandList()
.
? 1997..2006 Henner Zeller