public void lock( String lockNote ) throws KettleException { RepositoryLock lock = lockService.lockJob( getObjectId(), lockNote ); repObj.setLock( lock ); uiParent.fireCollectionChanged(); }
public void unlock() throws KettleException { lockService.unlockTransformation( getObjectId() ); repObj.setLock( null ); uiParent.fireCollectionChanged(); }
public void unlock() throws KettleException { lockService.unlockJob( getObjectId() ); repObj.setLock( null ); uiParent.fireCollectionChanged(); }
public void lock( String lockNote ) throws KettleException { RepositoryLock lock = lockService.lockTransformation( getObjectId(), lockNote ); repObj.setLock( lock ); uiParent.fireCollectionChanged(); }
/** * Synchronize this folder with the back-end * * */ public void refresh() { kidElementCache = null; kidDirectoryCache = null; rd.clear(); populateChildren(); try { if ( obj != null ) { getRepositoryObjects(); } } catch ( KettleException ignored ) { // Ignored } fireCollectionChanged(); }
public void restoreRevision( UIRepositoryObjectRevision revision, String commitMessage ) throws KettleException { if ( revisionService != null ) { revisionService.restoreJob( this.getObjectId(), revision.getName(), commitMessage ); refreshRevisions(); uiParent.fireCollectionChanged(); } }
@Override public void setName( String name ) throws Exception { renameTransformation( this.getObjectId(), getRepositoryDirectory(), name ); super.setName( name ); uiParent.fireCollectionChanged(); }
public void restoreRevision( UIRepositoryObjectRevision revision, String commitMessage ) throws KettleException { if ( revisionService != null ) { revisionService.restoreTransformation( this.getObjectId(), revision.getName(), commitMessage ); refreshRevisions(); uiParent.fireCollectionChanged(); } }
@Override public void setName( String name ) throws Exception { renameJob( this.getObjectId(), getRepositoryDirectory(), name ); super.setName( name ); uiParent.fireCollectionChanged(); }