|
|||||||||
| 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 UserGateway

java.lang.Objectcom.flexstor.common.gateway.Gateway
com.flexstor.common.gateway.UserGateway
- All Implemented Interfaces:
- com.flexstor.common.constants.EjbHomeInterfacesI
- public class UserGateway
- extends Gateway
Retrieves information from the server for a specific user.
- Version:
- 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.user.User |
user
|
| Fields inherited from class com.flexstor.common.gateway.Gateway |
bInitialized, bLoadObjects, bSaveObjects, engine, util |
| Constructor Summary | |
UserGateway()
|
|
| Method Summary | |
void |
changePassword(java.lang.String sNewPassword)
Changes the password for the current user. |
void |
changePassword(java.lang.String sUserID,
java.lang.String sPassword,
java.lang.String sNewPassword)
Changes the password for the current user. |
void |
connect(java.lang.String sUserID)
Sends the request for user data to the server. |
void |
connect(java.lang.String sUserID,
java.lang.String sPassword)
Sends the request for user authentication and user data to the server. |
protected com.flexstor.ejb.EjbObject |
getBeanObject()
Returns the instance of the current bean, or null if the bean has not been created. |
java.util.Hashtable |
getDisguiseList()
Returns a list of disguises for this user. |
protected java.lang.String |
getHomeName()
Returns the name of the home interface. |
com.flexstor.common.data.ejb.role.RoleData |
getRoleData()
Gets the role data for this user. |
com.flexstor.common.data.ejb.user.UserData |
getUserData()
Gets the user data for this user. |
void |
updateRoleData(com.flexstor.common.data.ejb.role.RoleData data)
Updates the role data for this user. |
void |
updateRolePreferences(java.util.Hashtable h)
Updates the preferences for this role. |
void |
updateUserData(com.flexstor.common.data.ejb.user.UserData data)
Updates the user data for this user. |
| 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
user
private com.flexstor.ejb.user.User user
| Constructor Detail |
UserGateway
public UserGateway()
| Method Detail |
getHomeName
protected java.lang.String getHomeName()
- Description copied from class:
Gateway - Returns the name of the home interface.
- Specified by:
getHomeNamein classGateway
getBeanObject
protected com.flexstor.ejb.EjbObject getBeanObject()
- Description copied from class:
Gateway - Returns the instance of the current bean, or null if the bean has not been created.
- Specified by:
getBeanObjectin classGateway
connect
public void connect(java.lang.String sUserID) throws com.flexstor.common.gateway.exceptions.TransactionFailedException
- Sends the request for user data to the server.
WARNING: This method does NOT perform user authentication!!
connect
public void connect(java.lang.String sUserID, java.lang.String sPassword) throws com.flexstor.common.gateway.exceptions.TransactionFailedException
- Sends the request for user authentication and user data to the server.
changePassword
public void changePassword(java.lang.String sNewPassword) throws com.flexstor.common.gateway.exceptions.TransactionFailedException
- Changes the password for the current user.
changePassword
public void changePassword(java.lang.String sUserID, java.lang.String sPassword, java.lang.String sNewPassword) throws com.flexstor.common.gateway.exceptions.TransactionFailedException
- Changes the password for the current user.
getRoleData
public com.flexstor.common.data.ejb.role.RoleData getRoleData() throws com.flexstor.common.gateway.exceptions.TransactionFailedException
- Gets the role data for this user.
updateRoleData
public void updateRoleData(com.flexstor.common.data.ejb.role.RoleData data) throws com.flexstor.common.gateway.exceptions.TransactionFailedException
- Updates the role data for this user.
updateRolePreferences
public void updateRolePreferences(java.util.Hashtable h) throws com.flexstor.common.gateway.exceptions.TransactionFailedException
- Updates the preferences for this role.
getUserData
public com.flexstor.common.data.ejb.user.UserData getUserData() throws com.flexstor.common.gateway.exceptions.TransactionFailedException
- Gets the user data for this user.
updateUserData
public void updateUserData(com.flexstor.common.data.ejb.user.UserData data) throws com.flexstor.common.gateway.exceptions.TransactionFailedException
- Updates the user data for this user.
getDisguiseList
public java.util.Hashtable getDisguiseList() throws com.flexstor.common.gateway.exceptions.TransactionFailedException
- Returns a list of disguises for this user.
|
|||||||||
| Home >> All >> com >> flexstor >> common >> [ gateway overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC