Java Doc for PersonDO.java in  » Groupware » ivatagroupware » com » ivata » groupware » business » addressbook » person » 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 » Groupware » ivatagroupware » com.ivata.groupware.business.addressbook.person 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.ivata.groupware.container.persistence.AuthorTimestampNamedDO
   com.ivata.groupware.business.addressbook.person.PersonDO

PersonDO
public class PersonDO extends AuthorTimestampNamedDO implements Comparable(Code)

Represents a single person within the intranet system. This person can be simply within the address book, or can be a user by having a UserBean user associated with it.


since:
   ivata groupware 0.9 (2002-05-12)
author:
   Colin MacLeod
author:
   colin.macleod@ivata.com
version:
   $Revision: 1.8 $




Method Summary
public  AddressDOgetAddress()
     Get all the addresses associated with this person.
final public  StringgetCompany()
    
final public  DategetDateOfBirth()
    
final public  StringgetDisplayValue()
    

Return the first name(s), followed by a space, followed by the last name.

final public  StringgetEmailAddress()
    
final public  EmployeeDOgetEmployee()
    
final public  StringgetFileAs()
    
final public  StringgetFirstNames()
    
final public  GroupDOgetGroup()
    
final public  StringgetJobTitle()
    
final public  StringgetLastName()
    
final public  StringgetName()
    

Get the full name of this person.

final public  StringgetSalutation()
    
final public  SetgetTelecomAddresses()
    
public  UserDOgetUser()
    
public  booleanisDeleted()
     When a person is deleted from the system, under some circumstances (i.e. when the person is a user), the data object is retained.
final public  voidsetAddress(AddressDO addressParam)
    
final public  voidsetCompany(String companyParam)
    
final public  voidsetDateOfBirth(java.util.Date dateOfBirthParam)
    
public  voidsetDeleted(boolean deletedParam)
    
final public  voidsetEmployee(EmployeeDO employeeParam)
    
final public  voidsetFileAs(String fileAsParam)
    
final public  voidsetFirstNames(String firstNamesParam)
    
final public  voidsetGroup(GroupDO groupParam)
    
final public  voidsetJobTitle(String jobTitleParam)
    
final public  voidsetLastName(String lastNameParam)
    
final public  voidsetSalutation(String salutationParam)
    
final public  voidsetTelecomAddresses(Set set)
    
final public  voidsetUser(UserDO userParam)
    



Method Detail
getAddress
public AddressDO getAddress()(Code)
Get all the addresses associated with this person. all addresses associated with this person.



getCompany
final public String getCompany()(Code)

Get the company the person works for.

the company the person works for.



getDateOfBirth
final public Date getDateOfBirth()(Code)

Get the person's date of birth.

the person's date of birth.



getDisplayValue
final public String getDisplayValue()(Code)

Return the first name(s), followed by a space, followed by the last name.


See Also:   com.ivata.mask.valueobject.ValueObject.getDisplayValue



getEmailAddress
final public String getEmailAddress()(Code)

Get the person's email address, formatted according to RFC822.

This gives you the form:

"{firstName} {lastName} " <{email}>

If the person has multiple email addresses, the returned one is the first one found, as ordered by the address number.

formatted email address, or null if this person doesnot have an email address in the system.



getEmployee
final public EmployeeDO getEmployee()(Code)

Get the employee record for this person as a data object.

employee record, or null if this person is not anemployee.



getFileAs
final public String getFileAs()(Code)

Get the string to file the person under in the address book.

the string to file the person under in the address book.



getFirstNames
final public String getFirstNames()(Code)

Get the person's first names.

the person's first names, separated by a comma.



getGroup
final public GroupDO getGroup()(Code)

Get the group of this person.

the group this person is in.



getJobTitle
final public String getJobTitle()(Code)

Get the job title for this person.

the job title for this person.



getLastName
final public String getLastName()(Code)

Get the person's last name.

the person's last name.



getName
final public String getName()(Code)

Get the full name of this person. This is the same as the fileAs value.

fileAs value for this person



getSalutation
final public String getSalutation()(Code)

Get the saluation with which this person likes to be greeted by mail or email.

the saluation with which this person likes to be greeted by mailor email.



getTelecomAddresses
final public Set getTelecomAddresses()(Code)

Get the communication addresses themeselves.

a set containing the communication addresses themeselves.



getUser
public UserDO getUser()(Code)

Get the user for this person.

user name for this person, or null if this person isnot a user.



isDeleted
public boolean isDeleted()(Code)
When a person is deleted from the system, under some circumstances (i.e. when the person is a user), the data object is retained. In this case, the object is marked logically deleted and this flag is set true. true if the person is logically deleted, otherwisefalse.



setAddress
final public void setAddress(AddressDO addressParam)(Code)
Refer to PersonDO.getAddress() .
Parameters:
  addressParam - The address to set.



setCompany
final public void setCompany(String companyParam)(Code)

Set the company the person works for.


Parameters:
  companyParam - the company the person works for.



setDateOfBirth
final public void setDateOfBirth(java.util.Date dateOfBirthParam)(Code)

Set the person's date of birth.


Parameters:
  dateOfBirthParam - the new value supplied to person's date of birth.



setDeleted
public void setDeleted(boolean deletedParam)(Code)
Refer to PersonDO.isDeleted() .
Parameters:
  deletedParam - true when the person should be markedas deleted.



setEmployee
final public void setEmployee(EmployeeDO employeeParam)(Code)

Get the employee record for this person as a data object.


Parameters:
  employeeParam - employee record, or null if thisperson is not an employee.



setFileAs
final public void setFileAs(String fileAsParam)(Code)

Set the string to file the person under in the address book.


Parameters:
  fileAsParam - the string to file the person under in the addressbook.



setFirstNames
final public void setFirstNames(String firstNamesParam)(Code)

Set the person's first names.


Parameters:
  firstNamesParam - the person's first names, separated by a comma.



setGroup
final public void setGroup(GroupDO groupParam)(Code)

Set the group of this person.


Parameters:
  groupParam - new value of the group.



setJobTitle
final public void setJobTitle(String jobTitleParam)(Code)

Set the job title for this person.


Parameters:
  jobTitleParam - the job title for this person.



setLastName
final public void setLastName(String lastNameParam)(Code)

Set the person's last name.


Parameters:
  lastNameParam - the person's last name.



setSalutation
final public void setSalutation(String salutationParam)(Code)
Refer to PersonDO.getSalutation() .
Parameters:
  salutationParam - the saluation with which this person likes to begreeted by mail or email.



setTelecomAddresses
final public void setTelecomAddresses(Set set)(Code)
Refer to PersonDO.getTelecomAddresses() .
Parameters:
  set - Refer to PersonDO.getTelecomAddresses().



setUser
final public void setUser(UserDO userParam)(Code)

Set the user for this person.


Parameters:
  userParam - new user for this person, or null ifthis person is not a user.



Methods inherited from com.ivata.groupware.container.persistence.AuthorTimestampNamedDO
public int compareTo(Object compare)(Code)(Java Doc)
public boolean equals(Object compare)(Code)(Java Doc)
public String getDisplayValue()(Code)(Java Doc)
abstract public String getName()(Code)(Java Doc)
public String toString()(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.