Class SpoonSharedObjectDelegate
- java.lang.Object
-
- org.pentaho.di.ui.spoon.delegates.SpoonDelegate
-
- org.pentaho.di.ui.spoon.delegates.SpoonSharedObjectDelegate
-
- Direct Known Subclasses:
SpoonClustersDelegate
,SpoonPartitionsDelegate
,SpoonSlaveDelegate
public abstract class SpoonSharedObjectDelegate extends SpoonDelegate
-
-
Field Summary
Fields Modifier and Type Field Description protected static Class<?>
PKG
protected SharedObjectSyncUtil
sharedObjectSyncUtil
-
Fields inherited from class org.pentaho.di.ui.spoon.delegates.SpoonDelegate
log, loggingObject, spoon
-
-
Constructor Summary
Constructors Constructor Description SpoonSharedObjectDelegate(Spoon spoon)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static String
getMessage(String key)
protected static String
getMessage(String key, Object... params)
protected static boolean
isDuplicate(List<? extends org.pentaho.di.shared.SharedObjectInterface> objects, org.pentaho.di.shared.SharedObjectInterface object)
protected void
saveSharedObjects()
protected <T extends org.pentaho.di.shared.SharedObjectInterface & org.pentaho.di.repository.RepositoryElementInterface & org.pentaho.di.core.changed.ChangedFlagInterface>
voidsaveSharedObjectToRepository(T sharedObject, String versionComment)
void
setSharedObjectSyncUtil(SharedObjectSyncUtil sharedObjectSyncUtil)
-
Methods inherited from class org.pentaho.di.ui.spoon.delegates.SpoonDelegate
getMaxTabLength
-
-
-
-
Field Detail
-
PKG
protected static final Class<?> PKG
-
sharedObjectSyncUtil
protected SharedObjectSyncUtil sharedObjectSyncUtil
-
-
Constructor Detail
-
SpoonSharedObjectDelegate
public SpoonSharedObjectDelegate(Spoon spoon)
-
-
Method Detail
-
setSharedObjectSyncUtil
public void setSharedObjectSyncUtil(SharedObjectSyncUtil sharedObjectSyncUtil)
-
isDuplicate
protected static boolean isDuplicate(List<? extends org.pentaho.di.shared.SharedObjectInterface> objects, org.pentaho.di.shared.SharedObjectInterface object)
-
saveSharedObjectToRepository
protected <T extends org.pentaho.di.shared.SharedObjectInterface & org.pentaho.di.repository.RepositoryElementInterface & org.pentaho.di.core.changed.ChangedFlagInterface> void saveSharedObjectToRepository(T sharedObject, String versionComment) throws org.pentaho.di.core.exception.KettleException
- Throws:
org.pentaho.di.core.exception.KettleException
-
saveSharedObjects
protected void saveSharedObjects()
-
-