Uses of Class
org.osgi.service.dmt.DmtException
Package
Description
Device Management Tree Package Version 2.0.
Device Management Tree Notification Package Version 2.0.
Device Management Tree SPI Package Version 2.0.
TR069 Connector Service Package Version 1.0.
-
Uses of DmtException in org.osgi.service.dmt
Modifier and TypeMethodDescriptionvoid
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
Create a copy of a node or a whole subtree.void
DmtSession.createInteriorNode
(String nodeUri) Create an interior node.void
DmtSession.createInteriorNode
(String nodeUri, String type) Create an interior node with a given type.void
DmtSession.createLeafNode
(String nodeUri) Create a leaf node with default value and MIME type.void
DmtSession.createLeafNode
(String nodeUri, DmtData value) Create a leaf node with a given value and the default MIME type.void
DmtSession.createLeafNode
(String nodeUri, DmtData value, String mimeType) Create a leaf node with a given value and MIME type.void
DmtSession.deleteNode
(String nodeUri) Delete the given node.void
Executes a node.void
Executes a node, also specifying a correlation ID for use in response notifications.String[]
DmtSession.getChildNodeNames
(String nodeUri) Get the list of children names of a node.DmtSession.getEffectiveNodeAcl
(String nodeUri) Gives the Access Control List in effect for a given node.DmtSession.getMetaNode
(String nodeUri) Get the meta data which describes a given node.DmtSession.getNodeAcl
(String nodeUri) Get the Access Control List associated with a given node.int
DmtSession.getNodeSize
(String nodeUri) Get the size of the data in a leaf node.DmtSession.getNodeTimestamp
(String nodeUri) Get the timestamp when the node was created or last modified.DmtSession.getNodeTitle
(String nodeUri) Get the title of a node.DmtSession.getNodeType
(String nodeUri) Get the type of a node.DmtSession.getNodeValue
(String nodeUri) Get the data contained in a leaf or interior node.int
DmtSession.getNodeVersion
(String nodeUri) Get the version of a node.DmtAdmin.getSession
(String subtreeUri) Opens aDmtSession
for local usage on a given subtree of the DMT with non transactional write lock.DmtAdmin.getSession
(String subtreeUri, int lockMode) Opens aDmtSession
for local usage on a specific DMT subtree with a given lock mode.DmtAdmin.getSession
(String principal, String subtreeUri, int lockMode) Opens aDmtSession
on a specific DMT subtree using a specific lock mode on behalf of a remote principal.boolean
DmtSession.isLeafNode
(String nodeUri) Tells whether a node is a leaf or an interior node of the DMT.void
DmtSession.renameNode
(String nodeUri, 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
(String nodeUri) Set the value of a leaf or interior node to its default.void
DmtSession.setNodeAcl
(String nodeUri, Acl acl) Set the Access Control List associated with a given node.void
DmtSession.setNodeTitle
(String nodeUri, String title) Set the title property of a node.void
DmtSession.setNodeType
(String nodeUri, String type) Set the type of a node.void
DmtSession.setNodeValue
(String nodeUri, DmtData data) Set the value of a leaf or interior node. -
Uses of DmtException in org.osgi.service.dmt.notification
Modifier and TypeMethodDescriptionvoid
NotificationService.sendNotification
(String principal, int code, String correlator, AlertItem[] items) Sends a notification to a named principal. -
Uses of DmtException in org.osgi.service.dmt.spi
Modifier and TypeMethodDescriptionvoid
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
Create a copy of a node or a whole subtree.void
ReadWriteDataSession.createInteriorNode
(String[] nodePath, String type) Create an interior node with a given type.void
ReadWriteDataSession.createLeafNode
(String[] nodePath, DmtData value, String mimeType) Create a leaf node with a given value and MIME type.void
ReadWriteDataSession.deleteNode
(String[] nodePath) Delete the given node.void
ExecPlugin.execute
(DmtSession session, String[] nodePath, String correlator, String data) Execute the given node with the given data.String[]
ReadableDataSession.getChildNodeNames
(String[] nodePath) Get the list of children names of a node.ReadableDataSession.getMetaNode
(String[] nodePath) Get the meta data which describes a given node.int
ReadableDataSession.getNodeSize
(String[] nodePath) Get the size of the data in a leaf node.ReadableDataSession.getNodeTimestamp
(String[] nodePath) Get the timestamp when the node was last modified.ReadableDataSession.getNodeTitle
(String[] nodePath) Get the title of a node.ReadableDataSession.getNodeType
(String[] nodePath) Get the type of a node.ReadableDataSession.getNodeValue
(String[] nodePath) Get the data contained in a leaf or interior node.int
ReadableDataSession.getNodeVersion
(String[] nodePath) Get the version of a node.boolean
ReadableDataSession.isLeafNode
(String[] nodePath) Tells whether a node is a leaf or an interior node of the DMT.void
ReadableDataSession.nodeChanged
(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).DataPlugin.openAtomicSession
(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 aDmtSession
to a node which is handled by this plugin.DataPlugin.openReadOnlySession
(String[] sessionRoot, DmtSession session) This method is called to signal the start of a read-only session when the first reference is made within aDmtSession
to a node which is handled by this plugin.DataPlugin.openReadWriteSession
(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 aDmtSession
to a node which is handled by this plugin.void
ReadWriteDataSession.renameNode
(String[] nodePath, 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
(String[] nodePath, String title) Set the title property of a node.void
ReadWriteDataSession.setNodeType
(String[] nodePath, String type) Set the type of a node.void
ReadWriteDataSession.setNodeValue
(String[] nodePath, DmtData data) Set the value of a leaf or interior node. -
Uses of DmtException in org.osgi.service.tr069todmt
ModifierConstructorDescriptionTR069Exception
(String message, int faultCode, DmtException e) A Constructor with a message and a fault code.Create a TR069Exception from a Dmt Exception.