Interface TagProviderService2
public interface TagProviderService2
Implements all of the functions necessary for remote tag providers.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbrowse
(TagPath tagPath, BrowseFilter filter, SecurityContext security) browseTagDataSources
(String provider, BrowseElement root, BrowseFilter filter) void
cancelSubscription
(String callbackServer, String callbackIntent) creatorBrowse
(String provider, String sessionKey, TagPath tagPath, boolean single, SecurityContext securityContext) creatorModify
(String provider, String session, PropertySet changes, SecurityContext securityContext) getProperties
(String provider) getTagConfigModel
(String provider) getTagConfigs
(String provider, List<TagPath> tagPaths, boolean recursive, boolean localPropsOnly) getTagCount
(String provider) getTagDiagnostics
(TagPath tagPath) getTagGroupConfigModel
(String provider) getTagGroups
(String provider) importTagsAsync
(TagPath basePath, String importText, String importType, CollisionPolicy cp, SecurityContext security) void
modifySubscription
(String callbackServer, String callbackIntent, long currentId, SecurityTagPath[] addedPaths, SecurityTagPath[] removedPaths) moveTags
(String provider, List<TagPath> tags, TagPath destination, CollisionPolicy collisionPolicy, SecurityContext security) query
(String provider, TagQueryFilter filter, SecurityContext security) read
(List<TagPath> paths, SecurityContext security) removeTagConfigs
(String provider, List<TagPath> tagPaths, SecurityContext security) removeTagGroups
(String provider, List<String> tagGroupNames, SecurityContext security) saveTagConfigs
(String provider, List<TagConfiguration> tagEdits, CollisionPolicy collisionPolicy, SecurityContext security) saveTagGroups
(String provider, List<TagGroupConfiguration> tagGroups, SecurityContext security) validateSubscription
(String callbackServer, String callbackIntent, long currentId, long crc) write
(List<TagPath> writes, List<QualifiedValue> values, SecurityContext security)
-
Method Details
-
getProperties
-
getProviders
-
read
-
write
List<QualityCode> write(List<TagPath> writes, List<QualifiedValue> values, SecurityContext security) -
browse
-
browseTagDataSources
Results<BrowseElement> browseTagDataSources(String provider, BrowseElement root, BrowseFilter filter) -
getTagDiagnostics
-
modifySubscription
void modifySubscription(String callbackServer, String callbackIntent, long currentId, SecurityTagPath[] addedPaths, SecurityTagPath[] removedPaths) -
cancelSubscription
-
validateSubscription
TagProviderService2.SubscriptionState validateSubscription(String callbackServer, String callbackIntent, long currentId, long crc) -
getTagConfigs
List<TagConfigurationModel> getTagConfigs(String provider, List<TagPath> tagPaths, boolean recursive, boolean localPropsOnly) -
saveTagConfigs
List<QualityCode> saveTagConfigs(String provider, List<TagConfiguration> tagEdits, CollisionPolicy collisionPolicy, SecurityContext security) -
moveTags
List<QualityCode> moveTags(String provider, List<TagPath> tags, TagPath destination, CollisionPolicy collisionPolicy, SecurityContext security) -
removeTagConfigs
List<QualityCode> removeTagConfigs(String provider, List<TagPath> tagPaths, SecurityContext security) -
getTagGroups
-
saveTagGroups
List<QualityCode> saveTagGroups(String provider, List<TagGroupConfiguration> tagGroups, SecurityContext security) -
removeTagGroups
List<QualityCode> removeTagGroups(String provider, List<String> tagGroupNames, SecurityContext security) -
getTagGroupConfigModel
-
getTagConfigModel
-
importTagsAsync
List<QualityCode> importTagsAsync(TagPath basePath, String importText, String importType, CollisionPolicy cp, SecurityContext security) -
creatorBrowse
Results<NodeDescription> creatorBrowse(String provider, String sessionKey, TagPath tagPath, boolean single, SecurityContext securityContext) -
creatorModify
PropertySet creatorModify(String provider, String session, PropertySet changes, SecurityContext securityContext) -
query
-
getTagCount
- Parameters:
provider
- the remote tag provider name to target- Returns:
- the tag count for the remote tag provider. values of null or < zero means the tag count is not available or not supported
-