Class ProjectTagSubscriptionManager
java.lang.Object
com.inductiveautomation.factorypmi.application.sqltags.ProjectTagSubscriptionManager
- All Implemented Interfaces:
TagChangeListener
,EventListener
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected TagPath
protected Property<?>
downgradeProp
(Property<?> prop) protected void
protected void
notifyFolderChanged
(TagPath folder) void
protected void
removeTagInternal
(TagPath path) void
subscribe
(TagPath path, TagChangeListener listener, ClientTag currentTag) void
Invoked when the tag has changedvoid
unsubscribe
(TagPath path, TagChangeListener listener) void
void
updateTagName
(TagPath originalPath, ClientTag newTag) protected Property<?>
upgradeProp
(Property<?> prop) Client tags use TagProp still, so we have to somewhat carefully go between what they expect and what we want, since TagProp can't properly implement equals().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.common.tags.model.event.TagChangeListener
getSecurityContext, isLightweight
-
Constructor Details
-
ProjectTagSubscriptionManager
public ProjectTagSubscriptionManager()
-
-
Method Details
-
cleanPath
-
updateTag
-
removeTag
-
removeTagInternal
-
updateTagName
-
notifyFolderChanged
-
upgradeProp
Client tags use TagProp still, so we have to somewhat carefully go between what they expect and what we want, since TagProp can't properly implement equals(). -
downgradeProp
-
subscribe
-
unsubscribe
-
tagChanged
Description copied from interface:TagChangeListener
Invoked when the tag has changed- Specified by:
tagChanged
in interfaceTagChangeListener
- Parameters:
e
- a ChangeEvent object
-
handleTagChanged
-