| /** |
| * |
| * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany) |
| * |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/epl-v10.html |
| * |
| * Contributors: |
| * Christophe Loetz (Loetz GmbH&Co.KG) - initial implementation |
| */ |
| package org.eclipse.osbp.ui.api.useraccess; |
| |
| import java.util.List; |
| |
| /** |
| * Container with all blip process permissions. |
| * <br> |
| * All existing roles from authorization and all mentioned blips are inspected. |
| */ |
| public interface IBlipProcessPermissions { |
| /** |
| * @param blipProcessName the blip process requested |
| * @return list of strings containing all roles, which can start the process |
| */ |
| List<String> getProcessStartableRoles(String blipProcessName); |
| /** |
| * @param blipProcessName the blip process requested |
| * @param blipHumanTaskName the blip human task requested |
| * @return list of strings containing all roles, which can start the process |
| */ |
| List<String> getHumanTaskExecutableRoles(String blipProcessName, String blipHumanTaskName); |
| } |