jpl.mipl.mdms.FileService.komodo.registry.handlers
Class AddFileTypeHandler

java.lang.Object
  extended by jpl.mipl.mdms.FileService.komodo.registry.handlers.GeneralErrorHandler
      extended by jpl.mipl.mdms.FileService.komodo.registry.handlers.AddFileTypeHandler
All Implemented Interfaces:
RegistryHandler

public class AddFileTypeHandler
extends GeneralErrorHandler

Implementation of the registry handler to handle add file type registry call. This class is derived from the GeneralErrorHandler to take advantage of the automatic error capturing and reporting implementation.

Version:
$Id: AddFileTypeHandler.java,v 1.3 2004/07/29 17:55:36 txh Exp $
Author:
T. Huang, {Thomas.Huang@jpl.nasa.gov}

Constructor Summary
AddFileTypeHandler()
           
 
Method Summary
protected  void _handleResult(Hashtable result)
          Method to handle the file type id result
 int getFtId()
          Accessor method to return the file type id
 
Methods inherited from class jpl.mipl.mdms.FileService.komodo.registry.handlers.GeneralErrorHandler
_enableError, _setError, _setErrorMessage, getError, getErrorMessage, getValue, handleError, handleResult, hasError
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddFileTypeHandler

public AddFileTypeHandler()
Method Detail

_handleResult

protected void _handleResult(Hashtable result)
Method to handle the file type id result

Overrides:
_handleResult in class GeneralErrorHandler
Parameters:
result - the returned result from the registry.

getFtId

public int getFtId()
Accessor method to return the file type id

Returns:
the file type id