Class AuditDeleteNodesEventTypeNode

All Implemented Interfaces:
AuditDeleteNodesEventType, AuditEventType, AuditNodeManagementEventType, BaseEventType, BaseObjectType, org.eclipse.milo.opcua.sdk.core.nodes.Node, org.eclipse.milo.opcua.sdk.core.nodes.ObjectNode

public class AuditDeleteNodesEventTypeNode extends AuditNodeManagementEventTypeNode implements AuditDeleteNodesEventType
  • Constructor Details

    • AuditDeleteNodesEventTypeNode

      public AuditDeleteNodesEventTypeNode(OpcUaClient client, org.eclipse.milo.opcua.stack.core.types.builtin.NodeId nodeId, org.eclipse.milo.opcua.stack.core.types.enumerated.NodeClass nodeClass, org.eclipse.milo.opcua.stack.core.types.builtin.QualifiedName browseName, org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText displayName, org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText description, org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger writeMask, org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger userWriteMask, org.eclipse.milo.opcua.stack.core.types.structured.RolePermissionType[] rolePermissions, org.eclipse.milo.opcua.stack.core.types.structured.RolePermissionType[] userRolePermissions, org.eclipse.milo.opcua.stack.core.types.structured.AccessRestrictionType accessRestrictions, org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByte eventNotifier)
  • Method Details

    • getNodesToDelete

      public org.eclipse.milo.opcua.stack.core.types.structured.DeleteNodesItem[] getNodesToDelete() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: AuditDeleteNodesEventType
      Get the local value of the NodesToDelete Node.

      The returned value is the last seen; it is not read live from the server.

      Specified by:
      getNodesToDelete in interface AuditDeleteNodesEventType
      Returns:
      the local value of the NodesToDelete Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the NodesToDelete Node.
    • setNodesToDelete

      public void setNodesToDelete(org.eclipse.milo.opcua.stack.core.types.structured.DeleteNodesItem[] value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: AuditDeleteNodesEventType
      Set the local value of the NodesToDelete Node.

      The value is only updated locally; it is not written to the server.

      Specified by:
      setNodesToDelete in interface AuditDeleteNodesEventType
      Parameters:
      value - the local value to set for the NodesToDelete Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the NodesToDelete Node.
    • readNodesToDelete

      public org.eclipse.milo.opcua.stack.core.types.structured.DeleteNodesItem[] readNodesToDelete() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: AuditDeleteNodesEventType
      Read the value of the NodesToDelete Node from the server and update the local value if the operation succeeds.
      Specified by:
      readNodesToDelete in interface AuditDeleteNodesEventType
      Returns:
      the DeleteNodesItem value read from the server.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.
    • writeNodesToDelete

      public void writeNodesToDelete(org.eclipse.milo.opcua.stack.core.types.structured.DeleteNodesItem[] value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: AuditDeleteNodesEventType
      Write a new value for the NodesToDelete Node to the server and update the local value if the operation succeeds.
      Specified by:
      writeNodesToDelete in interface AuditDeleteNodesEventType
      Parameters:
      value - the DeleteNodesItem value to write to the server.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.
    • readNodesToDeleteAsync

      public CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.structured.DeleteNodesItem[]> readNodesToDeleteAsync()
      Description copied from interface: AuditDeleteNodesEventType
      An asynchronous implementation of AuditDeleteNodesEventType.readNodesToDelete().
      Specified by:
      readNodesToDeleteAsync in interface AuditDeleteNodesEventType
      Returns:
      a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
    • writeNodesToDeleteAsync

      public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeNodesToDeleteAsync(org.eclipse.milo.opcua.stack.core.types.structured.DeleteNodesItem[] nodesToDelete)
      Description copied from interface: AuditDeleteNodesEventType
      Specified by:
      writeNodesToDeleteAsync in interface AuditDeleteNodesEventType
      Returns:
      a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
    • getNodesToDeleteNode

      public PropertyTypeNode getNodesToDeleteNode() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: AuditDeleteNodesEventType
      Get the NodesToDelete PropertyType Node, or null if it does not exist.

      The Node is created when first accessed and cached for subsequent calls.

      Specified by:
      getNodesToDeleteNode in interface AuditDeleteNodesEventType
      Returns:
      the NodesToDelete PropertyType Node, or null if it does not exist.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the Node.
    • getNodesToDeleteNodeAsync

      public CompletableFuture<? extends PropertyTypeNode> getNodesToDeleteNodeAsync()
      Description copied from interface: AuditDeleteNodesEventType
      Asynchronous implementation of AuditDeleteNodesEventType.getNodesToDeleteNode().
      Specified by:
      getNodesToDeleteNodeAsync in interface AuditDeleteNodesEventType
      Returns:
      a CompletableFuture that completes successfully with the PropertyType Node or completes exceptionally if an error occurs creating or getting the Node.