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

Quick Search    Search Deep

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

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

public class AdmGroupGateway
extends Gateway

Retrieves information from the server for a specific group.

Since:
3.0

Nested Class Summary
 
Nested classes inherited from class com.flexstor.common.gateway.Gateway
 
Field Summary
private  com.flexstor.ejb.user.FlexGroup group
          The instance of FlexGroup remote interface.
static java.lang.String IDENTIFIER
           
 
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
AdmGroupGateway()
           
 
Method Summary
 void connect()
          Connects to the EJB.
 void connect(java.lang.String groupName)
          Connects to the EJB.
protected  com.flexstor.ejb.EjbObject getBeanObject()
          Returns the bean object.
 com.flexstor.common.data.ejb.user.GroupData getGroup(com.flexstor.common.keys.ejb.GroupKey key)
          Returns the group for the specific group key privided.
 com.flexstor.common.data.ejb.user.GroupData getGroup(java.lang.String gName)
          Returns the group specified with name.
protected  java.lang.String getHomeName()
          Returns the published name for the home interface of group bean.
 com.flexstor.common.data.ejb.role.RoleData getRole()
          Returns the role data object for the group.
 java.util.Hashtable getRoles(com.flexstor.common.keys.ejb.GroupCollectionKey aKey)
          Returns the role provided a group collection key.
 java.util.Hashtable getRoles(com.flexstor.common.keys.ejb.GroupCollectionKey aKey, com.flexstor.common.keys.ejb.RoleKey aRoleKey)
          Returns the role for the collection of groups.
 com.flexstor.common.data.ejb.role.RoleData getRoleUnion(com.flexstor.common.keys.ejb.GroupCollectionKey aKey, com.flexstor.common.keys.ejb.RoleKey aRoleKey)
          Returns the union role for the collection of group provided a group collection key.
 
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

group

private com.flexstor.ejb.user.FlexGroup group
The instance of FlexGroup remote interface.

Constructor Detail

AdmGroupGateway

public AdmGroupGateway()
Method Detail

getHomeName

protected java.lang.String getHomeName()
Returns the published name for the home interface of group bean.

Specified by:
getHomeName in class Gateway
Since:
3.0

getBeanObject

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

Specified by:
getBeanObject in class Gateway

connect

public void connect(java.lang.String groupName)
             throws com.flexstor.common.gateway.exceptions.TransactionFailedException
Connects to the EJB.

Since:
3.0

connect

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

Since:
3.0

getGroup

public com.flexstor.common.data.ejb.user.GroupData getGroup(com.flexstor.common.keys.ejb.GroupKey key)
                                                     throws com.flexstor.common.gateway.exceptions.TransactionFailedException
Returns the group for the specific group key privided.


getGroup

public com.flexstor.common.data.ejb.user.GroupData getGroup(java.lang.String gName)
                                                     throws com.flexstor.common.gateway.exceptions.TransactionFailedException
Returns the group specified with name.

Since:
3.0

getRoleUnion

public com.flexstor.common.data.ejb.role.RoleData getRoleUnion(com.flexstor.common.keys.ejb.GroupCollectionKey aKey,
                                                               com.flexstor.common.keys.ejb.RoleKey aRoleKey)
                                                        throws com.flexstor.common.gateway.exceptions.TransactionFailedException
Returns the union role for the collection of group provided a group collection key.

Since:
3.0

getRoles

public java.util.Hashtable getRoles(com.flexstor.common.keys.ejb.GroupCollectionKey aKey,
                                    com.flexstor.common.keys.ejb.RoleKey aRoleKey)
                             throws com.flexstor.common.gateway.exceptions.TransactionFailedException
Returns the role for the collection of groups.

Since:
3.0

getRoles

public java.util.Hashtable getRoles(com.flexstor.common.keys.ejb.GroupCollectionKey aKey)
                             throws com.flexstor.common.gateway.exceptions.TransactionFailedException
Returns the role provided a group collection key.

Since:
3.0

getRole

public com.flexstor.common.data.ejb.role.RoleData getRole()
                                                   throws com.flexstor.common.gateway.exceptions.TransactionFailedException
Returns the role data object for the group.

Since:
3.0