Class SpoonSharedObjectDelegate<T extends org.pentaho.di.shared.SharedObjectInterface<T> & org.pentaho.di.repository.RepositoryElementInterface>

java.lang.Object
org.pentaho.di.ui.spoon.delegates.SpoonDelegate
org.pentaho.di.ui.spoon.delegates.SpoonSharedObjectDelegate<T>
Direct Known Subclasses:
SpoonClustersDelegate, SpoonDBDelegate, SpoonPartitionsDelegate, SpoonSlaveDelegate

public abstract class SpoonSharedObjectDelegate<T extends org.pentaho.di.shared.SharedObjectInterface<T> & org.pentaho.di.repository.RepositoryElementInterface> extends SpoonDelegate
  • Field Details

    • PKG

      protected static final Class<?> PKG
  • Constructor Details

    • SpoonSharedObjectDelegate

      public SpoonSharedObjectDelegate(Spoon spoon)
  • Method Details

    • isDuplicate

      protected static <T extends org.pentaho.di.shared.SharedObjectInterface<T>> boolean isDuplicate(List<T> objects, T object)
    • saveSharedObjects

      protected void saveSharedObjects()
    • moveCopy

      protected void moveCopy(org.pentaho.di.shared.SharedObjectsManagementInterface<T> srcManager, org.pentaho.di.shared.SharedObjectsManagementInterface<T> targetManager, T object, boolean deleteFromSource, String overWritePromptKey) throws org.pentaho.di.core.exception.KettleException
      Throws:
      org.pentaho.di.core.exception.KettleException
    • dupeSharedObject

      protected void dupeSharedObject(org.pentaho.di.shared.SharedObjectsManagementInterface<T> manager, T object, SpoonSharedObjectDelegate.ShowEditDialog<T> showDialog)
    • findObject

      protected T findObject(List<T> objects, String name)
    • shouldOverwrite

      protected boolean shouldOverwrite(String message)
    • refreshTree

      protected abstract void refreshTree()
    • getMessage

      protected static String getMessage(String key)
    • getMessage

      protected static String getMessage(String key, Object... params)