Package org.ametys.web.publication
Class PublishPageRunnable
java.lang.Object
org.ametys.web.publication.AbstractPublishOrUnpublishPageRunnable
org.ametys.web.publication.PublishPageRunnable
- All Implemented Interfaces:
Runnable
A
Runnable
which schedules a PublishOrUnpublishPageSchedulable
task for publishing 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
ConstructorDescriptionPublishPageRunnable
(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
-
PublishPageRunnable
public PublishPageRunnable(String pageId, String pageName, UserIdentity userIdentity, ZonedDateTime date) Constructor- Parameters:
pageId
- The id of the page to publishpageName
- The name of the page to publishuserIdentity
- TheUserIdentity
to launch the runnable taskdate
- The date when to publish the page
-
-
Method Details