java.lang.Object
com.gentics.contentnode.rest.model.request.page.TargetFolder

public class TargetFolder extends Object
Target folder object for a page copy call. A folder is identified by its id and the channelId. You can omit the channelId when you want to copy to master folders.
  • Field Details

  • Constructor Details

    • TargetFolder

      public TargetFolder()
      Constructor used by JAXB
    • TargetFolder

      public TargetFolder(Integer id, Integer channelId)
  • Method Details

    • getId

      public Integer getId()
      Get the target folder Id
      Returns:
    • setId

      public void setId(Integer id)
      Set the target folder Id
      Parameters:
      id -
    • getChannelId

      public Integer getChannelId()
      Get the target folder channel id
      Returns:
    • setChannelId

      public void setChannelId(Integer channelId)
      Set the target folder channel id. Set 0 for master folders.
      Parameters:
      channelId -