public class UnpublishPageRunnable extends AbstractPublishOrUnpublishPageRunnable
Runnable
which schedules a PublishOrUnpublishPageSchedulable
task for unpublishing a page.Runnable.FireProcess, Runnable.MisfirePolicy
_date, _pageId, _pageName, _userIdentity
Constructor and Description |
---|
UnpublishPageRunnable(String pageId,
String pageName,
UserIdentity userIdentity,
ZonedDateTime date)
Constructor
|
Modifier and Type | Method and Description |
---|---|
I18nizableText |
getDescription()
Returns the description
|
I18nizableText |
getLabel()
Returns the label
|
getCronExpression, getFireProcess, getId, getMisfirePolicy, getParameterValues, getSchedulableId, getUserIdentity, isDeactivatable, isModifiable, isRemovable, isVolatile
public UnpublishPageRunnable(String pageId, String pageName, UserIdentity userIdentity, ZonedDateTime date)
pageId
- The id of the page to unpublishpageName
- The name of the page to unpublishuserIdentity
- The UserIdentity
to launch the runnable taskdate
- The date when to unpublish the pagepublic I18nizableText getLabel()
Runnable
public I18nizableText getDescription()
Runnable