|
Jive API (3.0.13) Core Javadocs | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ContentNotificationProvider<T extends JiveObject>
Provides details necessary to fill in a template to construct a message to send this content to another user (generally)
as an e-mail message. Currently used by com.jivesoftware.community.action.SendContentNotification action
com.jivesoftware.community.action.SendContentNotification| Method Summary | |
|---|---|
String |
getAttachmentName(T jiveObject)
Return the name of the given jiveObject to be used if it is included as an attachment to a message (email) |
long |
getAttachmentSize(T jiveObject)
Return the size of the bundled item being attached to the message |
String |
getObjectTitle(T jiveObject)
The method should return the plain title, subject, or name of this content. |
boolean |
isAttachmentAvailable()
Returns whether or not the content notification form (Send As Email form) should offer the option to include an attachment of the object. |
| Method Detail |
|---|
String getObjectTitle(T jiveObject)
JiveContentObject, this method should return the plain subject. Otherwise it might return the name of
this content or some other descriptor.
jiveObject - to retrieve the title from
boolean isAttachmentAvailable()
String getAttachmentName(T jiveObject)
jiveObject - having its content attached
long getAttachmentSize(T jiveObject)
jiveObject - having its content attached
|
Jive Product Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||