- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
public Vector<SystemUser> listAllSystemUsers()
{
Vector <SystemUser> v = new Vector<SystemUser>();
Query q = manager.createNativeQuery("SELECT * FROM SystemUser;");
List list = (List)q.getResultList();
for (int i=0; i<list.size(); i++)
{
try {
Vector a = (Vector) list.iterator().next();
SystemUser SU = new SystemUser();
System.out.print("99*1 > "+SU.getClass().getMethods()[1].getName());
SU.setId(new Integer (a.get(0).toString()));
SU.setLogin(
new String (
new BASE64Decoder().decodeBuffer(a.get(1).toString())
));
System.out.print("506*1*1+0 > " + SU);
} catch (SecurityException ex) {
Logger.getLogger(UserManagement.class.getName()).log(Level.SEVERE, null, ex);
}catch (IOException e){
}
}
return v;
}
Altravert 14.01.2010 16:48 # 0
guest 15.01.2010 14:15 # 0
guest 21.01.2010 19:46 # 0
guest 29.01.2010 14:20 # 0