r932 - trunk/simexplorer-is/simexplorer-is-service/src/java/fr/cemagref/simexplorer/is/service
Author: tchemit Date: 2008-02-13 21:40:56 +0000 (Wed, 13 Feb 2008) New Revision: 932 Modified: trunk/simexplorer-is/simexplorer-is-service/src/java/fr/cemagref/simexplorer/is/service/AuthenticationService.java Log: reformat Modified: trunk/simexplorer-is/simexplorer-is-service/src/java/fr/cemagref/simexplorer/is/service/AuthenticationService.java =================================================================== --- trunk/simexplorer-is/simexplorer-is-service/src/java/fr/cemagref/simexplorer/is/service/AuthenticationService.java 2008-02-13 16:43:46 UTC (rev 931) +++ trunk/simexplorer-is/simexplorer-is-service/src/java/fr/cemagref/simexplorer/is/service/AuthenticationService.java 2008-02-13 21:40:56 UTC (rev 932) @@ -17,88 +17,67 @@ * ##% */ package fr.cemagref.simexplorer.is.service; -import javax.ejb.Remote; - import fr.cemagref.simexplorer.is.security.entities.Group; import fr.cemagref.simexplorer.is.security.entities.Permission; import fr.cemagref.simexplorer.is.security.entities.User; -/** - * The Interface AuthenticationService. - */ +import javax.ejb.Remote; + +/** The Interface AuthenticationService. */ @Remote public interface AuthenticationService { /** * Login user. - * - * @param login - * the login - * @param password - * the password - * + * + * @param login the login + * @param password the password * @return the string - * - * @throws SimExplorerServiceException - * the sim explorer service exception + * @throws SimExplorerServiceException the sim explorer service exception */ public String loginUser(String login, String password) throws SimExplorerServiceException; /** * Request account. - * - * @param login - * the login - * @param mail - * the mail - * - * @throws SimExplorerServiceException - * the sim explorer service exception + * + * @param login the login + * @param mail the mail + * @throws SimExplorerServiceException the sim explorer service exception */ public void requestAccount(String login, String mail) throws SimExplorerServiceException; /** * Save user. - * - * @param token - * the token - * @param login - * the login - * @param mail - * the mail - * + * + * @param token the token + * @param login the login + * @param mail the mail * @return the user - * - * @throws SimExplorerServiceException - * the sim explorer service exception + * @throws SimExplorerServiceException the sim explorer service exception */ public User saveUser(String token, String login, String mail) throws SimExplorerServiceException; /** * Reset password. - * - * @param token - * the token - * @param login - * the login - * - * @throws SimExplorerServiceException - * the sim explorer service exception + * + * @param token the token + * @param login the login + * @throws SimExplorerServiceException the sim explorer service exception */ public void resetPassword(String token, String login) throws SimExplorerServiceException; /** * Change password. - * + * * @param token * the token * @param password * the password - * + * * @throws SimExplorerServiceException * the sim explorer service exception */ @@ -107,312 +86,218 @@ /** * Gets the user. - * - * @param token - * the token - * @param id - * the id - * + * + * @param token the token + * @param id the id * @return the user - * - * @throws SimExplorerServiceException - * the sim explorer service exception + * @throws SimExplorerServiceException the sim explorer service exception */ public User getUser(String token, Integer id) throws SimExplorerServiceException; /** * Gets the user. - * - * @param token - * the token - * @param login - * the login - * + * + * @param token the token + * @param login the login * @return the user - * - * @throws SimExplorerServiceException - * the sim explorer service exception + * @throws SimExplorerServiceException the sim explorer service exception */ public User getUser(String token, String login) throws SimExplorerServiceException; /** * Update user. - * - * @param token - * the token - * @param user - * the user - * + * + * @param token the token + * @param user the user * @return the user - * - * @throws SimExplorerServiceException - * the sim explorer service exception + * @throws SimExplorerServiceException the sim explorer service exception */ public User updateUser(String token, User user) throws SimExplorerServiceException; /** * Delete user. - * - * @param token - * the token - * @param id - * the id - * - * @throws SimExplorerServiceException - * the sim explorer service exception + * + * @param token the token + * @param id the id + * @throws SimExplorerServiceException the sim explorer service exception */ public void deleteUser(String token, Integer id) throws SimExplorerServiceException; /** * Gets the users. - * - * @param token - * the token - * + * + * @param token the token * @return the users - * - * @throws SimExplorerServiceException - * the sim explorer service exception + * @throws SimExplorerServiceException the sim explorer service exception */ public User[] getUsers(String token) throws SimExplorerServiceException; /** * Gets the users of group. - * - * @param token - * the token - * @param group - * the group - * + * + * @param token the token + * @param group the group * @return the users of group - * - * @throws SimExplorerServiceException - * the sim explorer service exception + * @throws SimExplorerServiceException the sim explorer service exception */ public User[] getUsersOfGroup(String token, Group group) throws SimExplorerServiceException; /** * Sets the users of group. - * - * @param token - * the token - * @param group - * the group - * @param usersInGroup - * the users in group - * - * @throws SimExplorerServiceException - * the sim explorer service exception + * + * @param token the token + * @param group the group + * @param usersInGroup the users in group + * @throws SimExplorerServiceException the sim explorer service exception */ public void setUsersOfGroup(String token, Group group, - Integer[] usersInGroup) throws SimExplorerServiceException; + Integer[] usersInGroup) throws SimExplorerServiceException; /** * Sets the groups of group. - * - * @param token - * the token - * @param group - * the group - * @param groupsIds - * the groups ids - * - * @throws SimExplorerServiceException - * the sim explorer service exception + * + * @param token the token + * @param group the group + * @param groupsIds the groups ids + * @throws SimExplorerServiceException the sim explorer service exception */ public void setGroupsOfGroup(String token, Group group, Integer[] groupsIds) throws SimExplorerServiceException; /** * Gets the groups of user. - * - * @param token - * the token - * @param user - * the user - * + * + * @param token the token + * @param user the user * @return the groups of user - * - * @throws SimExplorerServiceException - * the sim explorer service exception + * @throws SimExplorerServiceException the sim explorer service exception */ public Group[] getGroupsOfUser(String token, User user) throws SimExplorerServiceException; /** * Gets the groups of group. - * - * @param token - * the token - * @param group - * the group - * + * + * @param token the token + * @param group the group * @return the groups of group - * - * @throws SimExplorerServiceException - * the sim explorer service exception + * @throws SimExplorerServiceException the sim explorer service exception */ public Group[] getGroupsOfGroup(String token, Group group) throws SimExplorerServiceException; /** * Sets the groups of user. - * - * @param token - * the token - * @param user - * the user - * @param groupsIds - * the groups ids - * - * @throws SimExplorerServiceException - * the sim explorer service exception + * + * @param token the token + * @param user the user + * @param groupsIds the groups ids + * @throws SimExplorerServiceException the sim explorer service exception */ public void setGroupsOfUser(String token, User user, Integer[] groupsIds) throws SimExplorerServiceException; /** * Save group. - * - * @param token - * the token - * @param name - * the name - * + * + * @param token the token + * @param name the name * @return the group - * - * @throws SimExplorerServiceException - * the sim explorer service exception + * @throws SimExplorerServiceException the sim explorer service exception */ public Group saveGroup(String token, String name) throws SimExplorerServiceException; /** * Gets the group. - * - * @param token - * the token - * @param id - * the id - * + * + * @param token the token + * @param id the id * @return the group - * - * @throws SimExplorerServiceException - * the sim explorer service exception + * @throws SimExplorerServiceException the sim explorer service exception */ public Group getGroup(String token, Integer id) throws SimExplorerServiceException; /** * Gets the group. - * - * @param token - * the token - * @param name - * the name - * + * + * @param token the token + * @param name the name * @return the group - * - * @throws SimExplorerServiceException - * the sim explorer service exception + * @throws SimExplorerServiceException the sim explorer service exception */ public Group getGroup(String token, String name) throws SimExplorerServiceException; /** * Update group. - * - * @param token - * the token - * @param group - * the group - * + * + * @param token the token + * @param group the group * @return the group - * - * @throws SimExplorerServiceException - * the sim explorer service exception + * @throws SimExplorerServiceException the sim explorer service exception */ public Group updateGroup(String token, Group group) throws SimExplorerServiceException; /** * Delete group. - * - * @param token - * the token - * @param id - * the id - * - * @throws SimExplorerServiceException - * the sim explorer service exception + * + * @param token the token + * @param id the id + * @throws SimExplorerServiceException the sim explorer service exception */ public void deleteGroup(String token, Integer id) throws SimExplorerServiceException; /** * Gets the groups. - * - * @param token - * the token - * + * + * @param token the token * @return the groups - * - * @throws SimExplorerServiceException - * the sim explorer service exception + * @throws SimExplorerServiceException the sim explorer service exception */ public Group[] getGroups(String token) throws SimExplorerServiceException; /** * Gets the groups owned by. - * - * @param token - * the token - * @param user - * the user - * + * + * @param token the token + * @param user the user * @return the groups owned by - * - * @throws SimExplorerServiceException - * the sim explorer service exception + * @throws SimExplorerServiceException the sim explorer service exception */ public Group[] getGroupsOwnedBy(String token, User user) throws SimExplorerServiceException; /** * Gets the logged user. - * - * @param token - * the token - * + * + * @param token the token * @return the logged user - * - * @throws SimExplorerServiceException - * the sim explorer service exception + * @throws SimExplorerServiceException the sim explorer service exception */ public User getLoggedUser(String token) throws SimExplorerServiceException; /** * Gets the permissions. - * - * @param uuid - * the uuid - * + * + * @param uuid the uuid * @return the permissions */ public Permission[] getPermissions(String uuid); /** * Sets the permissions. - * - * @param uuid - * the uuid - * @param permissions - * the permissions + * + * @param uuid the uuid + * @param permissions the permissions */ public void setPermissions(String uuid, Permission[] permissions);
participants (1)
-
tchemit@users.labs.libre-entreprise.org