Class UserManagementTypeNode
- All Implemented Interfaces:
BaseObjectType,UserManagementType,org.eclipse.milo.opcua.sdk.core.nodes.Node,org.eclipse.milo.opcua.sdk.core.nodes.ObjectNode
-
Field Summary
Fields inherited from interface org.eclipse.milo.opcua.sdk.client.model.objects.UserManagementType
PASSWORD_LENGTH, PASSWORD_OPTIONS, PASSWORD_RESTRICTIONS, USERS -
Constructor Summary
ConstructorsConstructorDescriptionUserManagementTypeNode(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 Summary
Modifier and TypeMethodDescriptionorg.eclipse.milo.opcua.stack.core.types.structured.RangeGet the local value of the PasswordLength Node.Get the PasswordLengthPropertyTypeNode, ornullif it does not exist.CompletableFuture<? extends PropertyTypeNode>Asynchronous implementation ofUserManagementType.getPasswordLengthNode().org.eclipse.milo.opcua.stack.core.types.structured.PasswordOptionsMaskGet the local value of the PasswordOptions Node.Get the PasswordOptionsPropertyTypeNode, ornullif it does not exist.CompletableFuture<? extends PropertyTypeNode>Asynchronous implementation ofUserManagementType.getPasswordOptionsNode().org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedTextGet the local value of the PasswordRestrictions Node.Get the PasswordRestrictionsPropertyTypeNode, ornullif it does not exist.CompletableFuture<? extends PropertyTypeNode>Asynchronous implementation ofUserManagementType.getPasswordRestrictionsNode().org.eclipse.milo.opcua.stack.core.types.structured.UserManagementDataType[]getUsers()Get the local value of the Users Node.Get the UsersPropertyTypeNode, ornullif it does not exist.CompletableFuture<? extends PropertyTypeNode>Asynchronous implementation ofUserManagementType.getUsersNode().org.eclipse.milo.opcua.stack.core.types.structured.RangeRead the value of the PasswordLength Node from the server and update the local value if the operation succeeds.CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.structured.Range>An asynchronous implementation ofUserManagementType.readPasswordLength().org.eclipse.milo.opcua.stack.core.types.structured.PasswordOptionsMaskRead the value of the PasswordOptions Node from the server and update the local value if the operation succeeds.CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.structured.PasswordOptionsMask>An asynchronous implementation ofUserManagementType.readPasswordOptions().org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedTextRead the value of the PasswordRestrictions Node from the server and update the local value if the operation succeeds.CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText>An asynchronous implementation ofUserManagementType.readPasswordRestrictions().org.eclipse.milo.opcua.stack.core.types.structured.UserManagementDataType[]Read the value of the Users Node from the server and update the local value if the operation succeeds.CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.structured.UserManagementDataType[]>An asynchronous implementation ofUserManagementType.readUsers().voidsetPasswordLength(org.eclipse.milo.opcua.stack.core.types.structured.Range value) Set the local value of the PasswordLength Node.voidsetPasswordOptions(org.eclipse.milo.opcua.stack.core.types.structured.PasswordOptionsMask value) Set the local value of the PasswordOptions Node.voidsetPasswordRestrictions(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText value) Set the local value of the PasswordRestrictions Node.voidsetUsers(org.eclipse.milo.opcua.stack.core.types.structured.UserManagementDataType[] value) Set the local value of the Users Node.voidwritePasswordLength(org.eclipse.milo.opcua.stack.core.types.structured.Range value) Write a new value for the PasswordLength Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>writePasswordLengthAsync(org.eclipse.milo.opcua.stack.core.types.structured.Range passwordLength) An asynchronous implementation ofUserManagementType.writePasswordLength(org.eclipse.milo.opcua.stack.core.types.structured.Range).voidwritePasswordOptions(org.eclipse.milo.opcua.stack.core.types.structured.PasswordOptionsMask value) Write a new value for the PasswordOptions Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>writePasswordOptionsAsync(org.eclipse.milo.opcua.stack.core.types.structured.PasswordOptionsMask passwordOptions) An asynchronous implementation ofUserManagementType.writePasswordOptions(org.eclipse.milo.opcua.stack.core.types.structured.PasswordOptionsMask).voidwritePasswordRestrictions(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText value) Write a new value for the PasswordRestrictions Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>writePasswordRestrictionsAsync(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText passwordRestrictions) An asynchronous implementation ofUserManagementType.writePasswordRestrictions(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText).voidwriteUsers(org.eclipse.milo.opcua.stack.core.types.structured.UserManagementDataType[] value) Write a new value for the Users Node to the server and update the local value if the operation succeeds.CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode>writeUsersAsync(org.eclipse.milo.opcua.stack.core.types.structured.UserManagementDataType[] users) An asynchronous implementation ofUserManagementType.writeUsers(org.eclipse.milo.opcua.stack.core.types.structured.UserManagementDataType[]).Methods inherited from class org.eclipse.milo.opcua.sdk.client.nodes.UaObjectNode
callMethod, callMethod, callMethodAsync, callMethodAsync, getAttributeValue, getEventNotifier, getIconAsync, getMethod, getMethod, getMethodAsync, getMethodAsync, getNamingRuleAsync, getNodeVersionAsync, getObjectComponent, getObjectComponent, getObjectComponent, getObjectComponentAsync, getObjectComponentAsync, getObjectComponentAsync, getTypeDefinition, getTypeDefinitionAsync, getVariableComponent, getVariableComponent, getVariableComponent, getVariableComponentAsync, getVariableComponentAsync, getVariableComponentAsync, readEventNotifier, setAttributeValue, setEventNotifier, setIconAsync, setNamingRuleAsync, setNodeVersionAsync, writeEventNotifierMethods inherited from class org.eclipse.milo.opcua.sdk.client.nodes.UaNode
browse, browse, browseAsync, browseAsync, browseNodes, browseNodes, browseNodesAsync, browseNodesAsync, canonicalize, cast, findMemberNodeId, getAccessRestrictions, getBrowseName, getComponentAsync, getDescription, getDisplayName, getMemberNodeAsync, getNodeClass, getNodeId, getProperty, getPropertyNodeAsync, getPropertyNodeAsync, getRolePermissions, getUserRolePermissions, getUserWriteMask, getWriteMask, invalidate, readAccessRestrictions, readAttribute, readAttributeAsync, readBrowseName, readDescription, readDisplayName, readNamespaceIndex, readNodeClass, readNodeId, readProperty, readRolePermissions, readUserRolePermissions, readUserWriteMask, readWriteMask, refresh, refreshAsync, setAccessRestrictions, setBrowseName, setDescription, setDisplayName, setNodeClass, setNodeId, setProperty, setRolePermissions, setUserRolePermissions, setUserWriteMask, setWriteMask, synchronize, synchronizeAsync, writeAccessRestrictions, writeAttribute, writeAttributeAsync, writeBrowseName, writeDescription, writeDisplayName, writeNodeClass, writeNodeId, writeProperty, writeRolePermissions, writeUserRolePermissions, writeUserWriteMask, writeWriteMaskMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.milo.opcua.sdk.core.nodes.Node
getAccessRestrictions, getBrowseName, getDescription, getDisplayName, getNodeClass, getNodeId, getRolePermissions, getUserRolePermissions, getUserWriteMask, getWriteMask, setAccessRestrictions, setBrowseName, setDescription, setDisplayName, setNodeClass, setNodeId, setRolePermissions, setUserRolePermissions, setUserWriteMask, setWriteMaskMethods inherited from interface org.eclipse.milo.opcua.sdk.core.nodes.ObjectNode
getEventNotifier, setEventNotifier
-
Constructor Details
-
UserManagementTypeNode
public UserManagementTypeNode(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
-
getUsers
public org.eclipse.milo.opcua.stack.core.types.structured.UserManagementDataType[] getUsers() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:UserManagementTypeGet the local value of the Users Node.The returned value is the last seen; it is not read live from the server.
- Specified by:
getUsersin interfaceUserManagementType- Returns:
- the local value of the Users Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Users Node.
-
setUsers
public void setUsers(org.eclipse.milo.opcua.stack.core.types.structured.UserManagementDataType[] value) throws org.eclipse.milo.opcua.stack.core.UaException Description copied from interface:UserManagementTypeSet the local value of the Users Node.The value is only updated locally; it is not written to the server.
- Specified by:
setUsersin interfaceUserManagementType- Parameters:
value- the local value to set for the Users Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Users Node.
-
readUsers
public org.eclipse.milo.opcua.stack.core.types.structured.UserManagementDataType[] readUsers() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:UserManagementTypeRead the value of the Users Node from the server and update the local value if the operation succeeds.- Specified by:
readUsersin interfaceUserManagementType- Returns:
- the
UserManagementDataTypevalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writeUsers
public void writeUsers(org.eclipse.milo.opcua.stack.core.types.structured.UserManagementDataType[] value) throws org.eclipse.milo.opcua.stack.core.UaException Description copied from interface:UserManagementTypeWrite a new value for the Users Node to the server and update the local value if the operation succeeds.- Specified by:
writeUsersin interfaceUserManagementType- Parameters:
value- theUserManagementDataTypevalue to write to the server.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
readUsersAsync
public CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.structured.UserManagementDataType[]> readUsersAsync()Description copied from interface:UserManagementTypeAn asynchronous implementation ofUserManagementType.readUsers().- Specified by:
readUsersAsyncin interfaceUserManagementType- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writeUsersAsync
public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeUsersAsync(org.eclipse.milo.opcua.stack.core.types.structured.UserManagementDataType[] users) Description copied from interface:UserManagementTypeAn asynchronous implementation ofUserManagementType.writeUsers(org.eclipse.milo.opcua.stack.core.types.structured.UserManagementDataType[]).- Specified by:
writeUsersAsyncin interfaceUserManagementType- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getUsersNode
Description copied from interface:UserManagementTypeGet the UsersPropertyTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Specified by:
getUsersNodein interfaceUserManagementType- Returns:
- the Users
PropertyTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getUsersNodeAsync
Description copied from interface:UserManagementTypeAsynchronous implementation ofUserManagementType.getUsersNode().- Specified by:
getUsersNodeAsyncin interfaceUserManagementType- Returns:
- a CompletableFuture that completes successfully with the PropertyType Node or completes exceptionally if an error occurs creating or getting the Node.
-
getPasswordLength
public org.eclipse.milo.opcua.stack.core.types.structured.Range getPasswordLength() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:UserManagementTypeGet the local value of the PasswordLength Node.The returned value is the last seen; it is not read live from the server.
- Specified by:
getPasswordLengthin interfaceUserManagementType- Returns:
- the local value of the PasswordLength Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the PasswordLength Node.
-
setPasswordLength
public void setPasswordLength(org.eclipse.milo.opcua.stack.core.types.structured.Range value) throws org.eclipse.milo.opcua.stack.core.UaException Description copied from interface:UserManagementTypeSet the local value of the PasswordLength Node.The value is only updated locally; it is not written to the server.
- Specified by:
setPasswordLengthin interfaceUserManagementType- Parameters:
value- the local value to set for the PasswordLength Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the PasswordLength Node.
-
readPasswordLength
public org.eclipse.milo.opcua.stack.core.types.structured.Range readPasswordLength() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:UserManagementTypeRead the value of the PasswordLength Node from the server and update the local value if the operation succeeds.- Specified by:
readPasswordLengthin interfaceUserManagementType- Returns:
- the
Rangevalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writePasswordLength
public void writePasswordLength(org.eclipse.milo.opcua.stack.core.types.structured.Range value) throws org.eclipse.milo.opcua.stack.core.UaException Description copied from interface:UserManagementTypeWrite a new value for the PasswordLength Node to the server and update the local value if the operation succeeds.- Specified by:
writePasswordLengthin interfaceUserManagementType- Parameters:
value- theRangevalue to write to the server.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
readPasswordLengthAsync
public CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.structured.Range> readPasswordLengthAsync()Description copied from interface:UserManagementTypeAn asynchronous implementation ofUserManagementType.readPasswordLength().- Specified by:
readPasswordLengthAsyncin interfaceUserManagementType- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writePasswordLengthAsync
public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writePasswordLengthAsync(org.eclipse.milo.opcua.stack.core.types.structured.Range passwordLength) Description copied from interface:UserManagementTypeAn asynchronous implementation ofUserManagementType.writePasswordLength(org.eclipse.milo.opcua.stack.core.types.structured.Range).- Specified by:
writePasswordLengthAsyncin interfaceUserManagementType- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getPasswordLengthNode
public PropertyTypeNode getPasswordLengthNode() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:UserManagementTypeGet the PasswordLengthPropertyTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Specified by:
getPasswordLengthNodein interfaceUserManagementType- Returns:
- the PasswordLength
PropertyTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getPasswordLengthNodeAsync
Description copied from interface:UserManagementTypeAsynchronous implementation ofUserManagementType.getPasswordLengthNode().- Specified by:
getPasswordLengthNodeAsyncin interfaceUserManagementType- Returns:
- a CompletableFuture that completes successfully with the PropertyType Node or completes exceptionally if an error occurs creating or getting the Node.
-
getPasswordOptions
public org.eclipse.milo.opcua.stack.core.types.structured.PasswordOptionsMask getPasswordOptions() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:UserManagementTypeGet the local value of the PasswordOptions Node.The returned value is the last seen; it is not read live from the server.
- Specified by:
getPasswordOptionsin interfaceUserManagementType- Returns:
- the local value of the PasswordOptions Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the PasswordOptions Node.
-
setPasswordOptions
public void setPasswordOptions(org.eclipse.milo.opcua.stack.core.types.structured.PasswordOptionsMask value) throws org.eclipse.milo.opcua.stack.core.UaException Description copied from interface:UserManagementTypeSet the local value of the PasswordOptions Node.The value is only updated locally; it is not written to the server.
- Specified by:
setPasswordOptionsin interfaceUserManagementType- Parameters:
value- the local value to set for the PasswordOptions Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the PasswordOptions Node.
-
readPasswordOptions
public org.eclipse.milo.opcua.stack.core.types.structured.PasswordOptionsMask readPasswordOptions() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:UserManagementTypeRead the value of the PasswordOptions Node from the server and update the local value if the operation succeeds.- Specified by:
readPasswordOptionsin interfaceUserManagementType- Returns:
- the
PasswordOptionsMaskvalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writePasswordOptions
public void writePasswordOptions(org.eclipse.milo.opcua.stack.core.types.structured.PasswordOptionsMask value) throws org.eclipse.milo.opcua.stack.core.UaException Description copied from interface:UserManagementTypeWrite a new value for the PasswordOptions Node to the server and update the local value if the operation succeeds.- Specified by:
writePasswordOptionsin interfaceUserManagementType- Parameters:
value- thePasswordOptionsMaskvalue to write to the server.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
readPasswordOptionsAsync
public CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.structured.PasswordOptionsMask> readPasswordOptionsAsync()Description copied from interface:UserManagementTypeAn asynchronous implementation ofUserManagementType.readPasswordOptions().- Specified by:
readPasswordOptionsAsyncin interfaceUserManagementType- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writePasswordOptionsAsync
public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writePasswordOptionsAsync(org.eclipse.milo.opcua.stack.core.types.structured.PasswordOptionsMask passwordOptions) Description copied from interface:UserManagementTypeAn asynchronous implementation ofUserManagementType.writePasswordOptions(org.eclipse.milo.opcua.stack.core.types.structured.PasswordOptionsMask).- Specified by:
writePasswordOptionsAsyncin interfaceUserManagementType- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getPasswordOptionsNode
public PropertyTypeNode getPasswordOptionsNode() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:UserManagementTypeGet the PasswordOptionsPropertyTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Specified by:
getPasswordOptionsNodein interfaceUserManagementType- Returns:
- the PasswordOptions
PropertyTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getPasswordOptionsNodeAsync
Description copied from interface:UserManagementTypeAsynchronous implementation ofUserManagementType.getPasswordOptionsNode().- Specified by:
getPasswordOptionsNodeAsyncin interfaceUserManagementType- Returns:
- a CompletableFuture that completes successfully with the PropertyType Node or completes exceptionally if an error occurs creating or getting the Node.
-
getPasswordRestrictions
public org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText getPasswordRestrictions() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:UserManagementTypeGet the local value of the PasswordRestrictions Node.The returned value is the last seen; it is not read live from the server.
- Specified by:
getPasswordRestrictionsin interfaceUserManagementType- Returns:
- the local value of the PasswordRestrictions Node.
- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the PasswordRestrictions Node.
-
setPasswordRestrictions
public void setPasswordRestrictions(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText value) throws org.eclipse.milo.opcua.stack.core.UaException Description copied from interface:UserManagementTypeSet the local value of the PasswordRestrictions Node.The value is only updated locally; it is not written to the server.
- Specified by:
setPasswordRestrictionsin interfaceUserManagementType- Parameters:
value- the local value to set for the PasswordRestrictions Node.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the PasswordRestrictions Node.
-
readPasswordRestrictions
public org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText readPasswordRestrictions() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:UserManagementTypeRead the value of the PasswordRestrictions Node from the server and update the local value if the operation succeeds.- Specified by:
readPasswordRestrictionsin interfaceUserManagementType- Returns:
- the
LocalizedTextvalue read from the server. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
writePasswordRestrictions
public void writePasswordRestrictions(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText value) throws org.eclipse.milo.opcua.stack.core.UaException Description copied from interface:UserManagementTypeWrite a new value for the PasswordRestrictions Node to the server and update the local value if the operation succeeds.- Specified by:
writePasswordRestrictionsin interfaceUserManagementType- Parameters:
value- theLocalizedTextvalue to write to the server.- Throws:
org.eclipse.milo.opcua.stack.core.UaException- if a service- or operation-level error occurs.
-
readPasswordRestrictionsAsync
public CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText> readPasswordRestrictionsAsync()Description copied from interface:UserManagementTypeAn asynchronous implementation ofUserManagementType.readPasswordRestrictions().- Specified by:
readPasswordRestrictionsAsyncin interfaceUserManagementType- Returns:
- a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
-
writePasswordRestrictionsAsync
public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writePasswordRestrictionsAsync(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText passwordRestrictions) Description copied from interface:UserManagementTypeAn asynchronous implementation ofUserManagementType.writePasswordRestrictions(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText).- Specified by:
writePasswordRestrictionsAsyncin interfaceUserManagementType- Returns:
- a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
-
getPasswordRestrictionsNode
public PropertyTypeNode getPasswordRestrictionsNode() throws org.eclipse.milo.opcua.stack.core.UaExceptionDescription copied from interface:UserManagementTypeGet the PasswordRestrictionsPropertyTypeNode, ornullif it does not exist.The Node is created when first accessed and cached for subsequent calls.
- Specified by:
getPasswordRestrictionsNodein interfaceUserManagementType- Returns:
- the PasswordRestrictions
PropertyTypeNode, ornullif it does not exist. - Throws:
org.eclipse.milo.opcua.stack.core.UaException- if an error occurs creating or getting the Node.
-
getPasswordRestrictionsNodeAsync
Description copied from interface:UserManagementTypeAsynchronous implementation ofUserManagementType.getPasswordRestrictionsNode().- Specified by:
getPasswordRestrictionsNodeAsyncin interfaceUserManagementType- Returns:
- a CompletableFuture that completes successfully with the PropertyType Node or completes exceptionally if an error occurs creating or getting the Node.
-