|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.sap.mdm.session.AbstractSessionContext
com.sap.mdm.session.ServerSessionContext
com.sap.mdm.session.RepositorySessionContext
com.sap.mdm.session.UserSessionContext
This class represents the context of the user session. The context includes: all elements of RepositorySessionContext plus region name
ServerSessionContext,
RepositorySessionContext,
Serialized Form| Field Summary |
| Fields inherited from class com.sap.mdm.session.ServerSessionContext |
DEFAUL_USER_NAME, DEFAULT_USER_NAME |
| Constructor Summary | |
UserSessionContext()
C'tor |
|
UserSessionContext(RepositorySessionContext ctx)
Constructor |
|
UserSessionContext(RepositorySessionContext ctx,
String regionName)
Constructor |
|
UserSessionContext(String serverName,
RepositoryIdentifier repository,
String userName)
Constructor |
|
UserSessionContext(String serverName,
RepositoryIdentifier repository,
String regionName,
String userName)
Constructor |
|
UserSessionContext(String serverName,
String serverUserName,
RepositoryIdentifier repository,
String userName)
Constructor |
|
UserSessionContext(String serverName,
String serverUserName,
RepositoryIdentifier repository,
String regionName,
String userName)
Constructor |
|
UserSessionContext(String serverName,
String repositoryName,
String userName)
Constructor |
|
UserSessionContext(String serverName,
String repositoryName,
String regionName,
String userName)
Constructor |
|
UserSessionContext(UserSessionContext ctx)
Copy Constructor |
|
| Method Summary | |
boolean |
equals(Object obj)
|
RegionProperties |
getRegion()
Get region |
String |
getRegionCode()
Deprecated. instead of this method use getRegion().getRegionCode() |
Locale |
getRegionLocale()
Get region Locale |
String |
getRegionName()
Get region name |
int |
hashCode()
|
void |
setRegionLocale(Locale regionLocale)
Set region Locale. |
void |
setRegionName(String regionName)
Set region name |
String |
toString()
|
| Methods inherited from class com.sap.mdm.session.RepositorySessionContext |
getRepository, getRepositoryName, getUnicodeNormalizationType, getUserName, setUnicodeNormalizationType, setUserName |
| Methods inherited from class com.sap.mdm.session.ServerSessionContext |
getFullyQualifiedServerName, getServerName, getServerUserName, setServerUserName, setSocketFactory |
| Methods inherited from class com.sap.mdm.session.AbstractSessionContext |
getApplicationId, getApplicationName, getConnectionType, getContextIdentifier, getSocketFactory, isTrustedConnection, isWebServiceContext, readFromString, setApplicationId, setApplicationName, setConnectionType, setContextIdentifier, setHashCode, setTrustedConnection, writeToString |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public UserSessionContext(String serverName,
String serverUserName,
RepositoryIdentifier repository,
String regionName,
String userName)
public UserSessionContext(String serverName,
RepositoryIdentifier repository,
String regionName,
String userName)
public UserSessionContext(String serverName,
String repositoryName,
String regionName,
String userName)
public UserSessionContext(String serverName,
String repositoryName,
String userName)
public UserSessionContext(String serverName,
RepositoryIdentifier repository,
String userName)
public UserSessionContext(String serverName,
String serverUserName,
RepositoryIdentifier repository,
String userName)
public UserSessionContext(RepositorySessionContext ctx)
public UserSessionContext(UserSessionContext ctx)
public UserSessionContext(RepositorySessionContext ctx,
String regionName)
public UserSessionContext()
| Method Detail |
public String getRegionName()
public void setRegionName(String regionName)
regionName - the region namepublic Locale getRegionLocale()
public void setRegionLocale(Locale regionLocale)
regionLocale - the region locale
public RegionProperties getRegion()
throws IllegalArgumentException
IllegalArgumentException - if repository does not contain region correspondent to the specified region name
public String getRegionCode()
throws IllegalArgumentException
IllegalArgumentException - if repository does not contain region correspondent to the specified region namepublic int hashCode()
hashCode in class RepositorySessionContextpublic boolean equals(Object obj)
equals in class RepositorySessionContextpublic String toString()
toString in class RepositorySessionContextObject.toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Copyright 2004-2007 by SAP AG. All Rights Reserved.
SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary.
These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies (SAP Group) for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.