Copyright © 2002 SAP AG. All Rights Reserved.

com.sap.security.core.server.securestorage.command
Class AbstractCommandSecureStorage

java.lang.Object
  |
  +--com.sap.security.core.server.securestorage.command.AbstractCommandSecureStorage
All Implemented Interfaces:
com.sap.engine.interfaces.shell.Command
Direct Known Subclasses:
AddStringEntryCommand, DeleteObjectCommand, GenerateSecretKeyCommand, GetClientCommand, GetKeysCommand, GetObjectCommand, ReEncryptCommand

public abstract class AbstractCommandSecureStorage
extends java.lang.Object
implements com.sap.engine.interfaces.shell.Command

CommandSecureStorageAbstract, which should be the base-class for all commands.


Constructor Summary
AbstractCommandSecureStorage(SecureStorageRuntimeInterface secureStorageRuntimeInterface)
           
 
Method Summary
abstract  java.lang.String getDescription()
          Returns a description text.
 java.lang.String getGroup()
          Returns the name of the group the command belongs to.
 java.lang.String getHelpMessage()
          Gives a short help message about the command
protected  SecureStorageRuntimeInterface getSecureStorageRuntimeInterface()
          the SecureStorageRuntimeInterface object (given in the constructor)
 java.lang.String[] getSupportedShellProviderNames()
          Gives the name of the supported shell providers
abstract  java.lang.String getUsage()
          Returns a usage-text.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.sap.engine.interfaces.shell.Command
exec, getName
 

Constructor Detail

AbstractCommandSecureStorage

public AbstractCommandSecureStorage(SecureStorageRuntimeInterface secureStorageRuntimeInterface)
Method Detail

getSecureStorageRuntimeInterface

protected SecureStorageRuntimeInterface getSecureStorageRuntimeInterface()
the SecureStorageRuntimeInterface object (given in the constructor)

getGroup

public java.lang.String getGroup()
Returns the name of the group the command belongs to.
Specified by:
getGroup in interface com.sap.engine.interfaces.shell.Command
Returns:
The name of the group of commands, in which this command belongs.

getHelpMessage

public java.lang.String getHelpMessage()
Gives a short help message about the command
Specified by:
getHelpMessage in interface com.sap.engine.interfaces.shell.Command
Returns:
A help message for this command.

getSupportedShellProviderNames

public java.lang.String[] getSupportedShellProviderNames()
Gives the name of the supported shell providers
Specified by:
getSupportedShellProviderNames in interface com.sap.engine.interfaces.shell.Command
Returns:
The Shell providers' names who supports this command.

getDescription

public abstract java.lang.String getDescription()
Returns a description text.

getUsage

public abstract java.lang.String getUsage()
Returns a usage-text.

Copyright © 2002 SAP AG. All Rights Reserved.