Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.flexstor.webframework.gateway
Class FSFTPAddressGateway  view FSFTPAddressGateway download FSFTPAddressGateway.java

java.lang.Object
  extended bycom.flexstor.webframework.gateway.FSGateway
      extended bycom.flexstor.webframework.gateway.FSFTPAddressGateway
All Implemented Interfaces:
com.flexstor.common.constants.EjbHomeInterfacesI

public class FSFTPAddressGateway
extends FSGateway

Allows to access FTP addresses through the EJB Server gateway.


Field Summary
private  com.flexstor.ejb.address.persist.FtpAddressPersist FTPAddressBean
          Holds reference to bean.
 
Fields inherited from class com.flexstor.webframework.gateway.FSGateway
engine, lTime
 
Fields inherited from interface com.flexstor.common.constants.EjbHomeInterfacesI
ADDRESS_HOME, APPLICATION_HOME, ASSET_PATH_HOME, ASSET_ROLE_LIST_HOME, ASSETS_COPY_SOURCE_HOME, ASSETS_IN_PROCESS_HOME, BUCKET_PERSIST_HOME, CART_HOME, CHECK_IN_CHECK_OUT_HOME, CHECKIN_HOME, CHECKOUT_HOME, CONTEXT_HOME, DELETE_HOME, DISGUISE_BUCKET_PERSIST_HOME, DISGUISE_FIELD_PERSIST_HOME, DISGUISE_HOME, DISPLAY_BUCKET_PERSIST_HOME, DISPLAY_FIELD_PERSIST_HOME, DISPLAY_HOME, DISPLAY_LAYOUT_PERSIST_HOME, EDIT_PERSIST_HOME, EMAIL_PERSIST_HOME, FIELD_PERSIST_HOME, FILE_STORAGE_HOME, FTP_PERSIST_HOME, GROUP_HOME, GROUP_PERSIST_HOME, IDENTIFIER, IMPORT_RECORD_HOME, IMPORT_SETTING_HOME, INSERT_HOME, LOOKUP_HOME, LOOKUPLIST_HOME, MACHINE_HOME, PICTURE_GALLERY_TEMPLATE_HOME, PING_HOME, PRIV_ASSET_HOME, PRIVILEGE_PERSIST_HOME, PROPERTY_PERSIST_HOME, REPORT_TEMPLATE_HOME, ROLE_HOME, SAVED_SEARCH_HOME, SEARCH_HOME, SEARCH_RESULT_HOME, SEND_SETTING_HOME, SEQUENCE_HOME, SERVER_LIST_HOME, SETTINGS_HOME, TRANSACTION_LOG_HOME, UPDATE_HOME, USER_HOME, USER_PERSIST_HOME, VIR_DEVICE_HOME, WHERE_PERSIST_HOME, WORKSPACE_HOME
 
Constructor Summary
FSFTPAddressGateway()
           
 
Method Summary
 void connect()
          Connects to EJB and leaves the connection open for access to the FTPAddress bean.
Once finished accessing the bean, the method dispose() must be called to close
the connection.

 com.flexstor.common.data.ejb.address.FtpAddressData create(com.flexstor.common.data.ejb.address.FtpAddressData FTPAddressData)
          Creates a new FTP address.

protected  com.flexstor.ejb.EjbObject getBeanObject()
          Overrides super class method to provide reference to bean.
 com.flexstor.common.data.ejb.address.FtpAddressData getFTPAddress(com.flexstor.common.keys.ejb.FtpAddressKey FTPAddressKey)
          Retrieves data for a FTP address.

 java.util.Vector getFTPAddresses()
          Retrieves a list of all available FTP addresses.

 java.util.Vector getFTPAddresses(java.util.Vector vFTPAddressKeys)
          Retrieves data for a list of FTP addresses.

protected  java.lang.String getHomeName()
          Overrides super class method to provide home name.
 void remove(com.flexstor.common.keys.ejb.FtpAddressKey FTPAddressKey)
          Deletes an FTP address.

 com.flexstor.common.data.ejb.address.FtpAddressData update(com.flexstor.common.data.ejb.address.FtpAddressData FTPAddressData)
          Updates an FTP address.

 
Methods inherited from class com.flexstor.webframework.gateway.FSGateway
dispose, dispose, getHome, initialize, isInitialized, shutdown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FTPAddressBean

private com.flexstor.ejb.address.persist.FtpAddressPersist FTPAddressBean
Holds reference to bean.

Constructor Detail

FSFTPAddressGateway

public FSFTPAddressGateway()
Method Detail

getHomeName

protected java.lang.String getHomeName()
Overrides super class method to provide home name.

Specified by:
getHomeName in class FSGateway

getBeanObject

protected com.flexstor.ejb.EjbObject getBeanObject()
Overrides super class method to provide reference to bean.

Specified by:
getBeanObject in class FSGateway

connect

public void connect()
             throws com.flexstor.webframework.gateway.exceptions.FSGatewayTransactionException
Connects to EJB and leaves the connection open for access to the FTPAddress bean.
Once finished accessing the bean, the method dispose() must be called to close
the connection.


getFTPAddresses

public java.util.Vector getFTPAddresses()
                                 throws com.flexstor.webframework.gateway.exceptions.FSGatewayTransactionException
Retrieves a list of all available FTP addresses.


getFTPAddress

public com.flexstor.common.data.ejb.address.FtpAddressData getFTPAddress(com.flexstor.common.keys.ejb.FtpAddressKey FTPAddressKey)
                                                                  throws com.flexstor.webframework.gateway.exceptions.FSGatewayTransactionException
Retrieves data for a FTP address.


getFTPAddresses

public java.util.Vector getFTPAddresses(java.util.Vector vFTPAddressKeys)
                                 throws com.flexstor.webframework.gateway.exceptions.FSGatewayTransactionException
Retrieves data for a list of FTP addresses.


create

public com.flexstor.common.data.ejb.address.FtpAddressData create(com.flexstor.common.data.ejb.address.FtpAddressData FTPAddressData)
                                                           throws com.flexstor.webframework.gateway.exceptions.FSGatewayTransactionException
Creates a new FTP address.


update

public com.flexstor.common.data.ejb.address.FtpAddressData update(com.flexstor.common.data.ejb.address.FtpAddressData FTPAddressData)
                                                           throws com.flexstor.webframework.gateway.exceptions.FSGatewayTransactionException
Updates an FTP address.


remove

public void remove(com.flexstor.common.keys.ejb.FtpAddressKey FTPAddressKey)
            throws com.flexstor.webframework.gateway.exceptions.FSGatewayTransactionException
Deletes an FTP address.