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 for MultiFolderLoadRequest and MultiPageLoadRequest.
  • Constructor Details

    • MultiObjectLoadRequest

      public MultiObjectLoadRequest()
      Constructor used by JAXB.
  • Method Details

    • 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 to true 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 -