本文整理了Java中org.pentaho.di.repository.Repository.renameTransformation
方法的一些代码示例,展示了Repository.renameTransformation
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Repository.renameTransformation
方法的具体详情如下:
包路径:org.pentaho.di.repository.Repository
类名称: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:
内容来源于网络,如有侵权,请联系作者删除!