Class MTSymbolStoreAdapter

java.lang.Object
se.conciliate.extensions.store.MTSymbolStoreAdapter
All Implemented Interfaces:
EventListener, MTSymbolStoreListener

public class MTSymbolStoreAdapter extends Object implements MTSymbolStoreListener
  • Constructor Details

    • MTSymbolStoreAdapter

      public MTSymbolStoreAdapter()
  • Method Details

    • symbolAdded

      public void symbolAdded(MTSymbol symbol, MTWorkspace workspace, MTRepository repo)
      Description copied from interface: MTSymbolStoreListener
      Called when a symbol is added through the store api.

      NOTE: No guarantees are made about wich thread this method is called upon. It is up to the implementation to handle thread safety.
      Specified by:
      symbolAdded in interface MTSymbolStoreListener
      Parameters:
      symbol - The symbol that was added
      workspace - The workspace in which the symbol was added
      repo - The repository in which the symbol was added
    • symbolRemoved

      public void symbolRemoved(MTSymbol symbol, MTWorkspace workspace, MTRepository repo)
      Description copied from interface: MTSymbolStoreListener
      Called when a symbol is removed through the store api.

      NOTE: No guarantees are made about wich thread this method is called upon. It is up to the implementation to handle thread safety.
      Specified by:
      symbolRemoved in interface MTSymbolStoreListener
      Parameters:
      symbol - The symbol that was removed
      workspace - The workspace from which the symbol was removed
      repo - The repository from which the symbol was removed.
    • symbolChanged

      public void symbolChanged(MTSymbol symbol, SymbolChangeEvent event)
      Description copied from interface: MTSymbolStoreListener
      Called when a symbol is changed through the store api.

      NOTE: No guarantees are made about wich thread this method is called upon. It is up to the implementation to handle thread safety.
      Specified by:
      symbolChanged in interface MTSymbolStoreListener
      Parameters:
      symbol - The symbol that was changed.
      event - An event describing the change.
      See Also:
    • revisionCreated

      public void revisionCreated(MTSymbol symbol, Collection<MTModel> newModelRevisions, MTWorkspace workspace, MTRepository repo)
      Description copied from interface: MTSymbolStoreListener
      Called when a new revision of a symbol is created through the store api.

      NOTE: No guarantees are made about wich thread this method is called upon. It is up to the implementation to handle thread safety.
      Specified by:
      revisionCreated in interface MTSymbolStoreListener
      Parameters:
      symbol - The symbol that now has a new revision.
      newModelRevisions - Models that got new revisions as part of the operation.
      workspace - The workspace in which the new revision of the symbol was created.
      repo - The repository in which the new revision of the symbol was created.
    • revisionLocked

      public void revisionLocked(MTSymbol symbol, MTWorkspace workspace, MTRepository repo)
      Description copied from interface: MTSymbolStoreListener
      Called when the current revision of a symbol is locked.

      NOTE: No guarantees are made about wich thread this method is called upon. It is up to the implementation to handle thread safety.
      Specified by:
      revisionLocked in interface MTSymbolStoreListener
      Parameters:
      symbol - The symbol that now has its revision locked.
      workspace - The workspace in which the revision of the symbol was locked.
      repo - The repository in which the revision of the symbol was locked.
    • revisionChanged

      public void revisionChanged(MTSymbol symbol, MTWorkspace workspace, MTRepository repo)
      Description copied from interface: MTSymbolStoreListener
      Called when a change was made to the current revision of a symbol, i.e. the revision log was updated.

      NOTE: No guarantees are made about wich thread this method is called upon. It is up to the implementation to handle thread safety.
      Specified by:
      revisionChanged in interface MTSymbolStoreListener
      Parameters:
      symbol - The symbol where the change was made.
      workspace - The workspace in which the revision of the symbol was changed.
      repo - The repository in which the revision of the symbol was changed.