Class MultiObjectLoadRequest
- java.lang.Object
-
- com.gentics.contentnode.rest.model.request.MultiObjectLoadRequest
-
- Direct Known Subclasses:
MultiFolderLoadRequest
,MultiPageLoadRequest
public class MultiObjectLoadRequest extends Object
Request to load multiple objects. This request can be used to load files and images and acts as a base forMultiFolderLoadRequest
andMultiPageLoadRequest
.
-
-
Constructor Summary
Constructors Constructor Description MultiObjectLoadRequest()
Constructor used by JAXB.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Integer>
getIds()
The ids of the folders to load.Integer
getNodeId()
The id of the node to load the folders from.String
getPackage()
Get a content staging package name.Boolean
isForUpdate()
Whether the folders are to be loaded for update.void
setForUpdate(Boolean forUpdate)
Set whether the folders are to be loaded for update.void
setIds(List<Integer> ids)
Set the ids of the folders to load.void
setNodeId(Integer nodeId)
Set the id of the node to load the folders from.void
setPackage(String packageName)
Set a content staging package name, to check the object against the package for a sync status.
-
-
-
Method Detail
-
getIds
public List<Integer> getIds()
The ids of the folders to load.- Returns:
- The ids of the folders to load.
-
setIds
public void setIds(List<Integer> ids)
Set the ids of the folders to load.- Parameters:
ids
- The ids of the folders to load.
-
isForUpdate
public Boolean isForUpdate()
Whether the folders are to be loaded for update.- Returns:
true
if the folders should be loaded for update,false
otherwise.
-
setForUpdate
public void setForUpdate(Boolean forUpdate)
Set whether the folders are to be loaded for update.- Parameters:
forUpdate
- Set totrue
if the folders should be loaded for update.
-
getNodeId
public Integer getNodeId()
The id of the node to load the folders from.- Returns:
- The id of the node to load the folders from.
-
setNodeId
public void setNodeId(Integer nodeId)
Set the id of the node to load the folders from.
-
getPackage
public String getPackage()
Get a content staging package name. If set, the object is checked against the package for a sync status.- Returns:
-
setPackage
public void setPackage(String packageName)
Set a content staging package name, to check the object against the package for a sync status.- Parameters:
packageName
-
-
-