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

All Superinterfaces:
java.io.Serializable

public interface Grant
extends java.io.Serializable

The Grant class represents a permission granted to a user to perform as a specific model participant (role or organization) of a model.

Version:
$Revision$
Author:
ubirkemeyer

Method Summary
 Department getDepartment()
          Gets the department with which this grant is associated.
 java.lang.String getId()
          Gets the ID of the participant.
 java.lang.String getName()
          Gets the name of the participant.
 java.lang.String getNamespace()
          Gets the participant namespace.
 java.lang.String getQualifiedId()
          Gets the qualified ID of the participant
 boolean isOrganization()
          Gets whether this participant is a role or an organization.
 

Method Detail

getId

java.lang.String getId()
Gets the ID of the participant.

Returns:
the ID of the participant.

getQualifiedId

java.lang.String getQualifiedId()
Gets the qualified ID of the participant

Returns:
the qualified id in the form "{}"

getNamespace

java.lang.String getNamespace()
Gets the participant namespace.

Returns:
the ID of the model.

getName

java.lang.String getName()
Gets the name of the participant.

Returns:
the name of the participant.

isOrganization

boolean isOrganization()
Gets whether this participant is a role or an organization.

Returns:
true if the participant is an Organization.

getDepartment

Department getDepartment()
Gets the department with which this grant is associated.

Returns:
the associated Department or null if the grant has no department association.


Copyright © 2013 SunGard CSA LLC. All Rights Reserved.