- All Superinterfaces:
- javax.transaction.UserTransaction
- All Known Implementing Classes:
- NamespaceAccessTokenImpl
- public interface NamespaceAccessToken
- extends javax.transaction.UserTransaction
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.
- Version:
- $Revision: 1.22 $
getNamespaceConfig
public NamespaceConfig getNamespaceConfig()
- Retrive the namespace configuration.
importData
public void importData(SlideToken token,
org.apache.slide.util.conf.Configuration objectNodeConfiguration)
throws org.apache.slide.util.conf.ConfigurationException,
UnknownObjectClassException,
ServiceAccessException
- Import data from configuration object.
importData
public void importData(SlideToken token,
java.io.Reader reader)
throws org.apache.slide.util.conf.ConfigurationException,
UnknownObjectClassException,
ServiceAccessException,
org.xml.sax.SAXException,
java.io.IOException
- Import data from reader.
exportData
public void exportData(SlideToken token,
java.io.Writer writer)
throws SlideException
- Saves Slide Data to XML.
exportData
public void exportData(SlideToken token,
java.io.Writer writer,
java.lang.String startNode)
throws SlideException
- Saves Slide Data to XML.
getStructureHelper
public org.apache.slide.structure.Structure getStructureHelper()
- Get the data helper.
getContentHelper
public org.apache.slide.content.Content getContentHelper()
- Get the version helper.
getLockHelper
public org.apache.slide.lock.Lock getLockHelper()
- Get the lock helper.
getSearchHelper
public org.apache.slide.search.Search getSearchHelper()
- Get the lock helper.
getSecurityHelper
public org.apache.slide.security.Security getSecurityHelper()
- Get the security helper.
getMacroHelper
public org.apache.slide.macro.Macro getMacroHelper()
- Get the macro helper.
disconnect
public void disconnect()
- Disconnect.
getName
public java.lang.String getName()
- Get namespace name.
getUri
public Uri getUri(SlideToken token,
java.lang.String uri)
- Builds a new uri object to access this namespace.
getLogger
public org.apache.slide.util.logger.Logger getLogger()
- Get namespace logger.
getTransactionManager
public javax.transaction.TransactionManager getTransactionManager()