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 PageOfflineRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getAt()
Timestamp to take the page offline at a specific time, 0 for taking the page offline immediatelyboolean
isAlllang()
True if all languages shall be taken offline, false if notvoid
setAlllang(boolean alllang)
Set whether all languages shall be taken offlinevoid
setAt(int at)
Set timestamp to take the page offline at a specific timestamp, 0 for taking the page offline immediately
-
-
-
Method Detail
-
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
-
-