maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From car...@apache.org
Subject svn commit: r441170 - /maven/shared/trunk/maven-user/maven-user-model/src/main/java/org/apache/maven/user/model/UserManager.java
Date Thu, 07 Sep 2006 18:30:15 GMT
Author: carlos
Date: Thu Sep  7 11:30:14 2006
New Revision: 441170

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

Modified:
    maven/shared/trunk/maven-user/maven-user-model/src/main/java/org/apache/maven/user/model/UserManager.java

Modified: maven/shared/trunk/maven-user/maven-user-model/src/main/java/org/apache/maven/user/model/UserManager.java
URL: http://svn.apache.org/viewvc/maven/shared/trunk/maven-user/maven-user-model/src/main/java/org/apache/maven/user/model/UserManager.java?view=diff&rev=441170&r1=441169&r2=441170
==============================================================================
--- maven/shared/trunk/maven-user/maven-user-model/src/main/java/org/apache/maven/user/model/UserManager.java
(original)
+++ maven/shared/trunk/maven-user/maven-user-model/src/main/java/org/apache/maven/user/model/UserManager.java
Thu Sep  7 11:30:14 2006
@@ -30,7 +30,7 @@
 public interface UserManager
 {
     public static final String ROLE = UserManager.class.getName();
-    
+
     // ----------------------------------------------------------------------
     // User
     // ----------------------------------------------------------------------
@@ -80,7 +80,7 @@
      * @deprecated use {@link #getUser(String)} instead.
      */
     User getUserByUsername( String username );
-    
+
     /**
      * Get a user by name. User password won't be returned for security reasons.
      * 
@@ -106,7 +106,7 @@
      * @param accountId
      */
     void removeUser( int accountId );
-    
+
     /**
      * Delete a user
      * 
@@ -117,7 +117,7 @@
     // ----------------------------------------------------------------------
     // Login
     // ----------------------------------------------------------------------
-    
+
     /**
      * Perform login attempt to see if username and password are valid. 
      * 
@@ -125,8 +125,8 @@
      * @param rawpassword
      * @return true if user is able to log in. false if username or password is invalid.
      */
-    boolean login(String username, String rawpassword);
-    
+    boolean login( String username, String rawpassword );
+
     // ----------------------------------------------------------------------
     // User Group
     // ----------------------------------------------------------------------
@@ -184,7 +184,7 @@
      * @param userGroupId
      */
     void removeUserGroup( int userGroupId );
-    
+
     /**
      * Remove the named UserGroup
      * 
@@ -204,23 +204,23 @@
     List getPermissions();
 
     /**
-    * Get all the permission for a user
-    * 
-    * @return user's permission
-    */
+     * Get the permission for a user
+     * 
+     * @return user's permission
+     */
     Permission getPermission( String name );
 
     /**
-    * Add a permission
-    * 
-    * @return permission added
-    */
+     * Add a permission
+     * 
+     * @return permission added
+     */
     Permission addPermission( Permission perm );
-    
+
     /**
      * Get the instance permissions for each user
      * 
-     * @return list of instance permissions for each user
+     * @return {@link List} < {@link InstancePermissions} >
      */
     List getUsersInstancePermissions();
 



Mime
View raw message