|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.starteam.ACE.WebCacheACE
public static final class ACE.WebCacheACE
Base accessor for cached SDK ACEs
| Constructor Summary | |
|---|---|
ACE.WebCacheACE(Principal.WebCachePrincipal prncpl,
boolean isGranted)
Creates a new Access Control Entry (ACE). |
|
ACE.WebCacheACE(Principal.WebCachePrincipal prncpl,
PermissionCollection permissions,
boolean isGranted)
Creates a new Access Control Entry (ACE). |
|
| Method Summary | |
|---|---|
void |
addPermission(Permission permission)
Adds the specified permission to this entry. |
boolean |
equals(java.lang.Object o)
Return true if the object is an ACE and is equal to this ACE. |
ArtifactCacheManager.Context |
getContext()
Returns the context of this object. |
PermissionCollection |
getPermissions()
Returns the permissions for this ACE. |
Principal.WebCachePrincipal |
getPrincipal()
Returns the principal (user or group) for this entry. |
Server.WebCacheServer |
getServer()
return the Server for this cached object |
int |
hashCode()
Return a hashcode for this ACE. |
boolean |
hasPermission(Permission permission)
Returns true if the specified permission is a part of this entry. |
boolean |
isGranted()
Returns true if the permissions are granted and false if denied. |
void |
removePermission(Permission permission)
Removes the specified permission from this entry. |
void |
setGranted(boolean value)
Modifies this entry to be granted or denied. |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ACE.WebCacheACE(Principal.WebCachePrincipal prncpl,
boolean isGranted)
prncpl - The user or group for this entry.isGranted - true if the permissions are to be granted; false if they are
to be denied.ACE.WebCacheACE.addPermission(com.starteam.Permission)
public ACE.WebCacheACE(Principal.WebCachePrincipal prncpl,
PermissionCollection permissions,
boolean isGranted)
prncpl - The user or group for this entry.permissions - The permissions to be granted or denied.isGranted - true if the permissions are to be granted; false if they are
to be denied.| Method Detail |
|---|
public Server.WebCacheServer getServer()
public ArtifactCacheManager.Context getContext()
public void addPermission(Permission permission)
permission - the permission to be addedPermissionpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objecto - an Object to compare with this ACE.
public PermissionCollection getPermissions()
Permissionpublic Principal.WebCachePrincipal getPrincipal()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean hasPermission(Permission permission)
permission - the permission code to be checked
Permissionpublic boolean isGranted()
public void removePermission(Permission permission)
permission - the permission code to be removedPermissionpublic void setGranted(boolean value)
value - true if this the permissions are granted and false if denied
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||