com.gentics.contentnode.rest.model.request
Class PagePublishRequest

java.lang.Object
  extended by com.gentics.contentnode.rest.model.request.PagePublishRequest
Direct Known Subclasses:
MultiPagePublishRequest

public class PagePublishRequest
extends Object

Request for publishing a page


Constructor Summary
PagePublishRequest()
          Empty constructor
 
Method Summary
 int getAt()
          Get the timestamp to publish the page at a specific time, 0 for publishing the page immediately
 String getMessage()
          Get the message
 boolean isAlllang()
          Get true if all languages shall be published, false if not
 void setAlllang(boolean alllang)
          Set whether all languages shall be published
 void setAt(int at)
          Set timestamp to publish the page at a specific timestamp, 0 for publishing the page immediately
 void setMessage(String message)
          Set the message
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PagePublishRequest

public PagePublishRequest()
Empty constructor

Method Detail

getMessage

public String getMessage()
Get the message

Returns:
message

isAlllang

public boolean isAlllang()
Get true if all languages shall be published, false if not

Returns:
true or false

getAt

public int getAt()
Get the timestamp to publish the page at a specific time, 0 for publishing the page immediately

Returns:
timestamp or 0

setMessage

public void setMessage(String message)
Set the message

Parameters:
message - message

setAlllang

public void setAlllang(boolean alllang)
Set whether all languages shall be published

Parameters:
alllang - true if all language variants shall be published, false if not

setAt

public void setAt(int at)
Set timestamp to publish the page at a specific timestamp, 0 for publishing the page immediately

Parameters:
at - timestamp or -1


Copyright © 2014 Gentics Software GmbH. All Rights Reserved.