|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sage.orion.sdata.servlet.JDBCResourceKind
com.sage.orion.sdata.servlet.swtservice.UIDefinitionResourceKind
com.sage.orion.sdata.servlet.swtservice.LandingPageResourceKind
public class LandingPageResourceKind
The class is responsible for handling the landing page requests.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.sage.orion.sdata.servlet.JDBCResourceKind |
---|
JDBCResourceKind.HTTPMethodsAuthorizator, JDBCResourceKind.ResourceAuthorizator, JDBCResourceKind.ResourceDataAuthorizator |
Field Summary |
---|
Fields inherited from class com.sage.orion.sdata.servlet.JDBCResourceKind |
---|
ADD, ALTER_TABLE, AND, CLOSE_BRACE, COMMA, CONSTRAINT, DEFAULT, DEFAULT_LANGUAGE_CODE, DELETE_FROM, DROP, DROP_TABLE, FROM, NOT_NULL, OPEN_BRACE, PRIMARY_KEY, SELECT, UICONTENT_SQL_SELECT_STMT, VARCHAR_50, WHERE |
Constructor Summary | |
---|---|
LandingPageResourceKind(ApplicationContext context,
ConnectionPool connectionPool,
java.lang.String authToken)
Constructor. |
Method Summary | |
---|---|
protected org.w3c.dom.Document |
getFileAsNormalizedDOM(java.io.File inputFilePath,
boolean useLock)
Gets the specified input file's contents as a normalized DOM document, and if specified, locking the file in a shared ("for reading") manner while getting that content. |
Methods inherited from class com.sage.orion.sdata.servlet.swtservice.UIDefinitionResourceKind |
---|
canGetOnData, canPutOnData, doGet, doPut, doSchema, doTemplate, getAllFields, getCalculateFieldValue, getName, getPrimaryKey, getTableName, isUserSpecificResource, parseFile, supportDelete, supportGet, supportPost, supportPut |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LandingPageResourceKind(ApplicationContext context, ConnectionPool connectionPool, java.lang.String authToken)
context
- SData application contextconnectionPool
- connectionPool of the underline DBauthToken
- the authentication tokenMethod Detail |
---|
protected org.w3c.dom.Document getFileAsNormalizedDOM(java.io.File inputFilePath, boolean useLock)
Gets the specified input file's contents as a normalized DOM document, and if specified, locking the file in a shared ("for reading") manner while getting that content.
NOTE: This method does not return null - it throws an exception if it encounters a problem.
getFileAsNormalizedDOM
in class UIDefinitionResourceKind
inputFilePath
- The File object representing the path to input file.useLock
- Whether or not to lock the file (in a shared manner) during the
parse.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |