public abstract class ApiUserContextBase extends Object implements ApiUserContextI
| Modifier and Type | Field and Description |
|---|---|
ApiProxyI |
m_CMDBproxyI |
ApiProxyI |
m_proxyI |
ReentrantLock |
proxyILock |
Map<Integer,ApiValueBase> |
userSession |
| Modifier and Type | Method and Description |
|---|---|
long |
getCacheId()
Returns the cache ID.
|
ApiProxyI |
getCMDBProxyI()
For ARSystem internal CMDB use only.
|
String |
getContextInfoStr()
get context information
|
String |
getDesignOverlayGroup()
Get design overlay group.
|
int |
getGranularMode()
Get granular overlay mode.
|
long |
getImpersonatedCacheId()
get the cache id of the impersonated user.
|
String |
getImpersonatedUser()
get the name of the impersonated user
|
com.bmc.arsys.utils.LocaleInfo |
getLocaleInfo()
Returns the
LocaleInfo object. |
LoggingInfo |
getLogging()
Returns the client-side logging information.
|
Timestamp |
getOperationTime()
Returns the operation time stamp.
|
String |
getOverlayGroup()
Get overlay group.
|
int |
getOverlayObjType()
Get object type as either real or resolved.
|
ApiProxyI |
getProxyI()
For ARSystem internal use only.
|
String |
getServerInfoStr()
get server and port information
|
String |
getServiceStatMsg() |
String |
getTenantId()
Get tenant Id
|
String |
getTransactionHandle() |
Map<Object,Object> |
getUserGenericSessionMap()
return generic session map for current user
|
Map<Integer,ApiValueBase> |
getUserSession() |
String |
getUserSessionGuid()
Returns the user session authentication GUID.
|
String |
getWebSocketURLKey() |
boolean |
isCMDBProxyInContext()
For ARSystem internal CMDB use only.
|
boolean |
isProxyInContext()
For ARSystem internal use only.
|
boolean |
isProxyInMultiThreadTransaction() |
void |
logApiTime(String msg)
Logs the start or finish time for the api call.
|
void |
setAdminFlag(boolean adminFlag)
Sets administrator flag.
|
void |
setBaseOverlayFlag(boolean boverlayFlag)
Sets base overlay flag
|
void |
setCacheId(long cacheId)
Sets cache ID.
|
void |
setCMDBProxyI(ApiProxyI prxy)
For ARSystem internal CMDB use only.
|
void |
setCustomFlag(boolean customFlag)
Sets custom flag if user is member of Customize group.
|
void |
setDesignOverlayGroup(String designOverlayGroup)
Set design overlay group.
|
void |
setGranularMode(int granularOverlayMode)
Set granular overlay mode.
|
void |
setImpersonatedCacheId(int cacheId)
set the cache id of the impersonated user
|
void |
setImpersonatedUser(String impersonatedUser)
sets the name of the impersonated user in this object
|
void |
setLocaleInfo(com.bmc.arsys.utils.LocaleInfo localeInfo)
Sets the
LocaleInfo. |
void |
setOperationTime(Timestamp operationTime) |
void |
setOverlayFlag(boolean overlayFlag)
Sets overlay flag
|
void |
setOverlayGroup(String name)
Set overlay group.
|
void |
setOverlayObjType(int overlayType)
Set object type as either real or resolved.
|
void |
setProxyI(ApiProxyI prxy)
For ARSystem internal use only.
|
void |
setServiceStatMsg(String serviceStatMsg)
Sets the Monitoring Indicator for Peripheral Services like Email,Approval
|
void |
setStructAdminFlag(boolean stadminFlag)
Sets struct admin flag.
|
void |
setStructSubAdminFlag(boolean stsubAdminFlag)
Sets subadministrator flag.
|
void |
setSubAdminFlag(boolean subAdminFlag)
Sets subadministrator flag.
|
void |
setTenantId(String tenantId)
Set tenant Id
|
void |
setUserGenericSessionMap(Map<Object,Object> newUserGenericSessionN)
Set generic user session info that API needs keep with ARServerUser instance.
|
void |
setUserSession(Map<Integer,ApiValueBase> userSession) |
void |
setUserSessionGuid(String guid)
Sets the password alternative that is used by this ARServerUser to make api calls.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetApiConfig, getApiPropertyManager, getAuthentication, getChunkResponseSize, getClientType, getCustomDateFormat, getCustomTimeFormat, getEndClientIPAddress, getExtendedClassRegistry, getLastStatus, getLocale, getMultiLastStatus, getOverridePrevIP, getPassword, getPort, getReservedParam1, getServer, getServerRpcQueueNumber, getTimeoutLong, getTimeoutNormal, getTimeoutXLong, getTimeZone, getUser, getVUIType, setAuthentication, setChunkResponseSize, setClientType, setCustomDateFormat, setCustomTimeFormat, setEndClientIPAddress, setExtendedClassRegistry, setLastStatus, setLocale, setMultiLastStatus, setOverridePrevIP, setPassword, setReservedParam1, setServer, setTimeoutLong, setTimeoutNormal, setTimeoutXLong, setTimeZone, setUser, setVUITypepublic Map<Integer,ApiValueBase> userSession
public ReentrantLock proxyILock
public ApiProxyI m_proxyI
public ApiProxyI m_CMDBproxyI
public ApiProxyI getProxyI()
getProxyI in interface ApiUserContextIpublic void setProxyI(ApiProxyI prxy)
setProxyI in interface ApiUserContextIpublic boolean isProxyInContext()
isProxyInContext in interface ApiUserContextIpublic boolean isCMDBProxyInContext()
isCMDBProxyInContext in interface ApiUserContextIpublic void setUserSessionGuid(String guid)
setUserSessionGuid in interface ApiUserContextIguid - public String getUserSessionGuid()
getUserSessionGuid in interface ApiUserContextIpublic void setImpersonatedUser(String impersonatedUser)
impersonatedUser - the name of the impersonated userpublic String getImpersonatedUser()
getImpersonatedUser in interface ApiUserContextIpublic void setImpersonatedCacheId(int cacheId)
setImpersonatedCacheId in interface ApiUserContextIcacheId - - the cache id returned from the serverpublic long getImpersonatedCacheId()
getImpersonatedCacheId in interface ApiUserContextIpublic long getCacheId()
getCacheId in interface ApiUserContextIpublic void setCacheId(long cacheId)
setCacheId in interface ApiUserContextIpublic Timestamp getOperationTime()
getOperationTime in interface ApiUserContextIpublic void setOperationTime(Timestamp operationTime)
setOperationTime in interface ApiUserContextIpublic void logApiTime(String msg)
logApiTime in interface ApiUserContextImsg - message to print with the timestamppublic Map<Integer,ApiValueBase> getUserSession()
getUserSession in interface ApiUserContextIpublic void setUserSession(Map<Integer,ApiValueBase> userSession)
public void setAdminFlag(boolean adminFlag)
setAdminFlag in interface ApiUserContextIpublic void setCustomFlag(boolean customFlag)
setCustomFlag in interface ApiUserContextIpublic void setSubAdminFlag(boolean subAdminFlag)
setSubAdminFlag in interface ApiUserContextIpublic void setStructAdminFlag(boolean stadminFlag)
setStructAdminFlag in interface ApiUserContextIpublic void setOverlayFlag(boolean overlayFlag)
setOverlayFlag in interface ApiUserContextIpublic void setBaseOverlayFlag(boolean boverlayFlag)
setBaseOverlayFlag in interface ApiUserContextIpublic void setStructSubAdminFlag(boolean stsubAdminFlag)
setStructSubAdminFlag in interface ApiUserContextIpublic int getOverlayObjType()
ApiUserContextIgetOverlayObjType in interface ApiUserContextIpublic void setOverlayObjType(int overlayType)
ApiUserContextIsetOverlayObjType in interface ApiUserContextIpublic String getOverlayGroup()
ApiUserContextIgetOverlayGroup in interface ApiUserContextIpublic void setOverlayGroup(String name)
ApiUserContextIsetOverlayGroup in interface ApiUserContextIpublic void setDesignOverlayGroup(String designOverlayGroup)
ApiUserContextIsetDesignOverlayGroup in interface ApiUserContextIpublic String getDesignOverlayGroup()
ApiUserContextIgetDesignOverlayGroup in interface ApiUserContextIpublic int getGranularMode()
ApiUserContextIgetGranularMode in interface ApiUserContextIpublic void setGranularMode(int granularOverlayMode)
ApiUserContextIsetGranularMode in interface ApiUserContextIpublic ApiProxyI getCMDBProxyI()
ApiUserContextIgetCMDBProxyI in interface ApiUserContextIpublic void setCMDBProxyI(ApiProxyI prxy)
ApiUserContextIsetCMDBProxyI in interface ApiUserContextIpublic boolean isProxyInMultiThreadTransaction()
public String getTransactionHandle()
public LoggingInfo getLogging()
ApiUserContextIgetLogging in interface ApiUserContextILoggingInfo client-side logging information#setLoggingpublic String getContextInfoStr()
ApiUserContextIgetContextInfoStr in interface ApiUserContextIpublic String getServerInfoStr()
ApiUserContextIgetServerInfoStr in interface ApiUserContextIpublic String getWebSocketURLKey()
public com.bmc.arsys.utils.LocaleInfo getLocaleInfo()
ApiUserContextILocaleInfo object. The locale is used to find an error message (if a message catalog exists), to format date and
time strings, for sorting, and for comparing values.getLocaleInfo in interface ApiUserContextIlanguage[_territory[.codeset]][@modifier]public void setLocaleInfo(com.bmc.arsys.utils.LocaleInfo localeInfo)
ApiUserContextILocaleInfo. The LocaleInfo is used to find Locale related error message (if a message catalog exists), to format date and
time strings, for sorting, and for comparing values.setLocaleInfo in interface ApiUserContextIpublic void setUserGenericSessionMap(Map<Object,Object> newUserGenericSessionN)
newUserGenericSessionN - public Map<Object,Object> getUserGenericSessionMap()
userGenericSession - public String getServiceStatMsg()
getServiceStatMsg in interface ApiUserContextIpublic void setServiceStatMsg(String serviceStatMsg)
ApiUserContextIsetServiceStatMsg in interface ApiUserContextIpublic String getTenantId()
ApiUserContextIgetTenantId in interface ApiUserContextIpublic void setTenantId(String tenantId)
ApiUserContextIsetTenantId in interface ApiUserContextI? Copyright 2013 BMC Software, Inc.