|
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.base.plugin.MacroContext
public class MacroContext
Provides extra information to the macro.
| Field Summary | |
|---|---|
protected JiveContentObject |
contentObject
|
protected JiveContext |
jiveContext
|
protected PluginMetaData |
pluginMetaData
|
protected User |
user
|
| Constructor Summary | |
|---|---|
MacroContext(JiveContext jiveContext,
PluginMetaData pluginMetaData,
JiveContentObject contentObject,
User user)
|
|
| Method Summary | |
|---|---|
JiveContentObject |
getContentObject()
Returns the object this macro is being used inside of. |
JiveContext |
getJiveContext()
Returns a JiveContext object providing access to the clearspace api. |
PluginMetaData |
getPluginMetaData()
Returns meta data about the plugin this macro is deployed in. |
User |
getUser()
Returns the current user logged in if the user is not a guest, if the user is a guest null will be returned. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final JiveContext jiveContext
protected final PluginMetaData pluginMetaData
protected final JiveContentObject contentObject
protected final User user
| Constructor Detail |
|---|
public MacroContext(JiveContext jiveContext,
PluginMetaData pluginMetaData,
JiveContentObject contentObject,
User user)
| Method Detail |
|---|
public JiveContext getJiveContext()
public PluginMetaData getPluginMetaData()
public JiveContentObject getContentObject()
Thread or BlogPost.
public User getUser()
|
Jive Product Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||