com.starteam
Class AccessRightsManager.AccessTestResults

java.lang.Object
  extended by com.starteam.AccessRightsManager.AccessTestResults
Enclosing class:
AccessRightsManager

public static final class AccessRightsManager.AccessTestResults
extends java.lang.Object

Represents the results of an access test.

Indicates whether or not access is granted, and provides an explanation in terms of the EffectiveACEs that were relevant for each tested permission.

See Also:
AccessRightsManager.accessTest(Principal, PermissionCollection, EffectiveACE[])

Method Summary
 MatchedACE[] getExplanation()
          Describes why access was granted or denied.
 boolean isGranted()
          Determines whether or not access was granted.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isGranted

public boolean isGranted()
Determines whether or not access was granted.

Returns:
true if access was granted; false if access was denied.

getExplanation

public MatchedACE[] getExplanation()
Describes why access was granted or denied.

Returns:
An explanation of why access was granted or denied, in terms of the EffectiveACEs that were relevant for each tested permission. Each tested permission appears in exactly one of the MatchedACEs.
See Also:
MatchedACE


StarTeam SDK 14.0, Build 21
Copyright © 2003-2012 Borland Software Corporation. All rights reserved.