| /* |
| * |
| * Copyright (c) 2011 - 2017 - 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 |
| * |
| * Initial contribution: |
| * Loetz GmbH & Co. KG |
| * |
| */ |
| package org.eclipse.osbp.ui.api.useraccess; |
| |
| import java.util.Collection; |
| |
| public interface IPosition extends IOrgElement { |
| |
| /** |
| * Gets the permission list. |
| * |
| * @return the permission list |
| */ |
| AbstractAuthorization getAuthorization(); |
| |
| /** |
| * Sets the authorization. |
| * |
| * @param authorization the new authorization |
| */ |
| void setAuthorization(AbstractAuthorization authorization); |
| |
| /** |
| * Gets the roles as String collection. |
| * |
| * @return the roles |
| */ |
| Collection<String> getRoles(); |
| } |