org.eclipse.stardust.engine.api.runtime
Interface Department

All Superinterfaces:
DepartmentInfo, Serializable

public interface Department
extends DepartmentInfo

Author:
Florin.Herinean

Field Summary
static Department DEFAULT
          This constants must be used to represent the default (all null) department when adding user grants.
 
Method Summary
 String getDescription()
          Returns the description of this department.
 Organization getOrganization()
          Gets the organization bound to this department.
 Department getParentDepartment()
          Returns the parent department.
 org.eclipse.stardust.engine.api.model.QualifiedModelParticipantInfo getScopedParticipant(ModelParticipant participant)
          Creates a client side model participant bound to this department.
 
Methods inherited from interface org.eclipse.stardust.engine.api.runtime.DepartmentInfo
getId, getName, getOID, getRuntimeOrganizationOID
 

Field Detail

DEFAULT

static final Department DEFAULT
This constants must be used to represent the default (all null) department when adding user grants.

Method Detail

getDescription

String getDescription()
Returns the description of this department.

Returns:
The description.

getParentDepartment

Department getParentDepartment()
Returns the parent department.

Returns:
The parent department.

getOrganization

Organization getOrganization()
Gets the organization bound to this department.

Returns:
The organization.

getScopedParticipant

org.eclipse.stardust.engine.api.model.QualifiedModelParticipantInfo getScopedParticipant(ModelParticipant participant)
                                                                                         throws org.eclipse.stardust.common.error.InvalidArgumentException
Creates a client side model participant bound to this department.

Parameters:
participant - The participant.
Returns:
The bound participant info.
Throws:
org.eclipse.stardust.common.error.InvalidArgumentException - if the organization is not directly or indirectly part of the organization to which the department is assigned (invalid hierarchy).


Copyright © 2017 Eclipse Stardust. All Rights Reserved.