org.pentaho.di.repository.Repository.renameTransformation()方法的使用及代码示例

x33g5p2x  于2022-01-28 转载在 其他  
字(2.1k)|赞(0)|评价(0)|浏览(91)

本文整理了Java中org.pentaho.di.repository.Repository.renameTransformation方法的一些代码示例,展示了Repository.renameTransformation的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Repository.renameTransformation方法的具体详情如下:
包路径:org.pentaho.di.repository.Repository
类名称:Repository
方法名:renameTransformation

Repository.renameTransformation介绍

[英]Move / rename a transformation
[中]移动/重命名转换

代码示例

代码示例来源:origin: pentaho/pentaho-kettle

@Override
public ObjectId renameTransformation( ObjectId objectId, String s, RepositoryDirectoryInterface repositoryDirectoryInterface, String s1 ) throws KettleException {
 return getDelegate().renameTransformation( objectId, s, repositoryDirectoryInterface, s1 );
}

代码示例来源:origin: pentaho/pentaho-kettle

@Override
public ObjectId renameTransformation( ObjectId objectId, RepositoryDirectoryInterface repositoryDirectoryInterface, String s ) throws KettleException {
 return getDelegate().renameTransformation( objectId, repositoryDirectoryInterface, s );
}

代码示例来源:origin: pentaho/pentaho-kettle

public void move( UIRepositoryDirectory newParentDir ) throws KettleException {
 if ( newParentDir != null ) {
  rep.renameTransformation( obj.getObjectId(), newParentDir.getDirectory(), null );
  newParentDir.refresh();
 }
}

代码示例来源:origin: pentaho/pentaho-kettle

protected ObjectId renameTransformation( ObjectId objectId, RepositoryDirectory directory, String name )
 throws Exception {
 String comment = BaseMessages.getString( REPOSITORY_PKG, "Repository.Rename", super.getName(), name );
 return rep.renameTransformation( this.getObjectId(), comment, getRepositoryDirectory(), name );
}

代码示例来源:origin: pentaho/pentaho-kettle

rep.renameTransformation( id, comment, repdir, newname );
retval = true;

代码示例来源:origin: pentaho/pentaho-kettle

ObjectId newId = rep.renameTransformation( transMeta.getObjectId(), newDirectory, transMeta.getName() );
transMeta.setObjectId( newId );
transMeta.setRepositoryDirectory( newDirectory );

代码示例来源:origin: pentaho/pentaho-kettle

if ( existingTransID == null ) {
 ObjectId id = rep.getTransformationID( transname, fromdir );
 rep.renameTransformation( id, repdir, transname );
 retval = true;
} else {

代码示例来源:origin: pentaho/pentaho-kettle

objectId = getRepository().renameTransformation( () -> id, repositoryDirectoryInterface, newName );
 break;
case FOLDER:

相关文章

Repository类方法