|
Decision Center API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ilog.rules.webui.IlrWUtils
public class IlrWUtils
Utility methods.
Method Summary | |
---|---|
static void |
closeCurrentPort()
|
static String |
getContextPath()
|
static IlxWPort |
getCurrentPort()
|
static javax.servlet.http.HttpSession |
getHttpSession()
|
static String |
getIconResourceName(String key)
Retrieves the path of the icon (a .gif file) designated by the given key, in the ilog.rules preferences namespace. |
static ilog.rules.shared.util.IlrPreferenceProvider |
getPreferences()
|
static javax.servlet.http.HttpServletRequest |
getRequest()
|
static void |
setRequest(javax.servlet.http.HttpServletRequest request)
Put the given request in a thread local to be used by some of the methods of this utility class. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static String getIconResourceName(String key)
ilog.rules
preferences namespace.
For instance, the following code: IlrWUtils.getIconResourceName("ui.Rule.Rule.template.icon");
returns /ilog/rules/builder/ruletemplate.gif
.
IlrPreferences
public static ilog.rules.shared.util.IlrPreferenceProvider getPreferences()
public static javax.servlet.http.HttpServletRequest getRequest()
public static javax.servlet.http.HttpSession getHttpSession()
public static IlxWPort getCurrentPort()
public static void closeCurrentPort() throws IOException
IOException
public static void setRequest(javax.servlet.http.HttpServletRequest request)
request
- public static String getContextPath()
|
Decision Center API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |