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,
Date 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, Date date)
pageId
- The id of the page to publishpageName
- The name of the page to publishuserIdentity
- The UserIdentity
to launch the runnable taskdate
- The date when to publish the pagepublic I18nizableText getLabel()
Runnable
public I18nizableText getDescription()
Runnable