|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.rss.RssRenderItem<T>
public class RssRenderItem<T>
Contains the configuration necessary for an implementation of RssRenderSupport
to render an RSS item. Typically constructed by the FeedBuilder
.
Constructor Summary | |
---|---|
RssRenderItem(T entity,
FeedProperties feedProperties,
com.atlassian.user.User modifier,
com.atlassian.user.User user,
DateFormatter dateFormatter)
|
Method Summary | |
---|---|
DateFormatter |
getDateFormatter()
|
java.util.Map<java.lang.String,java.lang.Object> |
getDefaultVelocityContext()
Provides a default Velocity context for rendering this item. |
T |
getEntity()
|
com.atlassian.user.User |
getModifier()
|
com.atlassian.user.User |
getUser()
|
boolean |
isShowContent()
|
boolean |
isShowDifferences()
Deprecated. Since 4.0. We no longer support diffs in RSS feeds. |
void |
setDateFormatter(DateFormatter dateFormatter)
|
void |
setEntity(T entity)
|
void |
setShowContent(boolean showContent)
|
void |
setShowDifferences(boolean showDifferences)
Deprecated. Since 4.0. We no longer support diffs in RSS items so any setting here is ignored. |
void |
setUser(com.atlassian.user.User user)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RssRenderItem(T entity, FeedProperties feedProperties, com.atlassian.user.User modifier, com.atlassian.user.User user, DateFormatter dateFormatter)
Method Detail |
---|
public T getEntity()
public boolean isShowContent()
@Deprecated public boolean isShowDifferences()
public com.atlassian.user.User getUser()
public com.atlassian.user.User getModifier()
public DateFormatter getDateFormatter()
public void setEntity(T entity)
public void setShowContent(boolean showContent)
@Deprecated public void setShowDifferences(boolean showDifferences)
showDifferences
- public void setUser(com.atlassian.user.User user)
public void setDateFormatter(DateFormatter dateFormatter)
public java.util.Map<java.lang.String,java.lang.Object> getDefaultVelocityContext()
MacroUtils.defaultVelocityContext()
and adds the user and dateFormatter parameters.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |