|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The NamespaceAccessToken
is an interface used to completely
hide the real Namespace
object reference from the client
application. It is used by Slide to authenticate and control any operations
on the namespace.
Using the NamespaceAccessToken, the application can obtain access to the
helper interfaces (Content
, Lock
,
Macro
, Security
and Structure
).
The NamespaceAccessToken object implements the UserTransaction interface (see the Java Transaction API documentation for more details) to allow the client to control transaction demarcation.
Method Summary | |
void |
disconnect()
Disconnect. |
void |
exportData(SlideToken token,
java.io.Writer writer)
Saves Slide Data to XML. |
void |
exportData(SlideToken token,
java.io.Writer writer,
java.lang.String startNode)
Saves Slide Data to XML. |
Content |
getContentHelper()
Get the version helper. |
Lock |
getLockHelper()
Get the lock helper. |
Logger |
getLogger()
Get namespace logger. |
Macro |
getMacroHelper()
Get the macro helper. |
java.lang.String |
getName()
Get namespace name. |
NamespaceConfig |
getNamespaceConfig()
Retrive the namespace configuration. |
Security |
getSecurityHelper()
Get the security helper. |
Structure |
getStructureHelper()
Get the data helper. |
void |
importData(SlideToken token,
Configuration objectNodeConfiguration)
Import data from configuration object. |
void |
importData(SlideToken token,
java.io.Reader reader)
Import data from reader. |
Methods inherited from interface javax.transaction.UserTransaction |
begin, commit, getStatus, rollback, setRollbackOnly, setTransactionTimeout |
Method Detail |
public NamespaceConfig getNamespaceConfig()
public void importData(SlideToken token, Configuration objectNodeConfiguration) throws ConfigurationException, UnknownObjectClassException, ServiceAccessException
token
- SlideToken, used for access to the namespaceobjectNodeConfiguration
- Configuration objectConfigurationException
- Something went wrong during the
reading of the XMLUnknownObjectClassException
- Object class not foundServiceAccessException
- Error accessing servicepublic void importData(SlideToken token, java.io.Reader reader) throws ConfigurationException, UnknownObjectClassException, ServiceAccessException, org.xml.sax.SAXException, java.io.IOException
token
- SlideToken, used for access to the namespacereader
- ReaderConfigurationException
- Something went wrong during the
reading of the XMLUnknownObjectClassException
- Object class not foundServiceAccessException
- Error accessing servicepublic void exportData(SlideToken token, java.io.Writer writer) throws SlideException
writer
- WriterSlideException
- public void exportData(SlideToken token, java.io.Writer writer, java.lang.String startNode) throws SlideException
writer
- WriterstartNode
- Start generating XML from this node of the Slide treeSlideException
- public Structure getStructureHelper()
public Content getContentHelper()
public Lock getLockHelper()
public Security getSecurityHelper()
public Macro getMacroHelper()
public void disconnect()
public java.lang.String getName()
public Logger getLogger()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |