Class ProjectTagSubscriptionManager
- java.lang.Object
-
- com.inductiveautomation.factorypmi.application.sqltags.ProjectTagSubscriptionManager
-
- All Implemented Interfaces:
TagChangeListener
,java.util.EventListener
public class ProjectTagSubscriptionManager extends java.lang.Object implements TagChangeListener
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected class
ProjectTagSubscriptionManager.TagSubscriptions
-
Constructor Summary
Constructors Constructor Description ProjectTagSubscriptionManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected TagPath
cleanPath(TagPath path)
protected Property<?>
downgradeProp(Property<?> prop)
protected void
handleTagChanged(TagChangeEvent e)
protected void
notifyFolderChanged(TagPath folder)
void
removeTag(TagPath path)
protected void
removeTagInternal(TagPath path)
void
subscribe(TagPath path, TagChangeListener listener, ClientTag currentTag)
void
tagChanged(TagChangeEvent e)
Invoked when the tag has changedvoid
unsubscribe(TagPath path, TagChangeListener listener)
void
updateTag(TagPath path, ClientTag tag)
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
-
-
-
-
Method Detail
-
removeTag
public void removeTag(TagPath path)
-
removeTagInternal
protected void removeTagInternal(TagPath path)
-
notifyFolderChanged
protected void notifyFolderChanged(TagPath folder)
-
upgradeProp
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().
-
subscribe
public void subscribe(TagPath path, TagChangeListener listener, ClientTag currentTag)
-
unsubscribe
public void unsubscribe(TagPath path, TagChangeListener listener)
-
tagChanged
public void tagChanged(TagChangeEvent e)
Description copied from interface:TagChangeListener
Invoked when the tag has changed- Specified by:
tagChanged
in interfaceTagChangeListener
- Parameters:
e
- a ChangeEvent object
-
handleTagChanged
protected void handleTagChanged(TagChangeEvent e)
-
-