OSGi™ Service Platform
Residential Specification

Release 4 Version 4.3

Uses of Class
org.osgi.service.dmt.DmtException

Packages that use DmtException
org.osgi.service.dmt Device Management Tree Package Version 2.0. 
org.osgi.service.dmt.notification Device Management Tree Notification Package Version 2.0. 
org.osgi.service.dmt.spi Device Management Tree SPI Package Version 2.0. 
org.osgi.service.tr069todmt TR069 Connector Service Package Version 1.0. 
 

Uses of DmtException in org.osgi.service.dmt
 

Methods in org.osgi.service.dmt that throw DmtException
 void DmtSession.close()
          Closes a session.
 void DmtSession.commit()
          Commits a series of DMT operations issued in the current atomic session since the last transaction boundary.
 void DmtSession.copy(java.lang.String nodeUri, java.lang.String newNodeUri, boolean recursive)
          Create a copy of a node or a whole subtree.
 void DmtSession.createInteriorNode(java.lang.String nodeUri)
          Create an interior node.
 void DmtSession.createInteriorNode(java.lang.String nodeUri, java.lang.String type)
          Create an interior node with a given type.
 void DmtSession.createLeafNode(java.lang.String nodeUri)
          Create a leaf node with default value and MIME type.
 void DmtSession.createLeafNode(java.lang.String nodeUri, DmtData value)
          Create a leaf node with a given value and the default MIME type.
 void DmtSession.createLeafNode(java.lang.String nodeUri, DmtData value, java.lang.String mimeType)
          Create a leaf node with a given value and MIME type.
 void DmtSession.deleteNode(java.lang.String nodeUri)
          Delete the given node.
 void DmtSession.execute(java.lang.String nodeUri, java.lang.String data)
          Executes a node.
 void DmtSession.execute(java.lang.String nodeUri, java.lang.String correlator, java.lang.String data)
          Executes a node, also specifying a correlation ID for use in response notifications.
 java.lang.String[] DmtSession.getChildNodeNames(java.lang.String nodeUri)
          Get the list of children names of a node.
 Acl DmtSession.getEffectiveNodeAcl(java.lang.String nodeUri)
          Gives the Access Control List in effect for a given node.
 MetaNode DmtSession.getMetaNode(java.lang.String nodeUri)
          Get the meta data which describes a given node.
 Acl DmtSession.getNodeAcl(java.lang.String nodeUri)
          Get the Access Control List associated with a given node.
 int DmtSession.getNodeSize(java.lang.String nodeUri)
          Get the size of the data in a leaf node.
 java.util.Date DmtSession.getNodeTimestamp(java.lang.String nodeUri)
          Get the timestamp when the node was created or last modified.
 java.lang.String DmtSession.getNodeTitle(java.lang.String nodeUri)
          Get the title of a node.
 java.lang.String DmtSession.getNodeType(java.lang.String nodeUri)
          Get the type of a node.
 DmtData DmtSession.getNodeValue(java.lang.String nodeUri)
          Get the data contained in a leaf or interior node.
 int DmtSession.getNodeVersion(java.lang.String nodeUri)
          Get the version of a node.
 DmtSession DmtAdmin.getSession(java.lang.String subtreeUri)
          Opens a DmtSession for local usage on a given subtree of the DMT with non transactional write lock.
 DmtSession DmtAdmin.getSession(java.lang.String subtreeUri, int lockMode)
          Opens a DmtSession for local usage on a specific DMT subtree with a given lock mode.
 DmtSession DmtAdmin.getSession(java.lang.String principal, java.lang.String subtreeUri, int lockMode)
          Opens a DmtSession on a specific DMT subtree using a specific lock mode on behalf of a remote principal.
 boolean DmtSession.isLeafNode(java.lang.String nodeUri)
          Tells whether a node is a leaf or an interior node of the DMT.
 void DmtSession.renameNode(java.lang.String nodeUri, java.lang.String newName)
          Rename a node.
 void DmtSession.rollback()
          Rolls back a series of DMT operations issued in the current atomic session since the last transaction boundary.
 void DmtSession.setDefaultNodeValue(java.lang.String nodeUri)
          Set the value of a leaf or interior node to its default.
 void DmtSession.setNodeAcl(java.lang.String nodeUri, Acl acl)
          Set the Access Control List associated with a given node.
 void DmtSession.setNodeTitle(java.lang.String nodeUri, java.lang.String title)
          Set the title property of a node.
 void DmtSession.setNodeType(java.lang.String nodeUri, java.lang.String type)
          Set the type of a node.
 void DmtSession.setNodeValue(java.lang.String nodeUri, DmtData data)
          Set the value of a leaf or interior node.
 

Uses of DmtException in org.osgi.service.dmt.notification
 

Methods in org.osgi.service.dmt.notification that throw DmtException
 void NotificationService.sendNotification(java.lang.String principal, int code, java.lang.String correlator, AlertItem[] items)
          Sends a notification to a named principal.
 

Uses of DmtException in org.osgi.service.dmt.spi
 

Methods in org.osgi.service.dmt.spi that throw DmtException
 void ReadableDataSession.close()
          Closes a session.
 void TransactionalDataSession.commit()
          Commits a series of DMT operations issued in the current atomic session since the last transaction boundary.
 void ReadWriteDataSession.copy(java.lang.String[] nodePath, java.lang.String[] newNodePath, boolean recursive)
          Create a copy of a node or a whole subtree.
 void ReadWriteDataSession.createInteriorNode(java.lang.String[] nodePath, java.lang.String type)
          Create an interior node with a given type.
 void ReadWriteDataSession.createLeafNode(java.lang.String[] nodePath, DmtData value, java.lang.String mimeType)
          Create a leaf node with a given value and MIME type.
 void ReadWriteDataSession.deleteNode(java.lang.String[] nodePath)
          Delete the given node.
 void ExecPlugin.execute(DmtSession session, java.lang.String[] nodePath, java.lang.String correlator, java.lang.String data)
          Execute the given node with the given data.
 java.lang.String[] ReadableDataSession.getChildNodeNames(java.lang.String[] nodePath)
          Get the list of children names of a node.
 MetaNode ReadableDataSession.getMetaNode(java.lang.String[] nodePath)
          Get the meta data which describes a given node.
 int ReadableDataSession.getNodeSize(java.lang.String[] nodePath)
          Get the size of the data in a leaf node.
 java.util.Date ReadableDataSession.getNodeTimestamp(java.lang.String[] nodePath)
          Get the timestamp when the node was last modified.
 java.lang.String ReadableDataSession.getNodeTitle(java.lang.String[] nodePath)
          Get the title of a node.
 java.lang.String ReadableDataSession.getNodeType(java.lang.String[] nodePath)
          Get the type of a node.
 DmtData ReadableDataSession.getNodeValue(java.lang.String[] nodePath)
          Get the data contained in a leaf or interior node.
 int ReadableDataSession.getNodeVersion(java.lang.String[] nodePath)
          Get the version of a node.
 boolean ReadableDataSession.isLeafNode(java.lang.String[] nodePath)
          Tells whether a node is a leaf or an interior node of the DMT.
 void ReadableDataSession.nodeChanged(java.lang.String[] nodePath)
          Notifies the plugin that the given node has changed outside the scope of the plugin, therefore the Version and Timestamp properties must be updated (if supported).
 TransactionalDataSession DataPlugin.openAtomicSession(java.lang.String[] sessionRoot, DmtSession session)
          This method is called to signal the start of an atomic read-write session when the first reference is made within a DmtSession to a node which is handled by this plugin.
 ReadableDataSession DataPlugin.openReadOnlySession(java.lang.String[] sessionRoot, DmtSession session)
          This method is called to signal the start of a read-only session when the first reference is made within a DmtSession to a node which is handled by this plugin.
 ReadWriteDataSession DataPlugin.openReadWriteSession(java.lang.String[] sessionRoot, DmtSession session)
          This method is called to signal the start of a non-atomic read-write session when the first reference is made within a DmtSession to a node which is handled by this plugin.
 void ReadWriteDataSession.renameNode(java.lang.String[] nodePath, java.lang.String newName)
          Rename a node.
 void TransactionalDataSession.rollback()
          Rolls back a series of DMT operations issued in the current atomic session since the last transaction boundary.
 void ReadWriteDataSession.setNodeTitle(java.lang.String[] nodePath, java.lang.String title)
          Set the title property of a node.
 void ReadWriteDataSession.setNodeType(java.lang.String[] nodePath, java.lang.String type)
          Set the type of a node.
 void ReadWriteDataSession.setNodeValue(java.lang.String[] nodePath, DmtData data)
          Set the value of a leaf or interior node.
 

Uses of DmtException in org.osgi.service.tr069todmt
 

Methods in org.osgi.service.tr069todmt that return DmtException
 DmtException TR069Exception.getDmtException()
           
 

Constructors in org.osgi.service.tr069todmt with parameters of type DmtException
TR069Exception(DmtException e)
          Create a TR069Exception from a Dmt Exception.
TR069Exception(java.lang.String message, int faultCode, DmtException e)
          A Constructor with a message and a fault code.
 


OSGi™ Service Platform
Residential Specification

Release 4 Version 4.3

Copyright © OSGi Alliance (2000, 2012). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0