Package org.ametys.web.publication
Class UnpublishPageRunnable
java.lang.Object
org.ametys.web.publication.AbstractPublishOrUnpublishPageRunnable
org.ametys.web.publication.UnpublishPageRunnable
- All Implemented Interfaces:
Runnable
A
Runnable which schedules a PublishOrUnpublishPageSchedulable task for unpublishing a page.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.ametys.core.schedule.Runnable
Runnable.FireProcess, Runnable.MisfirePolicy -
Field Summary
Fields inherited from class org.ametys.web.publication.AbstractPublishOrUnpublishPageRunnable
_date, _pageId, _pageName, _userIdentity -
Constructor Summary
ConstructorsConstructorDescriptionUnpublishPageRunnable(String pageId, String pageName, UserIdentity userIdentity, ZonedDateTime date) Constructor -
Method Summary
Methods inherited from class org.ametys.web.publication.AbstractPublishOrUnpublishPageRunnable
getCronExpression, getFireProcess, getId, getMisfirePolicy, getParameterValues, getSchedulableId, getUserIdentity, isDeactivatable, isModifiable, isRemovable, isVolatile
-
Constructor Details
-
UnpublishPageRunnable
public UnpublishPageRunnable(String pageId, String pageName, UserIdentity userIdentity, ZonedDateTime date) Constructor- Parameters:
pageId- The id of the page to unpublishpageName- The name of the page to unpublishuserIdentity- TheUserIdentityto launch the runnable taskdate- The date when to unpublish the page
-
-
Method Details