Class AbstractDirectoryItem
- java.lang.Object
-
- org.silverpeas.web.directory.model.AbstractDirectoryItem
-
- All Implemented Interfaces:
Comparable<DirectoryItem>
,DirectoryItem
- Direct Known Subclasses:
ContactItem
,UserItem
public abstract class AbstractDirectoryItem extends Object implements DirectoryItem
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.silverpeas.web.directory.model.DirectoryItem
DirectoryItem.ITEM_TYPE
-
-
Constructor Summary
Constructors Constructor Description AbstractDirectoryItem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(DirectoryItem other)
boolean
equals(Object obj)
String
getUniqueId()
Gets the unique identifier of this item in the directory.int
hashCode()
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.silverpeas.web.directory.model.DirectoryItem
getAvatar, getCreationDate, getFax, getFirstName, getLastName, getMail, getOriginalId, getPhone, getType
-
-
-
-
Method Detail
-
compareTo
public int compareTo(DirectoryItem other)
- Specified by:
compareTo
in interfaceComparable<DirectoryItem>
-
getUniqueId
public String getUniqueId()
Description copied from interface:DirectoryItem
Gets the unique identifier of this item in the directory.- Specified by:
getUniqueId
in interfaceDirectoryItem
- Returns:
- the unique identifier of the item.
-
-