Class ProjectTagSubscriptionManager

java.lang.Object
com.inductiveautomation.factorypmi.application.sqltags.ProjectTagSubscriptionManager
All Implemented Interfaces:
TagChangeListener, EventListener

public class ProjectTagSubscriptionManager extends Object implements TagChangeListener
  • Constructor Details

    • ProjectTagSubscriptionManager

      public ProjectTagSubscriptionManager()
  • Method Details

    • cleanPath

      protected TagPath cleanPath(TagPath path)
    • updateTag

      public void updateTag(TagPath path, ClientTag tag)
    • removeTag

      public void removeTag(TagPath path)
    • removeTagInternal

      protected void removeTagInternal(TagPath path)
    • updateTagName

      public void updateTagName(TagPath originalPath, ClientTag newTag)
    • 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().
    • downgradeProp

      protected Property<?> downgradeProp(Property<?> prop)
    • 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 interface TagChangeListener
      Parameters:
      e - a ChangeEvent object
    • handleTagChanged

      protected void handleTagChanged(TagChangeEvent e)