directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r289638 - /directory/shared/ldap/trunk/common/src/java/org/apache/ldap/common/acl/ProtectedItem.java
Date Fri, 16 Sep 2005 19:47:01 GMT
Author: akarasulu
Date: Fri Sep 16 12:46:59 2005
New Revision: 289638

URL: http://svn.apache.org/viewcvs?rev=289638&view=rev
Log:
adding ACIITemp.Classes

Modified:
    directory/shared/ldap/trunk/common/src/java/org/apache/ldap/common/acl/ProtectedItem.java

Modified: directory/shared/ldap/trunk/common/src/java/org/apache/ldap/common/acl/ProtectedItem.java
URL: http://svn.apache.org/viewcvs/directory/shared/ldap/trunk/common/src/java/org/apache/ldap/common/acl/ProtectedItem.java?rev=289638&r1=289637&r2=289638&view=diff
==============================================================================
--- directory/shared/ldap/trunk/common/src/java/org/apache/ldap/common/acl/ProtectedItem.java
(original)
+++ directory/shared/ldap/trunk/common/src/java/org/apache/ldap/common/acl/ProtectedItem.java
Fri Sep 16 12:46:59 2005
@@ -39,6 +39,39 @@
     {
     }
 
+    public static class Classes extends ProtectedItem
+    {
+            private static final long serialVersionUID = -8553151906617285325L;
+
+            private final ExprNode classes;
+
+            public Classes( ExprNode classes )
+            {
+                this.classes = classes;
+            }
+
+            public ExprNode getClasses()
+            {
+                return classes;
+            }
+
+            public boolean equals( Object o )
+            {
+                if( this == o )
+                {
+                    return true;
+                }
+
+                if( o instanceof Classes )
+                {
+                    Classes that = ( Classes ) o;
+                    return this.classes.equals( that.classes );
+                }
+
+                return false;
+            }
+    }
+
     public static class Entry extends ProtectedItem
     {
         private static final long serialVersionUID = -6971482229815999874L;
@@ -399,8 +432,6 @@
         }
     }
 
-    // TODO: Contexts and Classes
-    
     public static class MaxValueCountItem implements Serializable
     {
         private static final long serialVersionUID = 43697038363452113L;



Mime
View raw message