Java Doc for Account.java in  » J2EE » fleXive » com » flexive » shared » security » 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 » J2EE » fleXive » com.flexive.shared.security 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.flexive.shared.AbstractSelectableObjectWithName
      com.flexive.shared.security.Account

Account
public class Account extends AbstractSelectableObjectWithName implements Serializable(Code)
User account class.
author:
   Gregor Schober (gregor.schober@flexive.com), UCS - unique computing solutions gmbh (http://www.ucs.at)
author:
   Daniel Lichtenberger (daniel.lichtenberger@flexive.com), UCS - unique computing solutions gmbh (http://www.ucs.at)


Field Summary
final public static  longNULL_ACCOUNT
    
final public static  longUSER_GLOBAL_SUPERVISOR
     The supervisor.
final public static  longUSER_GUEST
     The guest user.
final public static  DateVALID_FOREVER
    

Constructor Summary
public  Account()
    
public  Account(long id, String name, String loginName, long mandator, String email, FxLanguage language, boolean active, boolean validated, Date validFrom, Date validTo, long defaultNode, String description, long contactDataId, boolean allowMultiLogin, String updateToken, LifeCycleInfo lifeCycleInfo)
    

Method Summary
public  FxPKgetContactData()
     Get the primary key of the contact data object holding further informations of the user.
public  longgetContactDataId()
    
public  longgetDefaultNode()
     Returns the desired default node of the user.
public  StringgetDescription()
     Gets the description if the user.
public  StringgetEmail()
     Returns the email of the user.
public  longgetId()
     Returns the unique user id.
public  FxLanguagegetLanguage()
     Returns the language of the user.
public  LifeCycleInfogetLifeCycleInfo()
    
public  StringgetLoginName()
     Returns the login name of the user.
public  longgetMandatorId()
     Returns the unique id of the mandator this user belongs to.
public  StringgetName()
     Returns the user name.
public  StringgetUpdateToken()
     Returns the update token of this account.
public  DategetValidFrom()
     Returns the valid from date of the user.
public  StringgetValidFromString()
     Returns the valid from date of the user.
public  DategetValidTo()
     Returns the valid to date of the user.
public  StringgetValidToString()
     Returns the valid to date of the user.
public  booleanisActive()
     Return true if the user is active.
public  booleanisAllowMultiLogin()
    
public  booleanisNew()
     Is this account instance new? (i.e.
public  booleanisSystemInternalAccount()
    
public  booleanisValidated()
     Returns true if the user is validated.
public  voidsetActive(boolean bActive)
    
public  voidsetAllowMultiLogin(boolean bAllowMultiLogin)
    
public  voidsetContactDataId(long lContactDataId)
    
public  voidsetDefaultNode(long lDefaultNode)
    
public  voidsetDescription(String sDescription)
    
public  voidsetEmail(String sEmail)
    
public  voidsetLanguage(FxLanguage language)
    
public  voidsetLoginName(String sLoginName)
    
public  voidsetMandatorId(long iMandator)
    
public  voidsetName(String sName)
    
public  voidsetValidFrom(Date dValidFrom)
    
public  voidsetValidTo(Date dValidTo)
    
public  voidsetValidated(boolean bValidated)
    

Field Detail
NULL_ACCOUNT
final public static long NULL_ACCOUNT(Code)
Dummy account (id if a null value cannot be applied)



USER_GLOBAL_SUPERVISOR
final public static long USER_GLOBAL_SUPERVISOR(Code)
The supervisor. This user is in all roles and may operate on all mandators



USER_GUEST
final public static long USER_GUEST(Code)
The guest user. Everyone who is not logged in is treated as GUEST



VALID_FOREVER
final public static Date VALID_FOREVER(Code)
01.01.3000




Constructor Detail
Account
public Account()(Code)



Account
public Account(long id, String name, String loginName, long mandator, String email, FxLanguage language, boolean active, boolean validated, Date validFrom, Date validTo, long defaultNode, String description, long contactDataId, boolean allowMultiLogin, String updateToken, LifeCycleInfo lifeCycleInfo)(Code)




Method Detail
getContactData
public FxPK getContactData()(Code)
Get the primary key of the contact data object holding further informations of the user. the id of the contact data object



getContactDataId
public long getContactDataId()(Code)
Get the id of the contact data instance associated to this account contact data id



getDefaultNode
public long getDefaultNode()(Code)
Returns the desired default node of the user. May be -1 if no default node is defined. the desired default node of the user



getDescription
public String getDescription()(Code)
Gets the description if the user.

The result may be a empty String (but is never null) the description if the user




getEmail
public String getEmail()(Code)
Returns the email of the user. the email of the user



getId
public long getId()(Code)
Returns the unique user id. the unique user id.



getLanguage
public FxLanguage getLanguage()(Code)
Returns the language of the user. the language of the user



getLifeCycleInfo
public LifeCycleInfo getLifeCycleInfo()(Code)
Get the lifecycle information lifecycle information



getLoginName
public String getLoginName()(Code)
Returns the login name of the user. the login name of the user.



getMandatorId
public long getMandatorId()(Code)
Returns the unique id of the mandator this user belongs to. the unique id of the mandator this user belongs to.



getName
public String getName()(Code)
Returns the user name. the user name.



getUpdateToken
public String getUpdateToken()(Code)
Returns the update token of this account. The update token may be used in external API calls modifying this account to improve security. the update token of this account



getValidFrom
public Date getValidFrom()(Code)
Returns the valid from date of the user.

The valid from/to dates may be used to define a timeperiode in which the user may LOG in. the valid from date of the user




getValidFromString
public String getValidFromString()(Code)
Returns the valid from date of the user.

The valid from/to dates may be used to define a timeperiode in which the user may LOG in. the valid from date of the user




getValidTo
public Date getValidTo()(Code)
Returns the valid to date of the user.

The valid from/to dates may be used to define a timeperiode in which the user may LOG in. the valid to date of the user




getValidToString
public String getValidToString()(Code)
Returns the valid to date of the user.

The valid from/to dates may be used to define a timeperiode in which the user may LOG in. the valid to date of the user




isActive
public boolean isActive()(Code)
Return true if the user is active. true if the user is active



isAllowMultiLogin
public boolean isAllowMultiLogin()(Code)
Is this account allowed to be logged in more than once? multi login allowed?



isNew
public boolean isNew()(Code)
Is this account instance new? (i.e. not saved yet) if new



isSystemInternalAccount
public boolean isSystemInternalAccount()(Code)
Is this a system internal account? system internal account



isValidated
public boolean isValidated()(Code)
Returns true if the user is validated. true if the user is validated



setActive
public void setActive(boolean bActive)(Code)



setAllowMultiLogin
public void setAllowMultiLogin(boolean bAllowMultiLogin)(Code)



setContactDataId
public void setContactDataId(long lContactDataId)(Code)



setDefaultNode
public void setDefaultNode(long lDefaultNode)(Code)



setDescription
public void setDescription(String sDescription)(Code)



setEmail
public void setEmail(String sEmail)(Code)



setLanguage
public void setLanguage(FxLanguage language)(Code)



setLoginName
public void setLoginName(String sLoginName)(Code)



setMandatorId
public void setMandatorId(long iMandator)(Code)



setName
public void setName(String sName)(Code)



setValidFrom
public void setValidFrom(Date dValidFrom)(Code)



setValidTo
public void setValidTo(Date dValidTo)(Code)



setValidated
public void setValidated(boolean bValidated)(Code)



Methods inherited from com.flexive.shared.AbstractSelectableObjectWithName
public boolean equals(Object obj)(Code)(Java Doc)
public int hashCode()(Code)(Java Doc)
public String toString()(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

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