| /** |
| * |
| * 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 2.0 |
| * which accompanies this distribution, and is available at |
| * https://www.eclipse.org/legal/epl-2.0/ |
| * |
| * SPDX-License-Identifier: EPL-2.0 |
| * |
| * 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 ISubOrganization. |
| */ |
| @SuppressWarnings("all") |
| public interface ISubOrganization extends IOrgElement { |
| |
| /** |
| * Gets the position node. |
| * |
| * @param name |
| * the name |
| * @return the position node |
| */ |
| IPosition getPosition(final String name); |
| |
| /** |
| * Gets the position by link alias. |
| * |
| * @param name the name |
| * @return the position by link alias |
| */ |
| IPosition getPositionByLinkAlias(final String name); |
| /** |
| * Sets the position node. |
| * |
| * @param name |
| * the name |
| * @return the position node |
| */ |
| void setPosition(IPosition position); |
| |
| /** |
| * Gets the position nodes including its sub organizations. |
| * |
| * @return the position nodes |
| */ |
| Collection<IPosition> getPositions(); |
| |
| /** |
| * Gets the position nodes without its sub organizations. |
| * |
| * @return the position nodes |
| */ |
| Collection<IPosition> getOwnPositions(); |
| |
| /** |
| * gets the sub organizations. |
| * |
| * @return the sub organizations |
| */ |
| Collection<ISubOrganization> getSubOrganizations(); |
| |
| /** |
| * Sets the sub organization. |
| * |
| * @param subOrg |
| * the sub organization |
| * @return the position node |
| */ |
| void setSubOrganization(ISubOrganization subOrg); |
| |
| } |