jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r392932 - /jackrabbit/trunk/jcr-server/webdav/src/java/org/apache/jackrabbit/webdav/security/Privilege.java
Date Mon, 10 Apr 2006 12:29:44 GMT
Author: angela
Date: Mon Apr 10 05:29:43 2006
New Revision: 392932

URL: http://svn.apache.org/viewcvs?rev=392932&view=rev
Log:
Provide get methods for Privilege name/namespace

Modified:
    jackrabbit/trunk/jcr-server/webdav/src/java/org/apache/jackrabbit/webdav/security/Privilege.java

Modified: jackrabbit/trunk/jcr-server/webdav/src/java/org/apache/jackrabbit/webdav/security/Privilege.java
URL: http://svn.apache.org/viewcvs/jackrabbit/trunk/jcr-server/webdav/src/java/org/apache/jackrabbit/webdav/security/Privilege.java?rev=392932&r1=392931&r2=392932&view=diff
==============================================================================
--- jackrabbit/trunk/jcr-server/webdav/src/java/org/apache/jackrabbit/webdav/security/Privilege.java
(original)
+++ jackrabbit/trunk/jcr-server/webdav/src/java/org/apache/jackrabbit/webdav/security/Privilege.java
Mon Apr 10 05:29:43 2006
@@ -140,6 +140,20 @@
     }
 
     /**
+     * @return The local name of this <code>Privilege</code>.
+     */
+    public String getName() {
+        return privilege;
+    }
+
+    /**
+     * @return The namespace of this <code>Privilege</code>.
+     */
+    public Namespace getNamespace() {
+        return namespace;
+    }
+
+    /**
      * @see XmlSerializable#toXml(Document)
      */
     public Element toXml(Document document) {



Mime
View raw message