Uses of Class
org.osgi.service.dmt.DmtException
Packages that use 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.
-
Uses of DmtException in org.osgi.service.dmt
Methods in org.osgi.service.dmt that throw DmtExceptionModifier and TypeMethodDescriptionvoidDmtSession.close()Closes a session.voidDmtSession.commit()Commits a series of DMT operations issued in the current atomic session since the last transaction boundary.voidCreate a copy of a node or a whole subtree.voidDmtSession.createInteriorNode(String nodeUri) Create an interior node.voidDmtSession.createInteriorNode(String nodeUri, String type) Create an interior node with a given type.voidDmtSession.createLeafNode(String nodeUri) Create a leaf node with default value and MIME type.voidDmtSession.createLeafNode(String nodeUri, DmtData value) Create a leaf node with a given value and the default MIME type.voidDmtSession.createLeafNode(String nodeUri, DmtData value, String mimeType) Create a leaf node with a given value and MIME type.voidDmtSession.deleteNode(String nodeUri) Delete the given node.voidExecutes a node.voidExecutes 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.intDmtSession.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.intDmtSession.getNodeVersion(String nodeUri) Get the version of a node.DmtAdmin.getSession(String subtreeUri) Opens aDmtSessionfor local usage on a given subtree of the DMT with non transactional write lock.DmtAdmin.getSession(String subtreeUri, int lockMode) Opens aDmtSessionfor local usage on a specific DMT subtree with a given lock mode.DmtAdmin.getSession(String principal, String subtreeUri, int lockMode) Opens aDmtSessionon a specific DMT subtree using a specific lock mode on behalf of a remote principal.booleanDmtSession.isLeafNode(String nodeUri) Tells whether a node is a leaf or an interior node of the DMT.voidDmtSession.renameNode(String nodeUri, String newName) Rename a node.voidDmtSession.rollback()Rolls back a series of DMT operations issued in the current atomic session since the last transaction boundary.voidDmtSession.setDefaultNodeValue(String nodeUri) Set the value of a leaf or interior node to its default.voidDmtSession.setNodeAcl(String nodeUri, Acl acl) Set the Access Control List associated with a given node.voidDmtSession.setNodeTitle(String nodeUri, String title) Set the title property of a node.voidDmtSession.setNodeType(String nodeUri, String type) Set the type of a node.voidDmtSession.setNodeValue(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 DmtExceptionModifier and TypeMethodDescriptionvoidNotificationService.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
Methods in org.osgi.service.dmt.spi that throw DmtExceptionModifier and TypeMethodDescriptionvoidReadableDataSession.close()Closes a session.voidTransactionalDataSession.commit()Commits a series of DMT operations issued in the current atomic session since the last transaction boundary.voidCreate a copy of a node or a whole subtree.voidReadWriteDataSession.createInteriorNode(String[] nodePath, String type) Create an interior node with a given type.voidReadWriteDataSession.createLeafNode(String[] nodePath, DmtData value, String mimeType) Create a leaf node with a given value and MIME type.voidReadWriteDataSession.deleteNode(String[] nodePath) Delete the given node.voidExecPlugin.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.intReadableDataSession.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.intReadableDataSession.getNodeVersion(String[] nodePath) Get the version of a node.booleanReadableDataSession.isLeafNode(String[] nodePath) Tells whether a node is a leaf or an interior node of the DMT.voidReadableDataSession.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 aDmtSessionto 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 aDmtSessionto 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 aDmtSessionto a node which is handled by this plugin.voidReadWriteDataSession.renameNode(String[] nodePath, String newName) Rename a node.voidTransactionalDataSession.rollback()Rolls back a series of DMT operations issued in the current atomic session since the last transaction boundary.voidReadWriteDataSession.setNodeTitle(String[] nodePath, String title) Set the title property of a node.voidReadWriteDataSession.setNodeType(String[] nodePath, String type) Set the type of a node.voidReadWriteDataSession.setNodeValue(String[] nodePath, DmtData data) Set the value of a leaf or interior node.