public class LiveHelpConfiguration extends SmartDataBeanImpl implements Protectable, Delegator
Constructor and Description |
---|
LiveHelpConfiguration()
Constructs a LiveHelpConfiguration object.
|
LiveHelpConfiguration(CommandContext aCommandContext)
Constructs a LiveHelpConfiguration object.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String | doubleQuoteString(java.lang.String sString)
Quotes a String with double quotes.
|
protected static void | entry(java.lang.String methodName)
Simplifies tracing method entry.
|
static java.lang.String | escapeString(java.lang.String result)
Takes an input string and replaces problem characters for an HTML input attribute value.
|
protected static void | exit(java.lang.String methodName)
Simplifies tracing method exit.
|
static java.lang.String | getAppletCodeBaseURL()
Returns the Customer Care Applet CodeBase URL as it is defined in the WebSphere Commerce configuration file.
|
java.lang.String | getAuthentication(CommandContext aCommandContext)
Returns authentication string for a given user ID in Command Context.
|
java.lang.String | getAuthentication(java.lang.String aUserId)
Returns authentication string for a given user ID.
|
static java.lang.String | getCloseTagString(java.lang.String sTag)
Format a Close Tag string.
|
protected static com.ibm.commerce.server.ConfigProperties | getConfigProperties()
Returns Configuration Properties from the instance.xml file.
|
static java.lang.String | getCSRElementString(java.lang.String CSRId, java.lang.String CSRName)
Returns a CSR element string with format <CSR ID="xxxx" NAME="xxxx" >.
|
Protectable | getDelegate()
Gets Delegate.
|
boolean | getEnabled()
Returns true if Customer Care is enabled as it is defined in the WebSphere Commerce configuration file.
|
static java.lang.String | getHelpSessionLimit()
Returns Customer Care HelpSessionLimit as it is defined in the WebSphere Commerce configuration file.
|
static java.lang.String | getHostName()
Returns Sametime HostName as it is defined in the WebSphere Commerce configuration file.
|
static java.lang.String | getInitiationType()
Returns Customer Care InitiationType as it is defined in the WebSphere Commerce configuration file.
|
static java.lang.String | getInstanceName()
Returns Customer Care Instance name in format as "instance_name@hostname".
|
static java.lang.String | getLdapType()
Returns Customer Care LDAP configuration as it is defined in the WebSphere Commerce configuration file.
|
java.lang.String | getLogonId(CommandContext aCommandContext)
Returns user logon Id for a given user Id in Command Context.
|
java.lang.String | getLogonId(java.lang.String aUserId)
Returns user logon Id for a given user ID.
|
static java.lang.String | getMonitorAttributeElementString(java.lang.String AttributeId, java.lang.String AttributeLabel)
Returns an Attribute element string with format <ATTR ID="xxxx" LABEL='xxxx'>.
|
static java.lang.String | getMonitorCounterAttributeElementString(java.lang.String AttributeId, java.lang.String AttributeLabel, java.lang.String AttributeUnit)
Returns an Attribute element string with format <ATTR ID='xxxx' LABEL='xxxx' UNIT='xxxx'>.
|
static java.lang.String | getMonitorType()
Returns Customer Care MonitorType as it is defined in the WebSphere Commerce configuration file.
|
static java.lang.String | getNVPString(java.lang.String sName, java.lang.String sValue)
Format a Name-Value pair string.
|
static java.lang.String | getOpenTagString(java.lang.String sTag)
Returns an Open Tag string.
|
java.lang.Long | getOwner()
Gets Owner.
|
static java.lang.String | getQueueElementString(java.lang.String QueueId, java.lang.String QueueName, java.lang.String QueueDesc, java.lang.String AllCSRs)
Gets a Queue element string with format <QUEUE ID="xxxx" NAME="xxxx" DESC="xxxx" ALLCSR="xxxx" >.
|
static java.lang.String | getRegistrationURL()
Returns Customer Care Registration URL as it is defined in the WebSphere Commerce configuration file.
|
static java.lang.String | getSingleSignOnToken(javax.servlet.http.HttpServletRequest req)
Returns SingleSignOn LTPA token in cookie.
|
static java.lang.String | getSingleSignOnType(javax.servlet.http.HttpServletRequest req)
Check if CSR applet uses LTPA token or not.
|
static java.lang.String | getTopicElementString(java.lang.String TopicTitle, java.lang.String TopicText)
Gets Topic element string with format
|
static java.lang.String | getTopicGroupElementString(java.lang.String GroupName)
Gets Topic Group element string with format
|
static java.lang.String | getURLGroupElementString(java.lang.String GroupName)
Gets URL group element string with format
|
static java.lang.String | getURLPageElementString(java.lang.String PageName, java.lang.String PageURL)
Gets a Page URL element string with format <PAGE NAME="xxxx" URL="xxxx" >.
|
protected UserRegistryAccessBean | getUserRegistry(java.lang.String userId)
Gets the user registry access bean.
|
static boolean | isEnabled()
Returns true if Customer Care is enabled as it is defined in the WebSphere Commerce configuration file.
|
protected static void | trace(java.lang.String methodName, java.lang.String text)
Simplifies tracing text.
|
boolean | userExists(java.lang.String aUserId)
Returns true if user is found, otherwise false.
|
public LiveHelpConfiguration()
public LiveHelpConfiguration(CommandContext aCommandContext)
public static java.lang.String doubleQuoteString(java.lang.String sString)
protected static void entry(java.lang.String methodName)
protected static void exit(java.lang.String methodName)
public static java.lang.String getAppletCodeBaseURL()
public java.lang.String getAuthentication(java.lang.String aUserId)
public java.lang.String getAuthentication(CommandContext aCommandContext)
public static java.lang.String getCloseTagString(java.lang.String sTag)
protected static com.ibm.commerce.server.ConfigProperties getConfigProperties()
public static java.lang.String getCSRElementString(java.lang.String CSRId, java.lang.String CSRName)
public Protectable getDelegate() throws java.lang.Exception
public static java.lang.String getHelpSessionLimit()
public static java.lang.String getHostName()
public static java.lang.String getInitiationType()
public static java.lang.String getInstanceName()
public static java.lang.String getLdapType()
public static java.lang.String getSingleSignOnType(javax.servlet.http.HttpServletRequest req)
public static java.lang.String getSingleSignOnToken(javax.servlet.http.HttpServletRequest req)
public java.lang.String getLogonId(java.lang.String aUserId)
public java.lang.String getLogonId(CommandContext aCommandContext)
public static java.lang.String getMonitorAttributeElementString(java.lang.String AttributeId, java.lang.String AttributeLabel)
public static java.lang.String getMonitorCounterAttributeElementString(java.lang.String AttributeId, java.lang.String AttributeLabel, java.lang.String AttributeUnit)
public static java.lang.String getMonitorType()
public static java.lang.String getNVPString(java.lang.String sName, java.lang.String sValue)
public static java.lang.String getOpenTagString(java.lang.String sTag)
public java.lang.Long getOwner() throws java.lang.Exception, java.rmi.RemoteException
public static java.lang.String getQueueElementString(java.lang.String QueueId, java.lang.String QueueName, java.lang.String QueueDesc, java.lang.String AllCSRs)
public static java.lang.String getRegistrationURL()
public static java.lang.String getTopicElementString(java.lang.String TopicTitle, java.lang.String TopicText)
<QUESTION TITLE="xxxx" TEXT="xxxx" >.
public static java.lang.String getTopicGroupElementString(java.lang.String GroupName)
<GROUP NAME="xxxx" >.
public static java.lang.String getURLGroupElementString(java.lang.String GroupName)
<GROUP NAME="xxxx" >.
public static java.lang.String getURLPageElementString(java.lang.String PageName, java.lang.String PageURL)
protected UserRegistryAccessBean getUserRegistry(java.lang.String userId) throws java.lang.Exception
public static boolean isEnabled()
public boolean getEnabled()
protected static void trace(java.lang.String methodName, java.lang.String text)
public boolean userExists(java.lang.String aUserId)
public static java.lang.String escapeString(java.lang.String result)
& replaced & " replaced &qout;
Note: All HTML attribute values are assumed to be delimited by double quote.