|
||||||||||
| 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 String |
TYPE_DASHBOARD
|
static String |
TYPE_REPORT
|
static String |
TYPE_VIEW
|
| Constructor Summary | |
|---|---|
SubscribeContent(String subContId,
String actionReference,
String type)
|
|
SubscribeContent(String subContId,
String actionReference,
String type,
Map<String,Object> parameters)
|
|
| Method Summary | |
|---|---|
void |
addSchedule(ISchedule schedule)
|
void |
clearsSchedules()
removes all schedules. |
boolean |
equals(Object other)
|
String |
getActionReference()
Gets the reference to the action sequence used by subscriptions to this content |
String |
getId()
Gets the id of this content |
Map<String,Object> |
getParameters()
Gets the parameters for the content |
int |
getRevision()
|
List<ISchedule> |
getSchedules()
|
String |
getType()
|
int |
hashCode()
|
boolean |
hasSchedule(ISchedule schedule)
|
boolean |
removeSchedule(ISchedule schedule)
|
void |
setActionReference(String actionReference)
Sets a reference to the action sequence that will be executed as part of a subscription |
void |
setParameters(Map<String,Object> parameters)
Sets the parameters that will be provided to the action sequence when it is executed as part of a subscription |
void |
setSchedules(List<ISchedule> schedules)
|
void |
setType(String type)
|
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String TYPE_REPORT
public static final String TYPE_VIEW
public static final String TYPE_DASHBOARD
| Constructor Detail |
|---|
public SubscribeContent(String subContId,
String actionReference,
String type)
public SubscribeContent(String subContId,
String actionReference,
String type,
Map<String,Object> parameters)
| Method Detail |
|---|
public boolean equals(Object other)
equals in interface ISubscribeContentequals in class Objectpublic int hashCode()
hashCode in interface ISubscribeContenthashCode in class Objectpublic int getRevision()
getRevision in interface ISubscribeContentpublic String getActionReference()
getActionReference in interface ISubscribeContentpublic void addSchedule(ISchedule schedule)
addSchedule in interface ISubscribeContentpublic 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(Map<String,Object> parameters)
setParameters in interface ISubscribeContentparameters - The parameters to pass to the action sequencepublic Map<String,Object> getParameters()
getParameters in interface ISubscribeContentpublic String getId()
getId in interface ISubscribeContentpublic String getType()
getType in interface ISubscribeContentpublic void setActionReference(String actionReference)
setActionReference in interface ISubscribeContentactionReference - public void setSchedules(List<ISchedule> schedules)
setSchedules in interface ISubscribeContentpublic void setType(String type)
setType in interface ISubscribeContent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||