public class Dojo
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
JAVASCRIPT_PATH |
Constructor and Description |
---|
Dojo() |
Modifier and Type | Method and Description |
---|---|
static java.util.Map |
getAvailableWidgets(javax.servlet.ServletContext servletContext,
java.lang.String dojoModuleName)
This method lists all the dojo components on a specific directory declared by its .json configuration files.
|
static java.lang.String |
getDirectory(javax.servlet.http.HttpServletRequest request,
java.lang.String resourcePath,
java.lang.String prefix) |
static java.lang.String |
getDojoDirectory(javax.servlet.http.HttpServletRequest request)
Returns the directory under the /webclient/javascript path that contains the latest version of Dojo.
|
static java.util.List |
getDojoLayers(java.lang.String path,
javax.servlet.ServletContext context) |
static java.lang.String |
getDojoSrcDirectory(java.io.File baseDir) |
static java.lang.String |
getMaximoJavascriptDirectory(javax.servlet.http.HttpServletRequest request) |
static java.lang.String |
getReleaseDirectory(java.io.File baseDir,
java.lang.String prefix) |
static java.lang.String |
getSkinsDirectory(javax.servlet.http.HttpServletRequest request) |
static boolean |
isDevelopmentBuild() |
public static final java.lang.String JAVASCRIPT_PATH
public static java.lang.String getDojoSrcDirectory(java.io.File baseDir)
baseDir
- The path to the javascript directory under maximouiweb that contains the dojo directories.public static java.lang.String getReleaseDirectory(java.io.File baseDir, java.lang.String prefix)
public static java.lang.String getDojoDirectory(javax.servlet.http.HttpServletRequest request)
request
- A servlet request that is used gain access to the /webclient/javascript resource path.public static java.lang.String getSkinsDirectory(javax.servlet.http.HttpServletRequest request)
public static java.lang.String getMaximoJavascriptDirectory(javax.servlet.http.HttpServletRequest request)
public static boolean isDevelopmentBuild()
public static java.util.List getDojoLayers(java.lang.String path, javax.servlet.ServletContext context)
public static java.lang.String getDirectory(javax.servlet.http.HttpServletRequest request, java.lang.String resourcePath, java.lang.String prefix)
public static java.util.Map getAvailableWidgets(javax.servlet.ServletContext servletContext, java.lang.String dojoModuleName) throws MXException
servletContext
- The servlet context object.dojoModuleName
- the dojo module name using "." notation.MXException