be.re.webdav
Class Client.ACE

java.lang.Object
  extended by be.re.webdav.Client.ACE
Enclosing class:
Client

public static class Client.ACE
extends Object

Represents one Access Control Entry in an Access Control List.

Author:
Werner Donné

Field Summary
 boolean grant
          Grant or deny.
 boolean invert
          When set to true it means that the entry is valid for principals that do not match.
 boolean isProtected
          When set to true the entry can't be modified.
 Object principal
          The principal can be a user or group URL, a value of type ExpandedName, which is the name of a property the resource should have with a value that matches the current user, or a symbolic value from the following list: all: the current user always matches.
 ExpandedName privilege
          The standard privileges are defined in RFC 3744.
 
Constructor Summary
Client.ACE()
           
Client.ACE(Client.ACE ace)
           
Client.ACE(ExpandedName principal, boolean invert, ExpandedName privilege, boolean grant, boolean isProtected)
           
Client.ACE(String principal, boolean invert, ExpandedName privilege, boolean grant, boolean isProtected)
           
Client.ACE(URL principal, boolean invert, ExpandedName privilege, boolean grant, boolean isProtected)
           
 
Method Summary
 boolean equals(Object o)
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

grant

public boolean grant
Grant or deny.


invert

public boolean invert
When set to true it means that the entry is valid for principals that do not match.


isProtected

public boolean isProtected
When set to true the entry can't be modified. An attempt to set an Access Control List without it will fail.


principal

public Object principal
The principal can be a user or group URL, a value of type ExpandedName, which is the name of a property the resource should have with a value that matches the current user, or a symbolic value from the following list:


privilege

public ExpandedName privilege
The standard privileges are defined in RFC 3744. Pincette adds the privileges checkin, checkout, delete-version, label and uncheckout in the namespace urn:be-re:dav. It also adds the aggregated privilege version in the same namespace. It implies the other ones.

Constructor Detail

Client.ACE

public Client.ACE()

Client.ACE

public Client.ACE(URL principal,
                  boolean invert,
                  ExpandedName privilege,
                  boolean grant,
                  boolean isProtected)

Client.ACE

public Client.ACE(String principal,
                  boolean invert,
                  ExpandedName privilege,
                  boolean grant,
                  boolean isProtected)

Client.ACE

public Client.ACE(ExpandedName principal,
                  boolean invert,
                  ExpandedName privilege,
                  boolean grant,
                  boolean isProtected)

Client.ACE

public Client.ACE(Client.ACE ace)
Method Detail

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object