| 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 $ |
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 . |
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. |
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. |
|
|