jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r1092100 - /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/user/GroupImpl.java
Date Thu, 14 Apr 2011 10:30:26 GMT
Author: angela
Date: Thu Apr 14 10:30:26 2011
New Revision: 1092100

URL: http://svn.apache.org/viewvc?rev=1092100&view=rev
Log:
javadoc

Modified:
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/user/GroupImpl.java

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/user/GroupImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/user/GroupImpl.java?rev=1092100&r1=1092099&r2=1092100&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/user/GroupImpl.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/user/GroupImpl.java
Thu Apr 14 10:30:26 2011
@@ -570,6 +570,10 @@ class GroupImpl extends AuthorizableImpl
     /**
      * Returns an iterator of authorizables which includes all indirect members of the given
iterator
      * of authorizables.
+     *
+     * @param authorizables
+     * @param type
+     * @return Iterator of Authorizable objects
      */
     private Iterator<Authorizable> includeIndirect(final Iterator<Authorizable>
authorizables, final int type) {
         Iterator<Iterator<Authorizable>> indirectMembers = new Iterator<Iterator<Authorizable>>()
{
@@ -587,7 +591,10 @@ class GroupImpl extends AuthorizableImpl
             }
 
             /**
-             * Returns the transitive closure over the members of this authorizable
+             * Returns the transitive closure over the members of this authorizable.
+             * 
+             * @param authorizable
+             * @return Iterator of Authorizable objects
              */
             private Iterator<Authorizable> indirect(Authorizable authorizable) {
                 if (authorizable.isGroup()) {
@@ -608,6 +615,10 @@ class GroupImpl extends AuthorizableImpl
 
     /**
      * Map an array of values to an iterator of authorizables.
+     *
+     * @param members
+     * @param type
+     * @return Iterator of Authorizable objects
      */
     private Iterator<Authorizable> toAuthorizables(final Value[] members, int type)
{
         return new AuthorizableIterator(type) {
@@ -624,6 +635,9 @@ class GroupImpl extends AuthorizableImpl
 
     /**
      * Map an iterator of properties to an iterator of authorizables.
+     * @param members
+     * @param type
+     * @return Iterator of Authorizable objects
      */
     private Iterator<Authorizable> toAuthorizables(final Iterator<Property> members,
int type) {
         return new AuthorizableIterator(type) {
@@ -671,6 +685,10 @@ class GroupImpl extends AuthorizableImpl
         /**
          * Returns the reference value of the next node representing the next authorizable
or
          * <code>null</code> if there there are no more.
+         *
+         * @return reference value of the next node representing the next authorizable or
+         * <code>null</code> if there there are no more.
+         * @throws javax.jcr.RepositoryException If an error occurs.
          */
         protected abstract String getNextMemberRef() throws RepositoryException;
 



Mime
View raw message