public interface ISchedpubPolicy extends IBizPolicy
Modifier and Type | Method and Description |
---|---|
List<IThingID> |
addSchedulePublish(IContext context,
IThingID thingID,
IThingIDList topicIDList,
List<String> aliasNameList,
long startDate,
long endDate)
Creates a new scheduled publish.
|
IScheduledPublish |
getSchedulePublish(IContext context,
int schedID)
Get a scheduled publish object by given id
|
IListView<IPublishTarget> |
listPublishTargets(IContext context,
int schedID)
Get a list of publish targets for this scheduled publish
|
IListView<IScheduledPublish> |
listScheduledPublishes(IContext context)
Get a list of scheduled publishes created by the current user.
|
IListView<IScheduledPublish> |
listScheduledPublishesForResource(IContext context,
IThingID thingID)
Get a list of scheduled publishes created by the current user for the passed thing
|
void |
removeSchedulePublish(IContext context,
int schedID)
Removes an existing scheduled publish
|
List<IThingID> |
updateSchedulePublish(IContext context,
int schedID,
IThingID thingID,
IThingIDList topicIDList,
List<String> aliasNameList,
long startDate,
long endDate)
Updates an existing scheduled publish.
|
getComponentData, getComponentName, getComponentProvider, getURI, isInitialized, setComponentData, setComponentProvider
init, shutdown
List<IThingID> addSchedulePublish(IContext context, IThingID thingID, IThingIDList topicIDList, List<String> aliasNameList, long startDate, long endDate) throws BizException
context
- Context state information (current user, etc.).thingID
- IThingID
of the item to publish.topicIDList
- IThingIDList
of topics that are the publish targetsaliasNameList
- aliases to createstartDate
- time the publishing will occurendDate
- time the published shortucts will be removedList
of created scheduled publishesBizException
List<IThingID> updateSchedulePublish(IContext context, int schedID, IThingID thingID, IThingIDList topicIDList, List<String> aliasNameList, long startDate, long endDate) throws BizException
context
- Context state information (current user, etc.).schedID
- ID of the scheduled publish to updatethingID
- IThingID
of the item to publish.topicIDList
- IThingIDList
of topics that are the publish targetsaliasNameList
- aliases to createstartDate
- time the publishing will occurendDate
- time the published shortucts will be removedList
of updated scheduled publishesBizException
void removeSchedulePublish(IContext context, int schedID) throws BizException
context
- Context state information (current user, etc.).schedID
- ID of the scheduled publish to updateBizException
IScheduledPublish getSchedulePublish(IContext context, int schedID) throws BizException
context
- Context state information (current user, etc.).schedID
- ID of the scheduled publish to updateIScheduledPublish
BizException
IListView<IPublishTarget> listPublishTargets(IContext context, int schedID) throws BizException
context
- Context state information (current user, etc.).schedID
- ID of the scheduled publish to updateIListView
of topics that are the publish targetsBizException
IListView<IScheduledPublish> listScheduledPublishes(IContext context) throws BizException
context
- Context state information (current user, etc.).IListView
of scheduled publishesBizException
IListView<IScheduledPublish> listScheduledPublishesForResource(IContext context, IThingID thingID) throws BizException
context
- Context state information (current user, etc.).thingID
- IThingID
of the item to publishIListView
of scheduled publishesBizException