org.eclipse.stardust.engine.api.runtime
Class Permission

java.lang.Object
  extended by org.eclipse.stardust.engine.api.runtime.Permission
All Implemented Interfaces:
java.io.Serializable

public class Permission
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
Permission(java.lang.String permissionId, java.util.List<Scope> scopes)
           
 
Method Summary
 java.lang.String getPermissionId()
          Gets the id of this permission.
 java.util.List<Scope> getScopes()
          Get all scopes for this permission.
 java.lang.String toString()
          Returns a string representation of the object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Permission

public Permission(java.lang.String permissionId,
                  java.util.List<Scope> scopes)
Method Detail

getPermissionId

public java.lang.String getPermissionId()
Gets the id of this permission.

Returns:
The permission id.

getScopes

public java.util.List<Scope> getScopes()
Get all scopes for this permission.

Returns:
A list of all scopes for this permission.

toString

public java.lang.String toString()
Returns a string representation of the object.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of the object.


Copyright © 2014 SunGard CSA LLC. All Rights Reserved.