| /** |
| * |
| * 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.Collection; |
| import java.util.Set; |
| |
| // TODO: Auto-generated Javadoc |
| /** |
| * The Interface IPermissionList. |
| */ |
| public interface IPermissionList { |
| |
| /** The Constant NEGATIVE_POSTFIX. */ |
| public static final String NEGATIVE_POSTFIX = "_FALSE"; |
| |
| /** |
| * Sets the. |
| * |
| * @param roles the roles |
| * @param authorizationServices the authorization services |
| * @return the i permission list |
| */ |
| IPermissionList set(Collection<String> roles, AbstractAuthorization authorizationService); |
| |
| /** |
| * Gets the permissions. |
| * |
| * @return the permissions |
| */ |
| Set<String> getPermissions(); |
| |
| } |