Interface Thread
- All Superinterfaces:
 AmetysObject,ExplorerNode,TraversableAmetysObject
- All Known Subinterfaces:
 ModifiableThread
- All Known Implementing Classes:
 JCRThread
Common interface for thread
- 
Method Summary
Modifier and TypeMethodDescriptionGet the author of the threadGet the thread's creation date.getTitle()Get the title of the threadlonggetUnreadPosts(UserIdentity user) Get the number of unread post in this thread for a userMethods inherited from interface org.ametys.plugins.repository.AmetysObject
equals, getId, getName, getParent, getParentPath, getPath, hashCodeMethods inherited from interface org.ametys.plugins.explorer.ExplorerNode
getApplicationId, getDescription, getExplorerPath, getIconCls, hasChildExplorerNodesMethods inherited from interface org.ametys.plugins.repository.TraversableAmetysObject
getChild, getChildAt, getChildPosition, getChildren, hasChild 
- 
Method Details
- 
getTitle
Get the title of the thread- Returns:
 - The thread's title
 
 - 
getAuthor
Get the author of the thread- Returns:
 - The thread's author
 
 - 
getCreationDate
Get the thread's creation date.- Returns:
 - the thread's creation date.
 
 - 
getUnreadPosts
Get the number of unread post in this thread for a user- Parameters:
 user- The user- Returns:
 - The number of unread post
 
 
 -