Package | Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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(String nodeUri,
String newNodeUri,
boolean recursive)
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 |
DmtSession.execute(String nodeUri,
String data)
Executes a node.
|
void |
DmtSession.execute(String nodeUri,
String correlator,
String data)
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.
|
Acl |
DmtSession.getEffectiveNodeAcl(String nodeUri)
Gives the Access Control List in effect for a given node.
|
MetaNode |
DmtSession.getMetaNode(String nodeUri)
Get the meta data which describes a given node.
|
Acl |
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.
|
Date |
DmtSession.getNodeTimestamp(String nodeUri)
Get the timestamp when the node was created or last modified.
|
String |
DmtSession.getNodeTitle(String nodeUri)
Get the title of a node.
|
String |
DmtSession.getNodeType(String nodeUri)
Get the type of a node.
|
DmtData |
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.
|
DmtSession |
DmtAdmin.getSession(String subtreeUri)
Opens a
DmtSession for local usage on a given subtree of the DMT
with non transactional write lock. |
DmtSession |
DmtAdmin.getSession(String subtreeUri,
int lockMode)
Opens a
DmtSession for local usage on a specific DMT subtree with
a given lock mode. |
DmtSession |
DmtAdmin.getSession(String principal,
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(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.
|
Modifier and Type | Method and Description |
---|---|
void |
NotificationService.sendNotification(String principal,
int code,
String correlator,
AlertItem[] items)
Sends a notification to a named principal.
|
Modifier and Type | Method and Description |
---|---|
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(String[] nodePath,
String[] newNodePath,
boolean recursive)
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.
|
MetaNode |
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.
|
Date |
ReadableDataSession.getNodeTimestamp(String[] nodePath)
Get the timestamp when the node was last modified.
|
String |
ReadableDataSession.getNodeTitle(String[] nodePath)
Get the title of a node.
|
String |
ReadableDataSession.getNodeType(String[] nodePath)
Get the type of a node.
|
DmtData |
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).
|
TransactionalDataSession |
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 a
DmtSession to a node
which is handled by this plugin. |
ReadableDataSession |
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 a
DmtSession to a node which is
handled by this plugin. |
ReadWriteDataSession |
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 a
DmtSession 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.
|
Copyright © OSGi Alliance (2000, 2015). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0