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

Quick Search    Search Deep

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

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

public class PrivAssetGateway
extends Gateway

Retrieves and updates privileges.

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.privasset.persist.PrivAssetPersist priv
          Instance of PrivAssetPersist 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
PrivAssetGateway()
           
 
Method Summary
 void connect()
          Connects the 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.
 java.util.Vector getPrivileges(java.util.Vector collectionKeys)
           
 java.util.Vector getPrivileges(java.util.Vector collectionKeys, int disguiseID)
           
 com.flexstor.common.keys.ejb.PrivAssetKey insert(com.flexstor.common.data.ejb.privasset.PrivAssetData data)
          Inserts a priv data.
 java.util.Vector insert(java.util.Vector data)
          Inserts a collection of priv data objects.
 void update(com.flexstor.common.data.ejb.privasset.PrivAssetData data)
          Updates a priv data.
 void update(java.util.Vector data)
          Updates a collection priv data objects.
 
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

priv

private com.flexstor.ejb.privasset.persist.PrivAssetPersist priv
Instance of PrivAssetPersist remote interface.

Since:
3.0
See Also:
com.flexstor.ejb.privasset.persist.PrivAssetPersist
Constructor Detail

PrivAssetGateway

public PrivAssetGateway()
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 the EJB.

Since:
3.0

update

public void update(com.flexstor.common.data.ejb.privasset.PrivAssetData data)
            throws com.flexstor.common.gateway.exceptions.TransactionFailedException
Updates a priv data.

Since:
3.0

update

public void update(java.util.Vector data)
            throws com.flexstor.common.gateway.exceptions.TransactionFailedException
Updates a collection priv data objects.

Since:
3.0

insert

public com.flexstor.common.keys.ejb.PrivAssetKey insert(com.flexstor.common.data.ejb.privasset.PrivAssetData data)
                                                 throws com.flexstor.common.gateway.exceptions.TransactionFailedException
Inserts a priv data.

Since:
3.0

insert

public java.util.Vector insert(java.util.Vector data)
                        throws com.flexstor.common.gateway.exceptions.TransactionFailedException
Inserts a collection of priv data objects.

Since:
3.0

getPrivileges

public java.util.Vector getPrivileges(java.util.Vector collectionKeys)
                               throws com.flexstor.common.gateway.exceptions.TransactionFailedException

getPrivileges

public java.util.Vector getPrivileges(java.util.Vector collectionKeys,
                                      int disguiseID)
                               throws com.flexstor.common.gateway.exceptions.TransactionFailedException