Class PageOfflineRequest

java.lang.Object
com.gentics.contentnode.rest.model.request.PageOfflineRequest

public class PageOfflineRequest extends Object
Request for taking a page offline
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Timestamp to take the page offline at a specific time, 0 for taking the page offline immediately
    boolean
    True if all languages shall be taken offline, false if not
    void
    setAlllang(boolean alllang)
    Set whether all languages shall be taken offline
    void
    setAt(int at)
    Set timestamp to take the page offline at a specific timestamp, 0 for taking the page offline immediately

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PageOfflineRequest

      public PageOfflineRequest()
  • Method Details

    • isAlllang

      public boolean isAlllang()
      True if all languages shall be taken offline, false if not
      Returns:
      true or false
    • getAt

      public int getAt()
      Timestamp to take the page offline at a specific time, 0 for taking the page offline immediately
      Returns:
      timestamp or 0
    • setAlllang

      public void setAlllang(boolean alllang)
      Set whether all languages shall be taken offline
      Parameters:
      alllang - true if all language variants shall be taken offline, false if not
    • setAt

      public void setAt(int at)
      Set timestamp to take the page offline at a specific timestamp, 0 for taking the page offline immediately
      Parameters:
      at - timestamp or 0