public class RepositorySecurityUI extends Object
Constructor and Description |
---|
RepositorySecurityUI() |
Modifier and Type | Method and Description |
---|---|
static String |
getVersionComment(org.eclipse.swt.widgets.Shell shell,
org.pentaho.di.repository.Repository repository,
String operationDescription) |
static boolean |
showVersionCommentMandatoryDialog(org.eclipse.swt.widgets.Shell shell) |
static boolean |
verifyOperations(org.eclipse.swt.widgets.Shell shell,
org.pentaho.di.repository.Repository repository,
org.pentaho.di.repository.RepositoryOperation... operations)
Verify a repository operation, show an error dialog if needed.
|
public static boolean verifyOperations(org.eclipse.swt.widgets.Shell shell, org.pentaho.di.repository.Repository repository, org.pentaho.di.repository.RepositoryOperation... operations)
repositoryMeta
- The repository meta objectuserinfo
- The user informationoperations
- the operations you want to perform with the supplied user.public static String getVersionComment(org.eclipse.swt.widgets.Shell shell, org.pentaho.di.repository.Repository repository, String operationDescription)
public static boolean showVersionCommentMandatoryDialog(org.eclipse.swt.widgets.Shell shell)
shell
- the parent shell.