Class GatewayTagInterface.GatewayProviderProxy
java.lang.Object
com.inductiveautomation.ignition.client.tags.impl.GatewayTagInterface.GatewayProviderProxy
- All Implemented Interfaces:
ClientTagProvider
,TagProvider
- Enclosing class:
- GatewayTagInterface
protected class GatewayTagInterface.GatewayProviderProxy
extends Object
implements ClientTagProvider
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbrowseAsync
(TagPath tagPath, BrowseFilter filter) browseTagDataSourcesAsync
(BrowseElement root, BrowseFilter filter) getDiagnosticsAsync
(TagPath path) getName()
getTagConfigsAsync
(List<TagPath> tagPaths, boolean recursive, boolean localOnly) importTagDataSourcesAsync
(TagPath target, List<BrowseElement> elements) importTagsAsync
(TagPath basePath, String importText, String importType, CollisionPolicy cp) moveTagsAsync
(List<TagPath> tags, TagPath destination, boolean copy, CollisionPolicy collisionPolicy, SecurityContext securityContext) readAsync
(List<TagPath> tagPaths, SecurityContext security) reinitializeTagsAsync
(List<TagPath> paths) removeTagConfigsAsync
(List<TagPath> tagPaths, SecurityContext securityContext) removeTagGroupsAsync
(List<String> tagGroupNames, SecurityContext securityContext) saveTagConfigsAsync
(List<TagConfiguration> tagConfigs, CollisionPolicy policy, SecurityContext securityContext) saveTagGroupsAsync
(List<TagGroupConfiguration> tagGroups, SecurityContext securityContext) void
shutdown()
void
startup()
subscribeAsync
(List<TagPath> tagPaths, List<TagChangeListener> listeners) unsubscribeAsync
(List<TagPath> tagPaths, List<TagChangeListener> listeners) writeAsync
(List<TagPath> tagPaths, List<QualifiedValue> values, SecurityContext security) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.inductiveautomation.ignition.client.tags.model.ClientTagProvider
browseAsync, importTagsAsync
Methods inherited from interface com.inductiveautomation.ignition.common.tags.model.TagProvider
removeTagConfigsAsync, removeTagGroupsAsync, saveTagConfigsAsync, saveTagGroupsAsync
-
Constructor Details
-
GatewayProviderProxy
-
-
Method Details
-
browseTagDataSourcesAsync
public CompletableFuture<Results<BrowseElement>> browseTagDataSourcesAsync(BrowseElement root, BrowseFilter filter) - Specified by:
browseTagDataSourcesAsync
in interfaceTagProvider
-
importTagDataSourcesAsync
public CompletableFuture<QualityCode> importTagDataSourcesAsync(TagPath target, List<BrowseElement> elements) - Specified by:
importTagDataSourcesAsync
in interfaceClientTagProvider
-
browseAsync
public CompletableFuture<Results<NodeDescription>> browseAsync(TagPath tagPath, BrowseFilter filter) - Specified by:
browseAsync
in interfaceTagProvider
-
readAsync
public CompletableFuture<List<QualifiedValue>> readAsync(List<TagPath> tagPaths, SecurityContext security) - Specified by:
readAsync
in interfaceTagProvider
-
writeAsync
public CompletableFuture<List<QualityCode>> writeAsync(List<TagPath> tagPaths, List<QualifiedValue> values, SecurityContext security) - Specified by:
writeAsync
in interfaceTagProvider
-
getTagConfigsAsync
public CompletableFuture<List<TagConfigurationModel>> getTagConfigsAsync(List<TagPath> tagPaths, boolean recursive, boolean localOnly) - Specified by:
getTagConfigsAsync
in interfaceTagProvider
- Parameters:
tagPaths
- a List of TagPath objectsrecursive
- set to true to return all TagConfigurationModels under a TagPath. Useful for returning models for child tags under a UDT.localOnly
- set to True to only return configuration created by a user (aka no inherited properties). Useful for tag export and tag UI edits of raw JSON text.- Returns:
- a list of TagConfigurationModels, one for each passed tagPath.
-
saveTagConfigsAsync
public CompletableFuture<List<QualityCode>> saveTagConfigsAsync(List<TagConfiguration> tagConfigs, CollisionPolicy policy, SecurityContext securityContext) - Specified by:
saveTagConfigsAsync
in interfaceTagProvider
-
removeTagConfigsAsync
public CompletableFuture<List<QualityCode>> removeTagConfigsAsync(List<TagPath> tagPaths, SecurityContext securityContext) - Specified by:
removeTagConfigsAsync
in interfaceTagProvider
-
getTagGroupsAsync
- Specified by:
getTagGroupsAsync
in interfaceTagProvider
-
saveTagGroupsAsync
public CompletableFuture<List<QualityCode>> saveTagGroupsAsync(List<TagGroupConfiguration> tagGroups, SecurityContext securityContext) - Specified by:
saveTagGroupsAsync
in interfaceTagProvider
-
removeTagGroupsAsync
public CompletableFuture<List<QualityCode>> removeTagGroupsAsync(List<String> tagGroupNames, SecurityContext securityContext) - Specified by:
removeTagGroupsAsync
in interfaceTagProvider
-
getPropertiesAsync
- Specified by:
getPropertiesAsync
in interfaceTagProvider
-
subscribeAsync
public CompletableFuture<Void> subscribeAsync(List<TagPath> tagPaths, List<TagChangeListener> listeners) - Specified by:
subscribeAsync
in interfaceClientTagProvider
-
unsubscribeAsync
public CompletableFuture<Void> unsubscribeAsync(List<TagPath> tagPaths, List<TagChangeListener> listeners) - Specified by:
unsubscribeAsync
in interfaceClientTagProvider
-
getTagGroupConfigModelAsync
- Specified by:
getTagGroupConfigModelAsync
in interfaceTagProvider
-
getTagConfigModelAsync
- Specified by:
getTagConfigModelAsync
in interfaceTagProvider
-
getDiagnosticsAsync
- Specified by:
getDiagnosticsAsync
in interfaceTagProvider
-
getStatusInformation
- Specified by:
getStatusInformation
in interfaceTagProvider
-
importTagsAsync
public CompletableFuture<List<QualityCode>> importTagsAsync(TagPath basePath, String importText, String importType, CollisionPolicy cp) - Specified by:
importTagsAsync
in interfaceTagProvider
- Parameters:
basePath
- tags will be imported using this location as the base. The provider source must be set.importText
- a String holding the contents of the file to importimportType
- The import file type. Use "json", "xml" or "csv". Any other value will return an error.cp
- The collision policy to use. The collision policy will apply to individual tags, which means that some tag imports may succeed, while others may not.
-
getName
- Specified by:
getName
in interfaceTagProvider
- Returns:
- the name of the tag provider
-
reinitializeTagsAsync
- Specified by:
reinitializeTagsAsync
in interfaceTagProvider
-
startup
public void startup()- Specified by:
startup
in interfaceClientTagProvider
-
shutdown
public void shutdown()- Specified by:
shutdown
in interfaceClientTagProvider
-
moveTagsAsync
public CompletableFuture<List<QualityCode>> moveTagsAsync(List<TagPath> tags, TagPath destination, boolean copy, CollisionPolicy collisionPolicy, SecurityContext securityContext) - Specified by:
moveTagsAsync
in interfaceClientTagProvider
-