|
|||||||||
| Home >> All >> com >> flexstor >> common >> [ gateway overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.flexstor.common.gateway
Class AdmGroupPersistGateway

java.lang.Objectcom.flexstor.common.gateway.Gateway
com.flexstor.common.gateway.AdmGroupPersistGateway
- All Implemented Interfaces:
- com.flexstor.common.constants.EjbHomeInterfacesI
- public class AdmGroupPersistGateway
- extends Gateway
Retrieves Group information.
- Since:
- 3.0
- Version:
- 3.0
| Nested Class Summary |
| Nested classes inherited from class com.flexstor.common.gateway.Gateway |
|
| Field Summary | |
private com.flexstor.ejb.user.persist.GroupPersist |
group
Instance of GroupPersist remote interface. |
static java.lang.String |
IDENTIFIER
|
| Fields inherited from class com.flexstor.common.gateway.Gateway |
bInitialized, bLoadObjects, bSaveObjects, engine, util |
| Constructor Summary | |
AdmGroupPersistGateway()
|
|
| Method Summary | |
void |
connect()
Connects the EJB for general purpose functionalities. |
void |
connect(java.lang.String groupName)
Connects to the EJB with the group name provided. |
protected com.flexstor.ejb.EjbObject |
getBeanObject()
Returns the bean object (EjbObject) |
com.flexstor.common.data.ejb.user.GroupData |
getGroup()
|
com.flexstor.common.data.ejb.user.GroupData |
getGroup(com.flexstor.common.keys.ejb.GroupKey key)
Retrieves a group provided the group key. |
com.flexstor.common.data.ejb.user.GroupData |
getGroup(java.lang.String gName)
Retrieves a group with the name specified as a parameter. |
java.util.Hashtable |
getGroupList()
Retrieves a list of all groups registered in FLEXSTOR.db. |
java.util.Vector |
getGroups(com.flexstor.common.keys.ejb.GroupCollectionKey keys)
Retrieves a group based on the group collection key. |
protected java.lang.String |
getHomeName()
Returns the home name of the bean to be accessed. |
com.flexstor.common.data.ejb.user.GroupData |
insert(com.flexstor.common.data.ejb.user.GroupData data)
Insert a new FLEXSTOR.db group to the database. |
void |
remove(com.flexstor.common.keys.ejb.GroupKey key)
Removes a group from the database. |
com.flexstor.common.data.ejb.user.GroupData |
update(com.flexstor.common.data.ejb.user.GroupData data)
Updates the Group data for this group. |
| 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.persist.GroupPersist group
- Instance of GroupPersist remote interface.
- Since:
- 3.0
| Constructor Detail |
AdmGroupPersistGateway
public AdmGroupPersistGateway()
| Method Detail |
getHomeName
protected java.lang.String getHomeName()
- Returns the home name of the bean to be accessed.
- Specified by:
getHomeNamein classGateway
- Since:
- 3.0
getBeanObject
protected com.flexstor.ejb.EjbObject getBeanObject()
- Returns the bean object (EjbObject)
- Specified by:
getBeanObjectin classGateway
- Since:
- 3.0
connect
public void connect(java.lang.String groupName) throws com.flexstor.common.gateway.exceptions.TransactionFailedException
- Connects to the EJB with the group name provided. Rest all the functions
would then be called for this group only.
- Since:
- 3.0
connect
public void connect()
throws com.flexstor.common.gateway.exceptions.TransactionFailedException
- Connects the EJB for general purpose functionalities.
- Since:
- 3.0
getGroupList
public java.util.Hashtable getGroupList() throws com.flexstor.common.gateway.exceptions.TransactionFailedException
- Retrieves a list of all groups registered in FLEXSTOR.db.
- 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
- Retrieves a group provided the group key.
- Since:
- 3.0
getGroup
public com.flexstor.common.data.ejb.user.GroupData getGroup(java.lang.String gName) throws com.flexstor.common.gateway.exceptions.TransactionFailedException
- Retrieves a group with the name specified as a parameter.
- Since:
- 3.0
getGroup
public com.flexstor.common.data.ejb.user.GroupData getGroup() throws com.flexstor.common.gateway.exceptions.TransactionFailedException
getGroups
public java.util.Vector getGroups(com.flexstor.common.keys.ejb.GroupCollectionKey keys) throws com.flexstor.common.gateway.exceptions.TransactionFailedException
- Retrieves a group based on the group collection key.
insert
public com.flexstor.common.data.ejb.user.GroupData insert(com.flexstor.common.data.ejb.user.GroupData data) throws com.flexstor.common.gateway.exceptions.TransactionFailedException
- Insert a new FLEXSTOR.db group to the database.
- Since:
- 3.0
remove
public void remove(com.flexstor.common.keys.ejb.GroupKey key) throws com.flexstor.common.gateway.exceptions.TransactionFailedException
- Removes a group from the database.
- Since:
- 3.0
update
public com.flexstor.common.data.ejb.user.GroupData update(com.flexstor.common.data.ejb.user.GroupData data) throws com.flexstor.common.gateway.exceptions.TransactionFailedException
- Updates the Group data for this group.
- Since:
- 3.0
|
|||||||||
| Home >> All >> com >> flexstor >> common >> [ gateway overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC