Class BaseCreateFolderCommand<COMMAND extends BaseCreateFolderCommand<?>>

java.lang.Object
org.labkey.remoteapi.Command<ResponseType,org.apache.hc.client5.http.classic.methods.HttpPost>
org.labkey.remoteapi.PostCommand<CommandResponse>
org.labkey.remoteapi.security.BaseCreateFolderCommand<COMMAND>
All Implemented Interfaces:
HasRequiredVersion
Direct Known Subclasses:
CreateFolderCommand, CreateProjectCommand

public abstract class BaseCreateFolderCommand<COMMAND extends BaseCreateFolderCommand<?>> extends PostCommand<CommandResponse>
  • Constructor Details

    • BaseCreateFolderCommand

      protected BaseCreateFolderCommand(String actionName)
  • Method Details

    • setName

      public COMMAND setName(String name)
    • setFolderType

      public COMMAND setFolderType(String folderType)
    • setTemplateSourceId

      public COMMAND setTemplateSourceId(String templateSourceId)
    • setTemplateIncludeSubfolders

      public COMMAND setTemplateIncludeSubfolders(boolean templateIncludeSubfolders)
    • setTemplateWriterTypes

      public COMMAND setTemplateWriterTypes(String... templateWriterTypes)
    • getPostData

      protected List<org.apache.hc.core5.http.message.BasicNameValuePair> getPostData()
    • createRequest

      protected org.apache.hc.client5.http.classic.methods.HttpPost createRequest(URI uri)
      Description copied from class: PostCommand
      Creates the HttpPost instance used for the request. Override to modify the HttpPost object before use or to send something other than JSON in the post body. In your override, create the HttpPost and set the request entity appropriately.
      Overrides:
      createRequest in class PostCommand<CommandResponse>
      Parameters:
      uri - the uri to convert
      Returns:
      The PostMethod object.