Interface DirectoryItem
-
- All Superinterfaces:
Comparable<DirectoryItem>
- All Known Subinterfaces:
DirectoryUserItem
- All Known Implementing Classes:
AbstractDirectoryItem
,ContactItem
,UserItem
public interface DirectoryItem extends Comparable<DirectoryItem>
An item in a directory of persons. An item in a directory identifies a given person with his communication data (email, phone, and so one).
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
DirectoryItem.ITEM_TYPE
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getAvatar()
Gets the URL of the person avatar.Date
getCreationDate()
Gets the date at which this item has been created into the directory.String
getFax()
Gets the Fax number.String
getFirstName()
Gets the first name of the person.String
getLastName()
Gets the last name of the person.String
getMail()
Gets the main email address.String
getOriginalId()
Gets the unique identifier of the person referred by this item.String
getPhone()
Gets the phone number.DirectoryItem.ITEM_TYPE
getType()
Gets the type of this item.String
getUniqueId()
Gets the unique identifier of this item in the directory.-
Methods inherited from interface java.lang.Comparable
compareTo
-
-
-
-
Method Detail
-
getFirstName
String getFirstName()
Gets the first name of the person.- Returns:
- the first name.
-
getLastName
String getLastName()
Gets the last name of the person.- Returns:
- th last name.
-
getAvatar
String getAvatar()
Gets the URL of the person avatar.- Returns:
- the avatar image.
-
getMail
String getMail()
Gets the main email address.- Returns:
- the email address.
-
getPhone
String getPhone()
Gets the phone number.- Returns:
- a phone number.
-
getFax
String getFax()
Gets the Fax number.- Returns:
- the Fax number
-
getType
DirectoryItem.ITEM_TYPE getType()
Gets the type of this item.- Returns:
- the type of this item.
-
getCreationDate
Date getCreationDate()
Gets the date at which this item has been created into the directory.- Returns:
- the item creation date.
-
getOriginalId
String getOriginalId()
Gets the unique identifier of the person referred by this item.- Returns:
- the unique identifier of the person.
-
getUniqueId
String getUniqueId()
Gets the unique identifier of this item in the directory.- Returns:
- the unique identifier of the item.
-
-