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