Java Doc for User.java in  » Portal » gridsphere » org » gridsphere » services » core » user » 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 » Portal » gridsphere » org.gridsphere.services.core.user 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.gridsphere.services.core.user.User

All known Subclasses:   org.gridsphere.services.core.user.impl.UserImpl,
User
public interface User (Code)
The User interface is an abstract view on the user-specific data. Apart from a set of pre-defined, fixed set of attributes, the interface gives access to user profile data.


Field Summary
final public static  StringCREATEDATE
    
final public static  StringDISABLED
    
final public static  StringLOCALE
    
final public static  StringTHEME
    
final public static  StringTIMEZONE
    


Method Summary
public  ObjectgetAttribute(String name)
     Returns the value of the attribute with the given name, or null if no attribute with the given name exists.
public  EnumerationgetAttributeNames()
     Returns an enumeration of names of all attributes available to this request.
public  StringgetEmailAddress()
     Returns the given e-mail of the user or null if none is available.
public  StringgetFirstName()
     Returns the family (aka last) name of the user.
public  StringgetFullName()
     Returns the full name of the user, or null if the full name is not available.
public  StringgetID()
     Returns the internal unique user id.
public  LonggetLastLoginTime()
     Returns the point of time that this user was last logged in, or null if this information is not available.
public  StringgetLastName()
     Returns the last name of the user.
public  IntegergetNumLogins()
    
public  StringgetOrganization()
    
public  StringgetUserID()
     Returns the user id of the user, or null if the user id is not available.
public  StringgetUserName()
     This is an alias for the getUserID method, which for all intensive purposes represents the name required for this user to login.
public  voidsetAttribute(String name, String value)
    
public  voidsetEmailAddress(String emailAddress)
     Sets the given e-mail of the user.
public  voidsetFirstName(String firstName)
     Sets the first name of the user.
public  voidsetFullName(String fullName)
     Sets the full name of the user, or null if the full name is not available.
public  voidsetID(String id)
     Sets the internal unique user id.
public  voidsetLastLoginTime(Long lastLoginTime)
     Sets the point of time that this user was last logged in, or null if this information is not available.
public  voidsetLastName(String lastName)
     Sets the last name of the user.
public  voidsetNumLogins(Integer numLogins)
    
public  voidsetOrganization(String organization)
    
public  voidsetUserID(String userID)
     Sets the user id of the user, or null if the user id is not available.
public  voidsetUserName(String userName)
     This is an alias for the setUserID method, which for all intensive purposes represents the name required for this user to login.
public  StringtoString()
    

Field Detail
CREATEDATE
final public static String CREATEDATE(Code)



DISABLED
final public static String DISABLED(Code)



LOCALE
final public static String LOCALE(Code)
Users locale preference stored as an attribute with this key



THEME
final public static String THEME(Code)



TIMEZONE
final public static String TIMEZONE(Code)





Method Detail
getAttribute
public Object getAttribute(String name)(Code)
Returns the value of the attribute with the given name, or null if no attribute with the given name exists.
Parameters:
  name - the attribute name the attribute value



getAttributeNames
public Enumeration getAttributeNames()(Code)
Returns an enumeration of names of all attributes available to this request. This method returns an empty enumeration if the request has no attributes available to it. an enumeration of attribute names



getEmailAddress
public String getEmailAddress()(Code)
Returns the given e-mail of the user or null if none is available. the email address



getFirstName
public String getFirstName()(Code)
Returns the family (aka last) name of the user. the family name



getFullName
public String getFullName()(Code)
Returns the full name of the user, or null if the full name is not available. The full name contains given names, family names and possibly a title or suffix. Therefore, the full name may be different from the concatenation of given and family name. the full name



getID
public String getID()(Code)
Returns the internal unique user id. the internal unique user id



getLastLoginTime
public Long getLastLoginTime()(Code)
Returns the point of time that this user was last logged in, or null if this information is not available. The time is returned in number of milliseconds since January 1, 1970 GMT. the last login time



getLastName
public String getLastName()(Code)
Returns the last name of the user. the last name



getNumLogins
public Integer getNumLogins()(Code)
Returns the number of login occurences for this user the number of login occurences



getOrganization
public String getOrganization()(Code)
Returns the organization affiliation association of the user the organization name



getUserID
public String getUserID()(Code)
Returns the user id of the user, or null if the user id is not available. The userid is the user's login name the user id
See Also:   User.getUserName



getUserName
public String getUserName()(Code)
This is an alias for the getUserID method, which for all intensive purposes represents the name required for this user to login. String the user id
See Also:   User.getUserID



setAttribute
public void setAttribute(String name, String value)(Code)
Sets the value of the attribute with the given name,
Parameters:
  name - the attribute name
Parameters:
  value - the attribute value



setEmailAddress
public void setEmailAddress(String emailAddress)(Code)
Sets the given e-mail of the user.
Parameters:
  emailAddress - the email address



setFirstName
public void setFirstName(String firstName)(Code)
Sets the first name of the user.
Parameters:
  firstName - the first name



setFullName
public void setFullName(String fullName)(Code)
Sets the full name of the user, or null if the full name is not available. The full name contains given names, family names and possibly a title or suffix. Therefore, the full name may be different from the concatenation of given and family name.
Parameters:
  fullName - the full name



setID
public void setID(String id)(Code)
Sets the internal unique user id.
Parameters:
  id - the internal unique id



setLastLoginTime
public void setLastLoginTime(Long lastLoginTime)(Code)
Sets the point of time that this user was last logged in, or null if this information is not available. The time is returned in number of milliseconds since January 1, 1970 GMT.
Parameters:
  lastLoginTime - the last login time



setLastName
public void setLastName(String lastName)(Code)
Sets the last name of the user.
Parameters:
  lastName - the last name



setNumLogins
public void setNumLogins(Integer numLogins)(Code)
Sets the number of logins occurences for this user
Parameters:
  numLogins - the last login time



setOrganization
public void setOrganization(String organization)(Code)
Sets the organization the user belongs to
Parameters:
  organization - the organization name



setUserID
public void setUserID(String userID)(Code)
Sets the user id of the user, or null if the user id is not available.
Parameters:
  userID - the user id



setUserName
public void setUserName(String userName)(Code)
This is an alias for the setUserID method, which for all intensive purposes represents the name required for this user to login.
Parameters:
  userName - the user name



toString
public String toString()(Code)
Returns a String representation of the User User information represented as a String



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.