org.pentaho.di.ui.repository
Class RepositorySecurityUI
java.lang.Object
  
org.pentaho.di.ui.repository.RepositorySecurityUI
public class RepositorySecurityUI
- extends Object
 
 
 
 
RepositorySecurityUI
public RepositorySecurityUI()
verifyOperations
public static boolean verifyOperations(Shell shell,
                                       Repository repository,
                                       RepositoryOperation... operations)
- Verify a repository operation, show an error dialog if needed.
- Parameters:
 repositoryMeta - The repository meta objectuserinfo - The user informationoperations - the operations you want to perform with the supplied user.
- Returns:
 - true if there is an error, false if all is OK.
 
 
 
getVersionComment
public static String getVersionComment(Shell shell,
                                       Repository repository,
                                       String operationDescription)
 
showVersionCommentMandatoryDialog
public static boolean showVersionCommentMandatoryDialog(Shell shell)
- Parameters:
 shell - the parent shell.
- Returns:
 - true if we need to retry, false if we need to cancel the operation.