com.jivesoftware.community.objecttype
Interface WatchableType
- All Known Implementing Classes:
- MediaObjectType
public interface WatchableType
If you are a watchable type, you must define the following templates:
watch.email.[objecttypename]
watch.email.[objecttypename]_comment (if commentable also)
watch.email.[container object name].[objecttypename] (if containable in [container object name]
If your content type is implemented as a plugin, you must place these templates in
/resources/mail_template[_i18n_your language].xml. You may omit the i18n component of the template
file if you only support the default locale.
The following objects are available to the freemarker template context:
[objecttypename]
[objecttypename]URL
contentObject (same as [objecttypename])
contentObjectURL (same as [objecttypename]URL)
See com.jivesoftware.community.impl.EmailWatchUpdateTask for additional context.
getWatchInfoProvider
WatchInfoProvider getWatchInfoProvider()
- Returns a provider allowing the type to integrate with the watch subsystem.
- Returns:
- a provider allowing the type to integrate with the watch subsystem.
Copyright © 1999-2007 Jive Software.