|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sage.orion.sdata.servlet.accpac.AccpacResourceContext
public class AccpacResourceContext
Constructor Summary | |
---|---|
AccpacResourceContext()
|
Method Summary | |
---|---|
java.lang.Object |
get(java.lang.String tag)
Gets the requested context element. |
com.sage.accpac.sm.Program |
getAccpacProgram()
Gets the Accpac Program from the context block. |
boolean |
getIsStateful()
Gets whether this context represents a stateful connection |
com.sage.accpac.sm.View |
openView(java.lang.String viewID)
Opens a normal View with no associated resource definition. |
SDataView |
openView(java.lang.String viewID,
Resource resource)
Opens a new SDataView in the context |
void |
put(java.lang.String tag,
java.lang.Object object)
Adds the given tag and context object to the context. |
void |
setAccpacProgram(com.sage.accpac.sm.Program program)
Sets the Accpac Program in the context block. |
void |
setIsStateful(boolean stateful)
Sets whether this context represents a stateful connection |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AccpacResourceContext()
Method Detail |
---|
public void setAccpacProgram(com.sage.accpac.sm.Program program)
program
- public com.sage.accpac.sm.Program getAccpacProgram()
Program
from the context blockpublic void setIsStateful(boolean stateful)
stateful
- Whether this context represents a stateful connectionpublic boolean getIsStateful()
public com.sage.accpac.sm.View openView(java.lang.String viewID)
View
with no associated resource definition.
viewID
- the roto ID of the view to be opened
View
public SDataView openView(java.lang.String viewID, Resource resource)
viewID
- the roto ID of the view to be openedresource
- the resource that corresponds to the view
SDataView
public void put(java.lang.String tag, java.lang.Object object)
ResourceContext
put
in interface ResourceContext
public java.lang.Object get(java.lang.String tag)
ResourceContext
get
in interface ResourceContext
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |