|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.commerce.collaboration.livehelp.beans.LiveHelpConfiguration
Configuration data for LiveHelp.
Field Summary | |
static java.lang.String |
CLASSNAME
|
static java.lang.String |
COPYRIGHT
|
Constructor Summary | |
LiveHelpConfiguration(CommandContext aCommandContext)
Constructs a LiveHelpConfiguration object. |
Method Summary | |
protected static void |
entry(java.lang.String methodName)
Simplifies tracing method entry. |
protected static void |
exit(java.lang.String methodName)
Simplifies tracing method exit. |
boolean |
fulfills(java.lang.Long member,
java.lang.String relationship)
Determines if a given member fulfills a given relationship with the resource. |
static java.lang.String |
getAppletCodeBaseURL()
Return the LiveHelp Applet CodeBase URL as it is defined in the WCS configuration file. |
java.lang.String |
getAuthentication(CommandContext aCommandContext)
Return authentication string for a given user Id in Command Context |
java.lang.String |
getAuthentication(java.lang.String aUserId)
Return authentication string for a given user Id |
CommandContext |
getCommandContext()
Gets the CommandContext. |
protected static ConfigProperties |
getConfigProperties()
gets Configuration Properties from the instance.xml file |
Protectable |
getDelegate()
gets Delegate |
static java.lang.String |
getHelpSessionLimit()
Return the LiveHelp HelpSessionLimit as it is defined in the WCS configuration file. |
static java.lang.String |
getHostName()
Return the LiveHelp HostName as it is defined in the WCS configuration file. |
static java.lang.String |
getInitiationType()
Return the LiveHelp InitiationType as it is defined in the WCS configuration file. |
java.lang.String |
getLogonId(CommandContext aCommandContext)
Return user logon Id for a given user Id in Command Context |
java.lang.String |
getLogonId(java.lang.String aUserId)
Return user logon Id for a given user Id |
protected static java.lang.String |
getMerchantKey()
gets MerchantKey from the instance.xml file |
static java.lang.String |
getMonitorType()
Return the LiveHelp MonitorType as it is defined in the WCS configuration file. |
java.lang.Long |
getOwner()
gets Owner |
static java.lang.String |
getRegistrationURL()
Return the LiveHelp Registration URL as it is defined in the WCS configuration file. |
protected UserRegistryAccessBean |
getUserRegistry(java.lang.String userId)
|
static boolean |
isEnabled()
Returns true if Collaboration LiveHelp is enabled as it is defined in the WCS configuration file. |
protected static void |
trace(java.lang.String methodName,
java.lang.String text)
Simplifies tracing text. |
boolean |
userExists(java.lang.String aUserId)
Reture true if user is found otherwise false |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String CLASSNAME
public static final java.lang.String COPYRIGHT
Constructor Detail |
public LiveHelpConfiguration(CommandContext aCommandContext)
CommandContext
- Method Detail |
protected static void entry(java.lang.String methodName)
protected static void exit(java.lang.String methodName)
public boolean fulfills(java.lang.Long member, java.lang.String relationship) throws java.rmi.RemoteException, java.lang.Exception
fulfills
in interface Protectable
member
- Member id of the memberrelationship
- The relationship the member has with respect to the resourcepublic static java.lang.String getAppletCodeBaseURL()
public java.lang.String getAuthentication(CommandContext aCommandContext)
null
if any error
occurred during authentication.public java.lang.String getAuthentication(java.lang.String aUserId)
aUserId
- pass the userIdpublic CommandContext getCommandContext()
protected static ConfigProperties getConfigProperties()
public Protectable getDelegate() throws java.lang.Exception
getDelegate
in interface Delegator
com.ibm.commerce.security.Delegator
public static java.lang.String getHelpSessionLimit()
public static java.lang.String getHostName()
public static java.lang.String getInitiationType()
public java.lang.String getLogonId(CommandContext aCommandContext)
public java.lang.String getLogonId(java.lang.String aUserId)
protected static java.lang.String getMerchantKey()
public static java.lang.String getMonitorType()
public java.lang.Long getOwner() throws java.lang.Exception, java.rmi.RemoteException
getOwner
in interface Protectable
com.ibm.commerce.security.Protectable
public static java.lang.String getRegistrationURL()
protected UserRegistryAccessBean getUserRegistry(java.lang.String userId) throws java.lang.Exception
java.lang.Exception
- Thrown whenever an error occurs while
looking up the user registry.public static boolean isEnabled()
protected static void trace(java.lang.String methodName, java.lang.String text)
public boolean userExists(java.lang.String aUserId)
aUserId
- pass the userId
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |