| /** |
| * |
| * 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; |
| |
| // TODO: Auto-generated Javadoc |
| /** |
| * The Interface IOrganizationService. |
| */ |
| public interface IOrganizationService { |
| |
| /** |
| * Gets the organization. |
| * |
| * @param name the name |
| * @return the organization |
| */ |
| AbstractSubOrganization getOrganization(final String name); |
| |
| /** |
| * Gets the organizations. |
| * |
| * @return the organizations |
| */ |
| Collection<AbstractSubOrganization> getOrganizations(); |
| |
| /** |
| * Gets the organization names. |
| * |
| * @return the organization names |
| */ |
| Collection<String> getOrganizationNames(); |
| |
| /** |
| * Gets all defined roles. |
| * |
| * @return the roles |
| */ |
| Collection<String> getRoles(); |
| |
| /** |
| * @return instance containing all blip process permissions |
| */ |
| IBlipProcessPermissions getBlipProcessPermissions(); |
| |
| /** |
| * Reloads the models and refreshes internal structures. |
| */ |
| void reload(); |
| } |