|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Deprecated public interface ISubscriptionRepository
Method Summary | |
---|---|
void |
addContent(ISubscribeContent content)
Deprecated. |
List<ISubscribeContent> |
addContent(String[] actionRefs)
Deprecated. |
ISubscribeContent |
addContent(String actionRef,
String contentType)
Deprecated. |
boolean |
addContentForSchedule(ISubscribeContent content,
ISchedule sched)
Deprecated. |
void |
addContentForSchedule(String[] contentIds,
String schedId)
Deprecated. |
boolean |
addContentForSchedule(String contentId,
String schedId)
Deprecated. |
ISchedule |
addCronSchedule(String title,
String scheduleRef,
String description,
String cronString,
String group,
Date startDate,
Date endDate)
Deprecated. Add a new schedule whose task-execution time is defined by a Cron string. |
ISchedule |
addRepeatSchedule(String title,
String scheduleRef,
String description,
Integer repeatCount,
Integer repeatInterval,
String group,
Date startDate,
Date endDate)
Deprecated. Add a new schedule whose task-execution time is defined by a repeat interval and a repeat count. |
void |
addSchedule(ISchedule schedule)
Deprecated. |
void |
addSchedulesToDocument(String user,
String contentId,
org.dom4j.Element schedulesNode,
String editId)
Deprecated. |
boolean |
addSubscription(ISubscription subscription)
Deprecated. |
void |
addSubscriptionsToDocument(String user,
String contentId,
org.dom4j.Element subscriptionsNode,
String editId,
IPentahoSession session)
Deprecated. |
void |
addSubscriptionToDocument(ISubscription subscription,
org.dom4j.Element subscriptionsNode,
String editId,
IPentahoSession session)
Deprecated. |
boolean |
checkUniqueSubscriptionName(String name,
String user,
String contentId)
Deprecated. Returns true if the subscription name is unique for the user/contentId |
void |
deleteContent(ISubscribeContent content)
Deprecated. |
boolean |
deleteContentForSchedule(ISubscribeContent content,
ISchedule sched)
Deprecated. |
boolean |
deleteContentForSchedule(String contentId,
String schedId)
Deprecated. |
boolean |
deleteSchedule(ISchedule sched)
Deprecated. |
boolean |
deleteScheduleById(String scheduleId)
Deprecated. |
boolean |
deleteSubscribeContent(ISubscribeContent subContent)
Deprecated. |
boolean |
deleteSubscribeContentById(String subContentId)
Deprecated. |
boolean |
deleteSubscription(String subscriptionId)
Deprecated. |
boolean |
deleteSubscription(String subscriptionId,
IPentahoSession session)
Deprecated. |
boolean |
deleteSubscriptionForSchedule(ISubscription subscription,
ISchedule sched)
Deprecated. |
void |
deleteUserSubscriptions(String user)
Deprecated. |
ISubscribeContent |
editContent(String id,
String actionRef,
String contentType)
Deprecated. |
ISchedule |
editCronSchedule(String id,
String title,
String scheduleRef,
String description,
String cronString,
String group,
Date startDate,
Date endDate)
Deprecated. Edit an existing schedule. |
ISchedule |
editRepeatSchedule(String id,
String title,
String scheduleRef,
String description,
Integer repeatCount,
Integer repeatInterval,
String group,
Date startDate,
Date endDate)
Deprecated. Edit an existing schedule. |
List<ISubscribeContent> |
getAllContent()
Deprecated. |
List<ISubscription> |
getAllSubscriptions()
Deprecated. |
ISubscribeContent |
getContentByActionReference(String actionReference)
Deprecated. |
ISubscribeContent |
getContentById(String contentId)
Deprecated. |
List<ISubscribeContent> |
getContentBySchedule(ISchedule schedule)
Deprecated. |
IContentItem |
getContentItem(String subscriptionName,
IPentahoSession session)
Deprecated. |
ISchedule |
getSchedule(String id)
Deprecated. |
ISchedule |
getScheduleByScheduleReference(String scheduleReference)
Deprecated. |
List<ISchedule> |
getSchedules()
Deprecated. |
List<ISchedule> |
getSchedulesByTitle(String title)
Deprecated. |
ISubscription |
getSubscription(String subscriptionId,
IPentahoSession session)
Deprecated. |
List |
getSubscriptionArchives(String subscriptionName,
IPentahoSession session)
Deprecated. |
org.pentaho.commons.connection.IPentahoResultSet |
getSubscriptions(String scheduleId,
IPentahoSession session,
String solution,
String path,
String action,
String[] parameterNames)
Deprecated. |
List<ISubscription> |
getSubscriptionsForSchedule(ISchedule schedule)
Deprecated. |
List<ISubscription> |
getSubscriptionsForSchedule(String scheduleId)
Deprecated. |
List<ISubscription> |
getUserSubscriptions(String user)
Deprecated. |
org.dom4j.Document |
getUserSubscriptions(String user,
String contentId,
IPentahoSession session)
Deprecated. |
org.dom4j.Element |
importContent(org.dom4j.Document doc)
Deprecated. |
org.dom4j.Element |
importSchedules(org.dom4j.Document doc)
Deprecated. |
void |
setContent(String[] actionRefs)
Deprecated. |
void |
setContentForSchedule(String[] contentId,
String schedId)
Deprecated. |
void |
setSchedulesForContent(String[] scheduleId,
String contentId)
Deprecated. |
List<ISchedule> |
syncSchedules()
Deprecated. |
Methods inherited from interface org.pentaho.platform.api.engine.IPentahoInitializer |
---|
init |
Method Detail |
---|
boolean addSubscription(ISubscription subscription)
void addContent(ISubscribeContent content)
void deleteContent(ISubscribeContent content)
ISubscribeContent editContent(String id, String actionRef, String contentType)
ISubscribeContent addContent(String actionRef, String contentType)
void setContent(String[] actionRefs) throws Exception
Exception
List<ISubscribeContent> addContent(String[] actionRefs) throws SubscriptionRepositoryCheckedException
SubscriptionRepositoryCheckedException
List<ISubscribeContent> getAllContent()
List<ISubscription> getAllSubscriptions()
List<ISubscription> getUserSubscriptions(String user)
boolean deleteContentForSchedule(String contentId, String schedId) throws SubscriptionRepositoryCheckedException
SubscriptionRepositoryCheckedException
boolean deleteContentForSchedule(ISubscribeContent content, ISchedule sched) throws SubscriptionRepositoryCheckedException
SubscriptionRepositoryCheckedException
boolean addContentForSchedule(String contentId, String schedId) throws SubscriptionRepositoryCheckedException
SubscriptionRepositoryCheckedException
void setContentForSchedule(String[] contentId, String schedId) throws Exception
Exception
void addContentForSchedule(String[] contentIds, String schedId) throws SubscriptionRepositoryCheckedException
SubscriptionRepositoryCheckedException
boolean addContentForSchedule(ISubscribeContent content, ISchedule sched) throws SubscriptionRepositoryCheckedException
SubscriptionRepositoryCheckedException
void setSchedulesForContent(String[] scheduleId, String contentId) throws Exception
Exception
org.dom4j.Document getUserSubscriptions(String user, String contentId, IPentahoSession session)
ISchedule addCronSchedule(String title, String scheduleRef, String description, String cronString, String group, Date startDate, Date endDate) throws SubscriptionRepositoryCheckedException
title
- Title of the schedule. Title is typically displayed in the subscription UI
to help the user making the subscription to identify which schedule they want to
execute the action sequence.scheduleRef
- The name of the schedule. (In Quartz implementation, this name will
be used as the trigger name).description
- a description of the schedulecronString
- a Cron string identifying when the schedule will executegroup
- the group name. (In Quartz implementations, this will be used as the trigger's
group name).startDate
- date/time the schedule should begin executing it's tasks.endDate
- date/time that the schedule should stop executing its tasks. This parameter
may be null, in which case the schedule will never stop.
SubscriptionRepositoryCheckedException
- if the subscription repository
fails to create the schedule.ISchedule addRepeatSchedule(String title, String scheduleRef, String description, Integer repeatCount, Integer repeatInterval, String group, Date startDate, Date endDate) throws SubscriptionRepositoryCheckedException
title
- Title of the schedule. Title is typically displayed in the subscription UI
to help the user making the subscription to identify which schedule they want to
execute the action sequence.scheduleRef
- The name of the schedule. (In Quartz implementation, this name will
be used as the trigger name).description
- a description of the schedulerepeatCount
- the number of times the schedule should executerepeatInterval
- the period of time that passes between schedule executionsgroup
- the group name. (In Quartz implementations, this will be used as the trigger's
group name).startDate
- date/time the schedule should begin executing it's tasks.endDate
- date/time that the schedule should stop executing its tasks. This parameter
may be null, in which case the schedule will never stop.
SubscriptionRepositoryCheckedException
- if the subscription repository
fails to create the schedule.void addSchedule(ISchedule schedule) throws SubscriptionRepositoryCheckedException
SubscriptionRepositoryCheckedException
ISchedule editCronSchedule(String id, String title, String scheduleRef, String description, String cronString, String group, Date startDate, Date endDate) throws SubscriptionRepositoryCheckedException
title
- Title of the schedule. Title is typically displayed in the subscription UI
to help the user making the subscription to identify which schedule they want to
execute the action sequence.scheduleRef
- The name of the schedule. (In Quartz implementation, this name will
be used as the trigger name).description
- a description of the schedulecronString
- a Cron string identifying when the schedule will executegroup
- the group name. (In Quartz implementations, this will be used as the trigger's
group name).startDate
- date/time the schedule should begin executing it's tasks.endDate
- date/time that the schedule should stop executing its tasks. This parameter
may be null, in which case the schedule will never stop.
SubscriptionRepositoryCheckedException
- if the subscription repository
fails to create the schedule.ISchedule editRepeatSchedule(String id, String title, String scheduleRef, String description, Integer repeatCount, Integer repeatInterval, String group, Date startDate, Date endDate) throws SubscriptionRepositoryCheckedException
title
- Title of the schedule. Title is typically displayed in the subscription UI
to help the user making the subscription to identify which schedule they want to
execute the action sequence.scheduleRef
- The name of the schedule. (In Quartz implementation, this name will
be used as the trigger name).description
- a description of the schedulerepeatCount
- the number of times the schedule should executerepeatInterval
- the period of time that passes between schedule executionsgroup
- the group name. (In Quartz implementations, this will be used as the trigger's
group name).startDate
- date/time the schedule should begin executing it's tasks.endDate
- date/time that the schedule should stop executing its tasks. This parameter
may be null, in which case the schedule will never stop.
SubscriptionRepositoryCheckedException
- if the subscription repository
fails to create the schedule.void addSubscriptionToDocument(ISubscription subscription, org.dom4j.Element subscriptionsNode, String editId, IPentahoSession session)
void addSubscriptionsToDocument(String user, String contentId, org.dom4j.Element subscriptionsNode, String editId, IPentahoSession session)
void addSchedulesToDocument(String user, String contentId, org.dom4j.Element schedulesNode, String editId)
ISubscribeContent getContentByActionReference(String actionReference)
ISubscribeContent getContentById(String contentId)
List<ISubscribeContent> getContentBySchedule(ISchedule schedule)
ISubscription getSubscription(String subscriptionId, IPentahoSession session)
boolean deleteSubscription(String subscriptionId, IPentahoSession session)
boolean deleteSubscription(String subscriptionId) throws SubscriptionRepositoryCheckedException
SubscriptionRepositoryCheckedException
boolean deleteSubscriptionForSchedule(ISubscription subscription, ISchedule sched) throws SubscriptionRepositoryCheckedException
SubscriptionRepositoryCheckedException
IContentItem getContentItem(String subscriptionName, IPentahoSession session)
List<ISchedule> getSchedules()
ISchedule getSchedule(String id)
List<ISubscription> getSubscriptionsForSchedule(String scheduleId)
List<ISubscription> getSubscriptionsForSchedule(ISchedule schedule)
List getSubscriptionArchives(String subscriptionName, IPentahoSession session)
org.pentaho.commons.connection.IPentahoResultSet getSubscriptions(String scheduleId, IPentahoSession session, String solution, String path, String action, String[] parameterNames)
boolean deleteSubscribeContentById(String subContentId) throws SubscriptionSchedulerException
SubscriptionSchedulerException
boolean deleteSubscribeContent(ISubscribeContent subContent) throws SubscriptionSchedulerException
SubscriptionSchedulerException
boolean deleteScheduleById(String scheduleId) throws SubscriptionRepositoryCheckedException
SubscriptionRepositoryCheckedException
boolean deleteSchedule(ISchedule sched) throws SubscriptionRepositoryCheckedException
SubscriptionRepositoryCheckedException
ISchedule getScheduleByScheduleReference(String scheduleReference)
List<ISchedule> getSchedulesByTitle(String title)
void deleteUserSubscriptions(String user)
boolean checkUniqueSubscriptionName(String name, String user, String contentId)
Name
- the schedule name to check for uniquenessuser
- the user that owns the schedulescontentId
- The action sequence separated by slashes
org.dom4j.Element importSchedules(org.dom4j.Document doc)
org.dom4j.Element importContent(org.dom4j.Document doc)
List<ISchedule> syncSchedules() throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |