Class PageOfflineRequest
java.lang.Object
com.gentics.contentnode.rest.model.request.PageOfflineRequest
Request for taking a page offline
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetAt()Timestamp to take the page offline at a specific time, 0 for taking the page offline immediatelybooleanTrue if all languages shall be taken offline, false if notvoidsetAlllang(boolean alllang) Set whether all languages shall be taken offlinevoidsetAt(int at) Set timestamp to take the page offline at a specific timestamp, 0 for taking the page offline immediately
-
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
-