|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sage.orion.sdata.servlet.accpac.ApplicationContext
public class ApplicationContext
Handles the Application specific context.
Field Summary | |
---|---|
static java.lang.String |
REPORTS
The name of the directory returned by getReportsDirectory() |
Constructor Summary | |
---|---|
ApplicationContext(Provider provider,
SDataServletContext servletContext,
java.lang.String sdataAppName)
Constructor. |
|
ApplicationContext(SDataServletContext servletContext,
java.lang.String sdataAppName)
Constructor. |
Method Summary | |
---|---|
java.lang.String |
getApplicationName()
gets the SData application name that was provided to the constructor |
java.lang.String |
getConfigurationPath()
Gets the path to the directory where this application's configuration information is stored |
java.lang.String |
getExportDirectory()
Gets the file path to the export directory. |
Provider |
getProvider()
gets the Provider that was provided to the constructor |
java.lang.String |
getReportsDirectory()
Gets the file path to the reports directory. |
java.lang.String |
getResourceMapDirectory()
Gets the file path to the Resource map directory. |
java.lang.String |
getSchemaDirectory()
Gets the file path the to the Schema directory. |
SDataServletContext |
getServletContext()
Gets the SData ServletContext |
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 REPORTS
getReportsDirectory()
Constructor Detail |
---|
public ApplicationContext(SDataServletContext servletContext, java.lang.String sdataAppName)
servletContext
- servlet context.sdataAppName
- the name by which the application is being exposedpublic ApplicationContext(Provider provider, SDataServletContext servletContext, java.lang.String sdataAppName)
provider
- the Provider
for which this is the context, or null.
This value is available through the getProvider()
method.
It is not used directly during construction.servletContext
- servlet context.sdataAppName
- the name by which the application is being exposedMethod Detail |
---|
public Provider getProvider()
Provider
that was provided to the constructor
Provider
public java.lang.String getApplicationName()
String
containing the name of the application,
as passed to the constructorpublic SDataServletContext getServletContext()
SDataServletContext
that was provided to the
constructorpublic java.lang.String getResourceMapDirectory()
String
containing the path of the
resource map directorypublic java.lang.String getSchemaDirectory()
Note that generated Sage 300 ERP schemas are not stored in this directory.
String
containing the path of the
fixed schemas directorypublic java.lang.String getReportsDirectory()
String
containing the path of the
reports temporary directory.public java.lang.String getExportDirectory()
String
containing the path of the
export directory.public java.lang.String getConfigurationPath()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |