Source Code Cross Referenced for ISQLPersonne.java in  » Test-Coverage » salome-tmf » org » objectweb » salome_tmf » api » sql » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Test Coverage » salome tmf » org.objectweb.salome_tmf.api.sql 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        package org.objectweb.salome_tmf.api.sql;
002:
003:        import java.rmi.Remote;
004:
005:        import org.objectweb.salome_tmf.api.data.UserWrapper;
006:
007:        public interface ISQLPersonne extends Remote {
008:            /**
009:             * Insert a user to the datadase
010:             * @param login
011:             * @param name
012:             * @param firstName
013:             * @param desc
014:             * @param email
015:             * @param tel
016:             * @param pwd
017:             * @return
018:             * @throws Exception
019:             * no permission needed
020:             */
021:            public int insert(String login, String name, String firstName,
022:                    String desc, String email, String tel, String pwd,
023:                    boolean crypth) throws Exception;
024:
025:            /**
026:             * Update information about user identified by idUser
027:             * @param idUser
028:             * @param newLogin
029:             * @param newName
030:             * @param newFirstName
031:             * @param newDesc
032:             * @param newEmail
033:             * @param newTel
034:             * @throws Exception
035:             * no permission needed
036:             */
037:            public void update(int idUser, String newLogin, String newName,
038:                    String newFirstName, String newDesc, String newEmail,
039:                    String newTel) throws Exception;
040:
041:            /**
042:             * Update the password for User userLogin with newPassword
043:             * @param userLogin
044:             * @param newPassword
045:             * @param crypt (true to crypte the password in MD5)
046:             * @return the new crypted password
047:             * @throws Exception
048:             * no permission needed
049:             */
050:            public String updatePassword(String userLogin, String newPassword,
051:                    boolean crypth) throws Exception;
052:
053:            /**
054:             * Delete an user in the database
055:             * the clean all reference about user in project and group
056:             * if user is the unique admin of an project, the project is deleted
057:             * @param userLogin
058:             * @throws Exception
059:             * no permission needed
060:             */
061:            public void deleteByLogin(String userLogin) throws Exception;
062:
063:            /**
064:             * Delete an user in the database
065:             * the clean all reference about user in project and group
066:             * if user is the unique admin of an project, the project is deleted
067:             * @param idUser
068:             * @throws Exception
069:             * no permission needed
070:             */
071:            public void deleteById(int idUser) throws Exception;
072:
073:            /**
074:             * Delete user reference in project
075:             * @param idUser
076:             * @param projectName
077:             * @throws Exception
078:             */
079:            public void deleteInProject(int idUser, String projectName)
080:                    throws Exception;
081:
082:            /**
083:             * Get the permission of an user in a projet idProject
084:             * @param idProject
085:             * @param userLogin
086:             * @return
087:             * @throws Exception
088:             */
089:            public int getPermissionOfUser(int idProject, String userLogin)
090:                    throws Exception;
091:
092:            /**
093:             * Get The Id of a person using login 
094:             * @param login
095:             * @return
096:             * @throws Exception
097:             */
098:            public int getID(String login) throws Exception;
099:
100:            /**
101:             * Get the login of the user identified by idUser
102:             * @param idUser
103:             * @return
104:             * @throws Exception
105:             */
106:            public String getLogin(int idUser) throws Exception;
107:
108:            /**
109:             * Get the name of the user identified by idUser
110:             * @param idUser
111:             * @return
112:             * @throws Exception
113:             */
114:            public String getName(int idUser) throws Exception;
115:
116:            /**
117:             * Get the last and the fist name of the user identified by idUser
118:             * @param idUser
119:             * @return
120:             * @throws Exception
121:             */
122:            public String getTwoName(int idUser) throws Exception;
123:
124:            /**
125:             * Get an  UserWrapper of the user identified by login
126:             * @param login
127:             * @return
128:             * @throws Exception
129:             */
130:            public UserWrapper getUserByLogin(String login) throws Exception;
131:
132:            /**
133:             * Get an  UserWrapper of the user identified by idUser
134:             * @param idUser
135:             * @return
136:             * @throws Exception
137:             */
138:            public UserWrapper getUserById(int idUser) throws Exception;
139:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.