|
Jive API (3.0.13) Core Javadocs | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jivesoftware.community.media.type.MediaNotificationProvider
public class MediaNotificationProvider
Provides details necessary to fill in a template to construct a message to send this media object type content
to another user (generally) as an e-mail message. Currently used by
com.jivesoftware.community.action.SendContentNotification action
com.jivesoftware.community.action.SendContentNotification| Constructor Summary | |
|---|---|
MediaNotificationProvider()
|
|
| Method Summary | |
|---|---|
String |
getAttachmentName(Media media)
Return the name of the given jiveObject to be used if it is included as an attachment to a message (email) |
long |
getAttachmentSize(Media media)
Return the size of the bundled item being attached to the message |
String |
getObjectTitle(Media media)
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MediaNotificationProvider()
| Method Detail |
|---|
public String getObjectTitle(Media media)
ContentNotificationProviderJiveContentObject, this method should return the plain subject. Otherwise it might return the name of
this content or some other descriptor.
getObjectTitle in interface ContentNotificationProvider<Media>media - to retrieve the title from
public boolean isAttachmentAvailable()
ContentNotificationProvider
isAttachmentAvailable in interface ContentNotificationProvider<Media>public String getAttachmentName(Media media)
ContentNotificationProvider
getAttachmentName in interface ContentNotificationProvider<Media>media - having its content attached
public long getAttachmentSize(Media media)
ContentNotificationProvider
getAttachmentSize in interface ContentNotificationProvider<Media>media - having its content attached
|
Jive Product Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||