|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.pentaho.platform.repository.subscription.SubscribeContent
public class SubscribeContent
This class defines an action sequence (e.g. a report) that users can create subscriptions to. This class contains a reference to the action sequence that will be executed when the subscription is viewed online or scheduled. Parameters to the action sequence can be defined here. These parameters will be applied to every subscription to the action sequence. These parameter values can be overriden by the individual subscriptions if the user interface allows.
| Field Summary | |
|---|---|
static java.lang.String |
TYPE_DASHBOARD
|
static java.lang.String |
TYPE_REPORT
|
static java.lang.String |
TYPE_VIEW
|
| Constructor Summary | |
|---|---|
SubscribeContent(java.lang.String subContId,
java.lang.String actionReference,
java.lang.String type)
|
|
SubscribeContent(java.lang.String subContId,
java.lang.String actionReference,
java.lang.String type,
java.util.Map<java.lang.String,java.lang.Object> parameters)
|
|
| Method Summary | |
|---|---|
void |
addSchedule(ISchedule schedule)
|
void |
clearsSchedules()
removes all schedules. |
boolean |
equals(java.lang.Object other)
|
java.lang.String |
getActionReference()
Gets the reference to the action sequence used by subscriptions to this content |
java.lang.String |
getId()
Gets the id of this content |
java.util.Map<java.lang.String,java.lang.Object> |
getParameters()
Gets the parameters for the content |
int |
getRevision()
|
java.util.List<ISchedule> |
getSchedules()
|
java.lang.String |
getType()
|
int |
hashCode()
|
boolean |
hasSchedule(ISchedule schedule)
|
boolean |
removeSchedule(ISchedule schedule)
|
void |
setActionReference(java.lang.String actionReference)
Sets a reference to the action sequence that will be executed as part of a subscription |
void |
setParameters(java.util.Map<java.lang.String,java.lang.Object> parameters)
Sets the parameters that will be provided to the action sequence when it is executed as part of a subscription |
void |
setSchedules(java.util.List<ISchedule> schedules)
|
void |
setType(java.lang.String type)
|
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String TYPE_REPORT
public static final java.lang.String TYPE_VIEW
public static final java.lang.String TYPE_DASHBOARD
| Constructor Detail |
|---|
public SubscribeContent(java.lang.String subContId,
java.lang.String actionReference,
java.lang.String type)
public SubscribeContent(java.lang.String subContId,
java.lang.String actionReference,
java.lang.String type,
java.util.Map<java.lang.String,java.lang.Object> parameters)
| Method Detail |
|---|
public boolean equals(java.lang.Object other)
equals in interface ISubscribeContentequals in class java.lang.Objectpublic int hashCode()
hashCode in interface ISubscribeContenthashCode in class java.lang.Objectpublic int getRevision()
getRevision in interface ISubscribeContentpublic java.lang.String getActionReference()
getActionReference in interface ISubscribeContentpublic void addSchedule(ISchedule schedule)
addSchedule in interface ISubscribeContentpublic java.util.List<ISchedule> getSchedules()
getSchedules in interface ISubscribeContentpublic boolean hasSchedule(ISchedule schedule)
hasSchedule in interface ISubscribeContentpublic boolean removeSchedule(ISchedule schedule)
removeSchedule in interface ISubscribeContentpublic void clearsSchedules()
ISubscribeContent
clearsSchedules in interface ISubscribeContentpublic void setParameters(java.util.Map<java.lang.String,java.lang.Object> parameters)
setParameters in interface ISubscribeContentparameters - The parameters to pass to the action sequencepublic java.util.Map<java.lang.String,java.lang.Object> getParameters()
getParameters in interface ISubscribeContentpublic java.lang.String getId()
getId in interface ISubscribeContentpublic java.lang.String getType()
getType in interface ISubscribeContentpublic void setActionReference(java.lang.String actionReference)
setActionReference in interface ISubscribeContentactionReference - public void setSchedules(java.util.List<ISchedule> schedules)
setSchedules in interface ISubscribeContentpublic void setType(java.lang.String type)
setType in interface ISubscribeContent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||