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

Quick Search    Search Deep

com.flexstor.common.gateway
Class ImportSettingGateway  view ImportSettingGateway download ImportSettingGateway.java

java.lang.Object
  extended bycom.flexstor.common.gateway.Gateway
      extended bycom.flexstor.common.gateway.ImportSettingGateway
All Implemented Interfaces:
com.flexstor.common.constants.EjbHomeInterfacesI

public class ImportSettingGateway
extends Gateway

Gateway class to perform operations on import setting related information.

Since:
3.0

Nested Class Summary
 
Nested classes inherited from class com.flexstor.common.gateway.Gateway
 
Field Summary
static java.lang.String IDENTIFIER
           
private  com.flexstor.ejb.setting.persist.ImportSettingPersist importSetting
          Instance of ImportSettingPersist remote interface.
 
Fields inherited from class com.flexstor.common.gateway.Gateway
bInitialized, bLoadObjects, bSaveObjects, engine, util
 
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, 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
ImportSettingGateway()
           
 
Method Summary
 void connect()
          Connects to the import setting persist EJB.
protected  com.flexstor.ejb.EjbObject getBeanObject()
          Returns the bean object (EjbObject)
protected  java.lang.String getHomeName()
          Returns the home name of the bean to be accessed.
 com.flexstor.common.data.ejb.setting.ImportSettingData getImportSetting(com.flexstor.common.keys.ejb.ImportSettingKey key)
          Retrieves a Import Setting contained by FLEXSTOR.db provided a import setting key.
 com.flexstor.common.data.ejb.setting.ImportSettingData getImportSetting(java.lang.String name)
          Retrieves a import setting contained by FLEXSTOR.db provided a import setting name.
 java.util.Vector getImportSettingList()
          Retrieves a list of all available import settings contained by FLEXSTOR.db.
 java.util.Vector getImportSettings(com.flexstor.common.keys.ejb.ImportSettingCollectionKey collectionKey)
          Retrieves a list of all import settings contained by FLEXSTOR.db provided a import setting collection key.
 java.util.Vector getImportSettings(java.util.Vector keyCollection)
          Retrieves a list of all import settings contained by FLEXSTOR.db provided a list of import setting keys.
 com.flexstor.common.data.ejb.setting.ImportSettingData insert(com.flexstor.common.data.ejb.setting.ImportSettingData importSettingData)
          Inserts a Import Settings to the FLEXSTOR.db Import Setting database.
 com.flexstor.common.data.ejb.setting.ImportSettingData insert(com.flexstor.common.data.ejb.setting.ImportSettingData importSettingData, com.flexstor.common.keys.ejb.RoleKey key)
          Adds a Import Setting to a role.
 void remove(com.flexstor.common.keys.ejb.ImportSettingKey importSettingKey)
          Deletes ( removes ) a Import Setting from the FLEXSTOR.db Import Setting database.
 void remove(java.lang.String strImportSettingName)
          Deletes ( removes ) a Import Setting from the FLEXSTOR.db Import Setting database provided name of the setting.
 com.flexstor.common.data.ejb.setting.ImportSettingData update(com.flexstor.common.data.ejb.setting.ImportSettingData importSettingData)
          Updates Import Setting to the FLEXSTOR.db Import Setting database.
 
Methods inherited from class com.flexstor.common.gateway.Gateway
beginHeartbeats, buildException, buildException, canLoadObject, canSaveObject, dispose, EBJObjectToString, enableDebugging, getHome, isInitalized, retrieveObject, shutdown, storeObject, storeObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

IDENTIFIER

public static final java.lang.String IDENTIFIER
See Also:
Constant Field Values

importSetting

private com.flexstor.ejb.setting.persist.ImportSettingPersist importSetting
Instance of ImportSettingPersist remote interface.

Since:
3.0
See Also:
com.flexstor.ejb.setting.persist.ImportSettungPersist
Constructor Detail

ImportSettingGateway

public ImportSettingGateway()
Method Detail

getHomeName

protected java.lang.String getHomeName()
Returns the home name of the bean to be accessed.

Specified by:
getHomeName in class Gateway
Since:
3.0

getBeanObject

protected com.flexstor.ejb.EjbObject getBeanObject()
Returns the bean object (EjbObject)

Specified by:
getBeanObject in class Gateway
Since:
3.0

connect

public void connect()
             throws com.flexstor.common.gateway.exceptions.TransactionFailedException
Connects to the import setting persist EJB.

Since:
3.0

getImportSettingList

public java.util.Vector getImportSettingList()
                                      throws com.flexstor.common.gateway.exceptions.TransactionFailedException
Retrieves a list of all available import settings contained by FLEXSTOR.db.

Since:
3.0

getImportSettings

public java.util.Vector getImportSettings(java.util.Vector keyCollection)
                                   throws com.flexstor.common.gateway.exceptions.TransactionFailedException
Retrieves a list of all import settings contained by FLEXSTOR.db provided a list of import setting keys.

Since:
3.0

getImportSettings

public java.util.Vector getImportSettings(com.flexstor.common.keys.ejb.ImportSettingCollectionKey collectionKey)
                                   throws com.flexstor.common.gateway.exceptions.TransactionFailedException
Retrieves a list of all import settings contained by FLEXSTOR.db provided a import setting collection key.

Since:
3.0

getImportSetting

public com.flexstor.common.data.ejb.setting.ImportSettingData getImportSetting(java.lang.String name)
                                                                        throws com.flexstor.common.gateway.exceptions.TransactionFailedException
Retrieves a import setting contained by FLEXSTOR.db provided a import setting name.

Since:
3.0

getImportSetting

public com.flexstor.common.data.ejb.setting.ImportSettingData getImportSetting(com.flexstor.common.keys.ejb.ImportSettingKey key)
                                                                        throws com.flexstor.common.gateway.exceptions.TransactionFailedException
Retrieves a Import Setting contained by FLEXSTOR.db provided a import setting key.

Since:
3.0

insert

public com.flexstor.common.data.ejb.setting.ImportSettingData insert(com.flexstor.common.data.ejb.setting.ImportSettingData importSettingData)
                                                              throws com.flexstor.common.gateway.exceptions.TransactionFailedException
Inserts a Import Settings to the FLEXSTOR.db Import Setting database.

Since:
3.0

insert

public com.flexstor.common.data.ejb.setting.ImportSettingData insert(com.flexstor.common.data.ejb.setting.ImportSettingData importSettingData,
                                                                     com.flexstor.common.keys.ejb.RoleKey key)
                                                              throws com.flexstor.common.gateway.exceptions.TransactionFailedException
Adds a Import Setting to a role.

Since:
3.0

remove

public void remove(com.flexstor.common.keys.ejb.ImportSettingKey importSettingKey)
            throws com.flexstor.common.gateway.exceptions.TransactionFailedException
Deletes ( removes ) a Import Setting from the FLEXSTOR.db Import Setting database.

Since:
3.0

remove

public void remove(java.lang.String strImportSettingName)
            throws com.flexstor.common.gateway.exceptions.TransactionFailedException
Deletes ( removes ) a Import Setting from the FLEXSTOR.db Import Setting database provided name of the setting.

Since:
3.0

update

public com.flexstor.common.data.ejb.setting.ImportSettingData update(com.flexstor.common.data.ejb.setting.ImportSettingData importSettingData)
                                                              throws com.flexstor.common.gateway.exceptions.TransactionFailedException
Updates Import Setting to the FLEXSTOR.db Import Setting database.

Since:
3.0