Class TasksApi

java.lang.Object
com.aspose.tasks.cloud.api.TasksApi

public class TasksApi extends Object
  • Constructor Details

    • TasksApi

      public TasksApi()
    • TasksApi

      public TasksApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • copyFile

      public void copyFile(CopyFileRequest request) throws ApiException
      Copy file
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • copyFileAsync

      public com.squareup.okhttp.Call copyFileAsync(CopyFileRequest request, ApiCallback<Void> callback) throws ApiException
      Copy file (asynchronously)
      Parameters:
      request - CopyFile request with main agrs
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • deleteFile

      public void deleteFile(DeleteFileRequest request) throws ApiException
      Delete file
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • deleteFileAsync

      public com.squareup.okhttp.Call deleteFileAsync(DeleteFileRequest request, ApiCallback<Void> callback) throws ApiException
      Delete file (asynchronously)
      Parameters:
      request - DeleteFile request with main agrs
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • downloadFile

      public File downloadFile(DownloadFileRequest request) throws ApiException
      Download file request DownloadFile request with main agrs
      Returns:
      File
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • downloadFileAsync

      public com.squareup.okhttp.Call downloadFileAsync(DownloadFileRequest request, ApiCallback<File> callback) throws ApiException
      Download file (asynchronously)
      Parameters:
      request - DownloadFile request with main agrs
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • moveFile

      public void moveFile(MoveFileRequest request) throws ApiException
      Move file
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • moveFileAsync

      public com.squareup.okhttp.Call moveFileAsync(MoveFileRequest request, ApiCallback<Void> callback) throws ApiException
      Move file (asynchronously)
      Parameters:
      request - MoveFile request with main agrs
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • uploadFile

      public FilesUploadResult uploadFile(UploadFileRequest request) throws ApiException
      Upload file request UploadFile request with main agrs
      Returns:
      FilesUploadResult
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • uploadFileAsync

      public com.squareup.okhttp.Call uploadFileAsync(UploadFileRequest request, ApiCallback<FilesUploadResult> callback) throws ApiException
      Upload file (asynchronously)
      Parameters:
      request - UploadFile request with main agrs
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • copyFolder

      public void copyFolder(CopyFolderRequest request) throws ApiException
      Copy folder
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • copyFolderAsync

      public com.squareup.okhttp.Call copyFolderAsync(CopyFolderRequest request, ApiCallback<Void> callback) throws ApiException
      Copy folder (asynchronously)
      Parameters:
      request - CopyFolder request with main agrs
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • createFolder

      public void createFolder(CreateFolderRequest request) throws ApiException
      Create the folder
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • createFolderAsync

      public com.squareup.okhttp.Call createFolderAsync(CreateFolderRequest request, ApiCallback<Void> callback) throws ApiException
      Create the folder (asynchronously)
      Parameters:
      request - CreateFolder request with main agrs
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • deleteFolder

      public void deleteFolder(DeleteFolderRequest request) throws ApiException
      Delete folder
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • deleteFolderAsync

      public com.squareup.okhttp.Call deleteFolderAsync(DeleteFolderRequest request, ApiCallback<Void> callback) throws ApiException
      Delete folder (asynchronously)
      Parameters:
      request - DeleteFolder request with main agrs
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • getFilesList

      public FilesList getFilesList(GetFilesListRequest request) throws ApiException
      Get all files and folders within a folder request GetFilesList request with main agrs
      Returns:
      FilesList
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getFilesListAsync

      public com.squareup.okhttp.Call getFilesListAsync(GetFilesListRequest request, ApiCallback<FilesList> callback) throws ApiException
      Get all files and folders within a folder (asynchronously)
      Parameters:
      request - GetFilesList request with main agrs
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • moveFolder

      public void moveFolder(MoveFolderRequest request) throws ApiException
      Move folder
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • moveFolderAsync

      public com.squareup.okhttp.Call moveFolderAsync(MoveFolderRequest request, ApiCallback<Void> callback) throws ApiException
      Move folder (asynchronously)
      Parameters:
      request - MoveFolder request with main agrs
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • getDiscUsage

      public DiscUsage getDiscUsage(GetDiscUsageRequest request) throws ApiException
      Get disc usage request GetDiscUsage request with main agrs
      Returns:
      DiscUsage
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getDiscUsageAsync

      public com.squareup.okhttp.Call getDiscUsageAsync(GetDiscUsageRequest request, ApiCallback<DiscUsage> callback) throws ApiException
      Get disc usage (asynchronously)
      Parameters:
      request - GetDiscUsage request with main agrs
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • getFileVersions

      public FileVersions getFileVersions(GetFileVersionsRequest request) throws ApiException
      Get file versions request GetFileVersions request with main agrs
      Returns:
      FileVersions
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getFileVersionsAsync

      public com.squareup.okhttp.Call getFileVersionsAsync(GetFileVersionsRequest request, ApiCallback<FileVersions> callback) throws ApiException
      Get file versions (asynchronously)
      Parameters:
      request - GetFileVersions request with main agrs
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • objectExists

      public ObjectExist objectExists(ObjectExistsRequest request) throws ApiException
      Check if file or folder exists request ObjectExists request with main agrs
      Returns:
      ObjectExist
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • objectExistsAsync

      public com.squareup.okhttp.Call objectExistsAsync(ObjectExistsRequest request, ApiCallback<ObjectExist> callback) throws ApiException
      Check if file or folder exists (asynchronously)
      Parameters:
      request - ObjectExists request with main agrs
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • storageExists

      public StorageExist storageExists(StorageExistsRequest request) throws ApiException
      Check if storage exists request StorageExists request with main agrs
      Returns:
      StorageExist
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • storageExistsAsync

      public com.squareup.okhttp.Call storageExistsAsync(StorageExistsRequest request, ApiCallback<StorageExist> callback) throws ApiException
      Check if storage exists (asynchronously)
      Parameters:
      request - StorageExists request with main agrs
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • deleteAssignment

      public AsposeResponse deleteAssignment(DeleteAssignmentRequest request) throws ApiException
      Deletes a project assignment with all references to it. request DeleteAssignment request with main agrs
      Returns:
      AsposeResponse
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • deleteAssignmentAsync

      public com.squareup.okhttp.Call deleteAssignmentAsync(DeleteAssignmentRequest request, ApiCallback<AsposeResponse> callback) throws ApiException
      Deletes a project assignment with all references to it. (asynchronously)
      Parameters:
      request - DeleteAssignment request with main agrs
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • getAssignment

      public AssignmentResponse getAssignment(GetAssignmentRequest request) throws ApiException
      Read project assignment with the specified Uid. request GetAssignment request with main agrs
      Returns:
      AssignmentResponse
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getAssignmentAsync

      public com.squareup.okhttp.Call getAssignmentAsync(GetAssignmentRequest request, ApiCallback<AssignmentResponse> callback) throws ApiException
      Read project assignment with the specified Uid. (asynchronously)
      Parameters:
      request - GetAssignment request with main agrs
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • getAssignmentTimephasedData

      public TimephasedDataResponse getAssignmentTimephasedData(GetAssignmentTimephasedDataRequest request) throws ApiException
      Get timescaled data for an assignment with the specified Uid. request GetAssignmentTimephasedData request with main agrs
      Returns:
      TimephasedDataResponse
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getAssignmentTimephasedDataAsync

      public com.squareup.okhttp.Call getAssignmentTimephasedDataAsync(GetAssignmentTimephasedDataRequest request, ApiCallback<TimephasedDataResponse> callback) throws ApiException
      Get timescaled data for an assignment with the specified Uid. (asynchronously)
      Parameters:
      request - GetAssignmentTimephasedData request with main agrs
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • getAssignments

      public AssignmentItemsResponse getAssignments(GetAssignmentsRequest request) throws ApiException
      Get project's assignment items. request GetAssignments request with main agrs
      Returns:
      AssignmentItemsResponse
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getAssignmentsAsync

      public com.squareup.okhttp.Call getAssignmentsAsync(GetAssignmentsRequest request, ApiCallback<AssignmentItemsResponse> callback) throws ApiException
      Get project's assignment items. (asynchronously)
      Parameters:
      request - GetAssignments request with main agrs
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • postAssignment

      public AssignmentItemResponse postAssignment(PostAssignmentRequest request) throws ApiException
      Adds a new assignment to a project and returns assignment item in a response. request PostAssignment request with main agrs
      Returns:
      AssignmentItemResponse
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • postAssignmentAsync

      public com.squareup.okhttp.Call postAssignmentAsync(PostAssignmentRequest request, ApiCallback<AssignmentItemResponse> callback) throws ApiException
      Adds a new assignment to a project and returns assignment item in a response. (asynchronously)
      Parameters:
      request - PostAssignment request with main agrs
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • putAssignment

      public AssignmentResponse putAssignment(PutAssignmentRequest request) throws ApiException
      Updates resources assignment with the specified Uid. request PutAssignment request with main agrs
      Returns:
      AssignmentResponse
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • putAssignmentAsync

      public com.squareup.okhttp.Call putAssignmentAsync(PutAssignmentRequest request, ApiCallback<AssignmentResponse> callback) throws ApiException
      Updates resources assignment with the specified Uid. (asynchronously)
      Parameters:
      request - PutAssignment request with main agrs
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • deleteCalendar

      public AsposeResponse deleteCalendar(DeleteCalendarRequest request) throws ApiException
      Deletes a project calendar request DeleteCalendar request with main agrs
      Returns:
      AsposeResponse
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • deleteCalendarAsync

      public com.squareup.okhttp.Call deleteCalendarAsync(DeleteCalendarRequest request, ApiCallback<AsposeResponse> callback) throws ApiException
      Deletes a project calendar (asynchronously)
      Parameters:
      request - DeleteCalendar request with main agrs
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • deleteCalendarException

      public AsposeResponse deleteCalendarException(DeleteCalendarExceptionRequest request) throws ApiException
      Deletes calendar exception from calendar exceptions collection. request DeleteCalendarException request with main agrs
      Returns:
      AsposeResponse
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • deleteCalendarExceptionAsync

      public com.squareup.okhttp.Call deleteCalendarExceptionAsync(DeleteCalendarExceptionRequest request, ApiCallback<AsposeResponse> callback) throws ApiException
      Deletes calendar exception from calendar exceptions collection. (asynchronously)
      Parameters:
      request - DeleteCalendarException request with main agrs
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • getCalendar

      public CalendarResponse getCalendar(GetCalendarRequest request) throws ApiException
      Get a project's calendar with the specified Uid. request GetCalendar request with main agrs
      Returns:
      CalendarResponse
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getCalendarAsync

      public com.squareup.okhttp.Call getCalendarAsync(GetCalendarRequest request, ApiCallback<CalendarResponse> callback) throws ApiException
      Get a project's calendar with the specified Uid. (asynchronously)
      Parameters:
      request - GetCalendar request with main agrs
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • getCalendarExceptions

      public CalendarExceptionsResponse getCalendarExceptions(GetCalendarExceptionsRequest request) throws ApiException
      Get a list of calendar's exceptions. request GetCalendarExceptions request with main agrs
      Returns:
      CalendarExceptionsResponse
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getCalendarExceptionsAsync

      public com.squareup.okhttp.Call getCalendarExceptionsAsync(GetCalendarExceptionsRequest request, ApiCallback<CalendarExceptionsResponse> callback) throws ApiException
      Get a list of calendar's exceptions. (asynchronously)
      Parameters:
      request - GetCalendarExceptions request with main agrs
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • getCalendarWorkWeeks

      public CalendarWorkWeeksResponse getCalendarWorkWeeks(GetCalendarWorkWeeksRequest request) throws ApiException
      Gets the collection of work weeks of the specified calendar. request GetCalendarWorkWeeks request with main agrs
      Returns:
      CalendarWorkWeeksResponse
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getCalendarWorkWeeksAsync

      public com.squareup.okhttp.Call getCalendarWorkWeeksAsync(GetCalendarWorkWeeksRequest request, ApiCallback<CalendarWorkWeeksResponse> callback) throws ApiException
      Gets the collection of work weeks of the specified calendar. (asynchronously)
      Parameters:
      request - GetCalendarWorkWeeks request with main agrs
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • getCalendars

      public CalendarItemsResponse getCalendars(GetCalendarsRequest request) throws ApiException
      Read project calendar items. request GetCalendars request with main agrs
      Returns:
      CalendarItemsResponse
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getCalendarsAsync

      public com.squareup.okhttp.Call getCalendarsAsync(GetCalendarsRequest request, ApiCallback<CalendarItemsResponse> callback) throws ApiException
      Read project calendar items. (asynchronously)
      Parameters:
      request - GetCalendars request with main agrs
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • postCalendar

      public CalendarItemResponse postCalendar(PostCalendarRequest request) throws ApiException
      Adds a new calendar to project file. request PostCalendar request with main agrs
      Returns:
      CalendarItemResponse
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • postCalendarAsync

      public com.squareup.okhttp.Call postCalendarAsync(PostCalendarRequest request, ApiCallback<CalendarItemResponse> callback) throws ApiException
      Adds a new calendar to project file. (asynchronously)
      Parameters:
      request - PostCalendar request with main agrs
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • postCalendarException

      public AsposeResponse postCalendarException(PostCalendarExceptionRequest request) throws ApiException
      Adds a new calendar exception to a calendar. request PostCalendarException request with main agrs
      Returns:
      AsposeResponse
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • postCalendarExceptionAsync

      public com.squareup.okhttp.Call postCalendarExceptionAsync(PostCalendarExceptionRequest request, ApiCallback<AsposeResponse> callback) throws ApiException
      Adds a new calendar exception to a calendar. (asynchronously)
      Parameters:
      request - PostCalendarException request with main agrs
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • putCalendar

      public AsposeResponse putCalendar(PutCalendarRequest request) throws ApiException
      Edits an existing project calendar. request PutCalendar request with main agrs
      Returns:
      AsposeResponse
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • putCalendarAsync

      public com.squareup.okhttp.Call putCalendarAsync(PutCalendarRequest request, ApiCallback<AsposeResponse> callback) throws ApiException
      Edits an existing project calendar. (asynchronously)
      Parameters:
      request - PutCalendar request with main agrs
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • putCalendarException

      public AsposeResponse putCalendarException(PutCalendarExceptionRequest request) throws ApiException
      Updates calendar exception. request PutCalendarException request with main agrs
      Returns:
      AsposeResponse
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • putCalendarExceptionAsync

      public com.squareup.okhttp.Call putCalendarExceptionAsync(PutCalendarExceptionRequest request, ApiCallback<AsposeResponse> callback) throws ApiException
      Updates calendar exception. (asynchronously)
      Parameters:
      request - PutCalendarException request with main agrs
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • getCriticalPath

      public TaskItemsResponse getCriticalPath(GetCriticalPathRequest request) throws ApiException
      Returns the list of the tasks which must be completed on time for a project to finish on schedule. Each task of the project is represented as a task item here, which is light-weighted task representation of the project task.. request GetCriticalPath request with main agrs
      Returns:
      TaskItemsResponse
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getCriticalPathAsync

      public com.squareup.okhttp.Call getCriticalPathAsync(GetCriticalPathRequest request, ApiCallback<TaskItemsResponse> callback) throws ApiException
      Returns the list of the tasks which must be completed on time for a project to finish on schedule. Each task of the project is represented as a task item here, which is light-weighted task representation of the project task.. (asynchronously)
      Parameters:
      request - GetCriticalPath request with main agrs
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • getPageCount

      public PageCountResponse getPageCount(GetPageCountRequest request) throws ApiException
      Returns page count for the project to be rendered using given Timescale and PresentationFormat or specified PageSize. request GetPageCount request with main agrs
      Returns:
      PageCountResponse
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getPageCountAsync

      public com.squareup.okhttp.Call getPageCountAsync(GetPageCountRequest request, ApiCallback<PageCountResponse> callback) throws ApiException
      Returns page count for the project to be rendered using given Timescale and PresentationFormat or specified PageSize. (asynchronously)
      Parameters:
      request - GetPageCount request with main agrs
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • getProjectIds

      public ProjectIdsResponse getProjectIds(GetProjectIdsRequest request) throws ApiException
      Get Uids of projects contained in the file. request GetProjectIds request with main agrs
      Returns:
      ProjectIdsResponse
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getProjectIdsAsync

      public com.squareup.okhttp.Call getProjectIdsAsync(GetProjectIdsRequest request, ApiCallback<ProjectIdsResponse> callback) throws ApiException
      Get Uids of projects contained in the file. (asynchronously)
      Parameters:
      request - GetProjectIds request with main agrs
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • getTaskDocument

      public File getTaskDocument(GetTaskDocumentRequest request) throws ApiException
      Get a project document. request GetTaskDocument request with main agrs
      Returns:
      File
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getTaskDocumentAsync

      public com.squareup.okhttp.Call getTaskDocumentAsync(GetTaskDocumentRequest request, ApiCallback<File> callback) throws ApiException
      Get a project document. (asynchronously)
      Parameters:
      request - GetTaskDocument request with main agrs
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • getTaskDocumentWithFormat

      public File getTaskDocumentWithFormat(GetTaskDocumentWithFormatRequest request) throws ApiException
      Get a project document in the specified format request GetTaskDocumentWithFormat request with main agrs
      Returns:
      File
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getTaskDocumentWithFormatAsync

      public com.squareup.okhttp.Call getTaskDocumentWithFormatAsync(GetTaskDocumentWithFormatRequest request, ApiCallback<File> callback) throws ApiException
      Get a project document in the specified format (asynchronously)
      Parameters:
      request - GetTaskDocumentWithFormat request with main agrs
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • putImportProjectFromDb

      public AsposeResponse putImportProjectFromDb(PutImportProjectFromDbRequest request) throws ApiException
      Imports project from database with the specified connection string and saves it to specified file with the specified format. request PutImportProjectFromDb request with main agrs
      Returns:
      AsposeResponse
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • putImportProjectFromDbAsync

      public com.squareup.okhttp.Call putImportProjectFromDbAsync(PutImportProjectFromDbRequest request, ApiCallback<AsposeResponse> callback) throws ApiException
      Imports project from database with the specified connection string and saves it to specified file with the specified format. (asynchronously)
      Parameters:
      request - PutImportProjectFromDb request with main agrs
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • putImportProjectFromFile

      public AsposeResponse putImportProjectFromFile(PutImportProjectFromFileRequest request) throws ApiException
      Imports project from primavera db formats (Primavera SQLite .db or Primavera xml) and saves it to specified file with the specified format. request PutImportProjectFromFile request with main agrs
      Returns:
      AsposeResponse
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • putImportProjectFromFileAsync

      public com.squareup.okhttp.Call putImportProjectFromFileAsync(PutImportProjectFromFileRequest request, ApiCallback<AsposeResponse> callback) throws ApiException
      Imports project from primavera db formats (Primavera SQLite .db or Primavera xml) and saves it to specified file with the specified format. (asynchronously)
      Parameters:
      request - PutImportProjectFromFile request with main agrs
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • putImportProjectFromProjectOnline

      public AsposeResponse putImportProjectFromProjectOnline(PutImportProjectFromProjectOnlineRequest request) throws ApiException
      Imports project from Project Online and saves it to specified file. request PutImportProjectFromProjectOnline request with main agrs
      Returns:
      AsposeResponse
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • putImportProjectFromProjectOnlineAsync

      public com.squareup.okhttp.Call putImportProjectFromProjectOnlineAsync(PutImportProjectFromProjectOnlineRequest request, ApiCallback<AsposeResponse> callback) throws ApiException
      Imports project from Project Online and saves it to specified file. (asynchronously)
      Parameters:
      request - PutImportProjectFromProjectOnline request with main agrs
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • getDocumentProperties

      public DocumentPropertiesResponse getDocumentProperties(GetDocumentPropertiesRequest request) throws ApiException
      Get a collection of a project's document properties. request GetDocumentProperties request with main agrs
      Returns:
      DocumentPropertiesResponse
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getDocumentPropertiesAsync

      public com.squareup.okhttp.Call getDocumentPropertiesAsync(GetDocumentPropertiesRequest request, ApiCallback<DocumentPropertiesResponse> callback) throws ApiException
      Get a collection of a project's document properties. (asynchronously)
      Parameters:
      request - GetDocumentProperties request with main agrs
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • getDocumentProperty

      public DocumentPropertyResponse getDocumentProperty(GetDocumentPropertyRequest request) throws ApiException
      Get a document property by name. request GetDocumentProperty request with main agrs
      Returns:
      DocumentPropertyResponse
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getDocumentPropertyAsync

      public com.squareup.okhttp.Call getDocumentPropertyAsync(GetDocumentPropertyRequest request, ApiCallback<DocumentPropertyResponse> callback) throws ApiException
      Get a document property by name. (asynchronously)
      Parameters:
      request - GetDocumentProperty request with main agrs
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • postDocumentProperty

      public DocumentPropertyResponse postDocumentProperty(PostDocumentPropertyRequest request) throws ApiException
      Set/create document property. request PostDocumentProperty request with main agrs
      Returns:
      DocumentPropertyResponse
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • postDocumentPropertyAsync

      public com.squareup.okhttp.Call postDocumentPropertyAsync(PostDocumentPropertyRequest request, ApiCallback<DocumentPropertyResponse> callback) throws ApiException
      Set/create document property. (asynchronously)
      Parameters:
      request - PostDocumentProperty request with main agrs
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • putDocumentProperty

      public DocumentPropertyResponse putDocumentProperty(PutDocumentPropertyRequest request) throws ApiException
      Set/create document property. request PutDocumentProperty request with main agrs
      Returns:
      DocumentPropertyResponse
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • putDocumentPropertyAsync

      public com.squareup.okhttp.Call putDocumentPropertyAsync(PutDocumentPropertyRequest request, ApiCallback<DocumentPropertyResponse> callback) throws ApiException
      Set/create document property. (asynchronously)
      Parameters:
      request - PutDocumentProperty request with main agrs
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • deleteExtendedAttributeByIndex

      public AsposeResponse deleteExtendedAttributeByIndex(DeleteExtendedAttributeByIndexRequest request) throws ApiException
      Delete a project extended attribute. request DeleteExtendedAttributeByIndex request with main agrs
      Returns:
      AsposeResponse
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • deleteExtendedAttributeByIndexAsync

      public com.squareup.okhttp.Call deleteExtendedAttributeByIndexAsync(DeleteExtendedAttributeByIndexRequest request, ApiCallback<AsposeResponse> callback) throws ApiException
      Delete a project extended attribute. (asynchronously)
      Parameters:
      request - DeleteExtendedAttributeByIndex request with main agrs
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • getExtendedAttributeByIndex

      public ExtendedAttributeResponse getExtendedAttributeByIndex(GetExtendedAttributeByIndexRequest request) throws ApiException
      Get a project extended attribute definition with the specified index. request GetExtendedAttributeByIndex request with main agrs
      Returns:
      ExtendedAttributeResponse
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getExtendedAttributeByIndexAsync

      public com.squareup.okhttp.Call getExtendedAttributeByIndexAsync(GetExtendedAttributeByIndexRequest request, ApiCallback<ExtendedAttributeResponse> callback) throws ApiException
      Get a project extended attribute definition with the specified index. (asynchronously)
      Parameters:
      request - GetExtendedAttributeByIndex request with main agrs
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • getExtendedAttributes

      public ExtendedAttributeItemsResponse getExtendedAttributes(GetExtendedAttributesRequest request) throws ApiException
      Get a project's extended attributes. request GetExtendedAttributes request with main agrs
      Returns:
      ExtendedAttributeItemsResponse
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getExtendedAttributesAsync

      public com.squareup.okhttp.Call getExtendedAttributesAsync(GetExtendedAttributesRequest request, ApiCallback<ExtendedAttributeItemsResponse> callback) throws ApiException
      Get a project's extended attributes. (asynchronously)
      Parameters:
      request - GetExtendedAttributes request with main agrs
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • putExtendedAttribute

      public ExtendedAttributeItemResponse putExtendedAttribute(PutExtendedAttributeRequest request) throws ApiException
      Add a new extended attribute definition to a project or updates existing attribute definition (with the same FieldId). request PutExtendedAttribute request with main agrs
      Returns:
      ExtendedAttributeItemResponse
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • putExtendedAttributeAsync

      public com.squareup.okhttp.Call putExtendedAttributeAsync(PutExtendedAttributeRequest request, ApiCallback<ExtendedAttributeItemResponse> callback) throws ApiException
      Add a new extended attribute definition to a project or updates existing attribute definition (with the same FieldId). (asynchronously)
      Parameters:
      request - PutExtendedAttribute request with main agrs
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • deleteOutlineCodeByIndex

      public AsposeResponse deleteOutlineCodeByIndex(DeleteOutlineCodeByIndexRequest request) throws ApiException
      Deletes a project outline code request DeleteOutlineCodeByIndex request with main agrs
      Returns:
      AsposeResponse
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • deleteOutlineCodeByIndexAsync

      public com.squareup.okhttp.Call deleteOutlineCodeByIndexAsync(DeleteOutlineCodeByIndexRequest request, ApiCallback<AsposeResponse> callback) throws ApiException
      Deletes a project outline code (asynchronously)
      Parameters:
      request - DeleteOutlineCodeByIndex request with main agrs
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • getOutlineCodeByIndex

      public OutlineCodeResponse getOutlineCodeByIndex(GetOutlineCodeByIndexRequest request) throws ApiException
      Get outline code by index. request GetOutlineCodeByIndex request with main agrs
      Returns:
      OutlineCodeResponse
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getOutlineCodeByIndexAsync

      public com.squareup.okhttp.Call getOutlineCodeByIndexAsync(GetOutlineCodeByIndexRequest request, ApiCallback<OutlineCodeResponse> callback) throws ApiException
      Get outline code by index. (asynchronously)
      Parameters:
      request - GetOutlineCodeByIndex request with main agrs
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • getOutlineCodes

      public OutlineCodeItemsResponse getOutlineCodes(GetOutlineCodesRequest request) throws ApiException
      Get a project's outline codes. request GetOutlineCodes request with main agrs
      Returns:
      OutlineCodeItemsResponse
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getOutlineCodesAsync

      public com.squareup.okhttp.Call getOutlineCodesAsync(GetOutlineCodesRequest request, ApiCallback<OutlineCodeItemsResponse> callback) throws ApiException
      Get a project's outline codes. (asynchronously)
      Parameters:
      request - GetOutlineCodes request with main agrs
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • createNewProject

      public AsposeResponse createNewProject(CreateNewProjectRequest request) throws ApiException
      Creates new project in Project Server\\Project Online instance. request CreateNewProject request with main agrs
      Returns:
      AsposeResponse
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • createNewProjectAsync

      public com.squareup.okhttp.Call createNewProjectAsync(CreateNewProjectRequest request, ApiCallback<AsposeResponse> callback) throws ApiException
      Creates new project in Project Server\\Project Online instance. (asynchronously)
      Parameters:
      request - CreateNewProject request with main agrs
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • getProjectList

      public ProjectListResponse getProjectList(GetProjectListRequest request) throws ApiException
      Gets the list of published projects in the current Project Online account. request GetProjectList request with main agrs
      Returns:
      ProjectListResponse
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getProjectListAsync

      public com.squareup.okhttp.Call getProjectListAsync(GetProjectListRequest request, ApiCallback<ProjectListResponse> callback) throws ApiException
      Gets the list of published projects in the current Project Online account. (asynchronously)
      Parameters:
      request - GetProjectList request with main agrs
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • updateProject

      public AsposeResponse updateProject(UpdateProjectRequest request) throws ApiException
      Updates existing project in Project Server\\Project Online instance. The existing project will be overwritten. request UpdateProject request with main agrs
      Returns:
      AsposeResponse
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • updateProjectAsync

      public com.squareup.okhttp.Call updateProjectAsync(UpdateProjectRequest request, ApiCallback<AsposeResponse> callback) throws ApiException
      Updates existing project in Project Server\\Project Online instance. The existing project will be overwritten. (asynchronously)
      Parameters:
      request - UpdateProject request with main agrs
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • putRecalculateProject

      public ProjectRecalculateResponse putRecalculateProject(PutRecalculateProjectRequest request) throws ApiException
      Reschedules all project tasks ids, outline levels, start/finish dates, sets early/late dates, calculates slacks, work and cost fields. request PutRecalculateProject request with main agrs
      Returns:
      ProjectRecalculateResponse
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • putRecalculateProjectAsync

      public com.squareup.okhttp.Call putRecalculateProjectAsync(PutRecalculateProjectRequest request, ApiCallback<ProjectRecalculateResponse> callback) throws ApiException
      Reschedules all project tasks ids, outline levels, start/finish dates, sets early/late dates, calculates slacks, work and cost fields. (asynchronously)
      Parameters:
      request - PutRecalculateProject request with main agrs
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • putRecalculateProjectResourceFields

      public AsposeResponse putRecalculateProjectResourceFields(PutRecalculateProjectResourceFieldsRequest request) throws ApiException
      Recalculate project resource fields request PutRecalculateProjectResourceFields request with main agrs
      Returns:
      AsposeResponse
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • putRecalculateProjectResourceFieldsAsync

      public com.squareup.okhttp.Call putRecalculateProjectResourceFieldsAsync(PutRecalculateProjectResourceFieldsRequest request, ApiCallback<AsposeResponse> callback) throws ApiException
      Recalculate project resource fields (asynchronously)
      Parameters:
      request - PutRecalculateProjectResourceFields request with main agrs
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • putRecalculateProjectUncompleteWorkToStartAfter

      public AsposeResponse putRecalculateProjectUncompleteWorkToStartAfter(PutRecalculateProjectUncompleteWorkToStartAfterRequest request) throws ApiException
      Recalculate project uncomplete work request PutRecalculateProjectUncompleteWorkToStartAfter request with main agrs
      Returns:
      AsposeResponse
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • putRecalculateProjectUncompleteWorkToStartAfterAsync

      public com.squareup.okhttp.Call putRecalculateProjectUncompleteWorkToStartAfterAsync(PutRecalculateProjectUncompleteWorkToStartAfterRequest request, ApiCallback<AsposeResponse> callback) throws ApiException
      Recalculate project uncomplete work (asynchronously)
      Parameters:
      request - PutRecalculateProjectUncompleteWorkToStartAfter request with main agrs
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • putRecalculateProjectWorkAsComplete

      public AsposeResponse putRecalculateProjectWorkAsComplete(PutRecalculateProjectWorkAsCompleteRequest request) throws ApiException
      Recalculate project work as complete request PutRecalculateProjectWorkAsComplete request with main agrs
      Returns:
      AsposeResponse
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • putRecalculateProjectWorkAsCompleteAsync

      public com.squareup.okhttp.Call putRecalculateProjectWorkAsCompleteAsync(PutRecalculateProjectWorkAsCompleteRequest request, ApiCallback<AsposeResponse> callback) throws ApiException
      Recalculate project work as complete (asynchronously)
      Parameters:
      request - PutRecalculateProjectWorkAsComplete request with main agrs
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • getReportPdf

      public File getReportPdf(GetReportPdfRequest request) throws ApiException
      Returns created report in PDF format. request GetReportPdf request with main agrs
      Returns:
      File
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getReportPdfAsync

      public com.squareup.okhttp.Call getReportPdfAsync(GetReportPdfRequest request, ApiCallback<File> callback) throws ApiException
      Returns created report in PDF format. (asynchronously)
      Parameters:
      request - GetReportPdf request with main agrs
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • deleteResource

      public AsposeResponse deleteResource(DeleteResourceRequest request) throws ApiException
      Deletes a project resource with all references to it request DeleteResource request with main agrs
      Returns:
      AsposeResponse
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • deleteResourceAsync

      public com.squareup.okhttp.Call deleteResourceAsync(DeleteResourceRequest request, ApiCallback<AsposeResponse> callback) throws ApiException
      Deletes a project resource with all references to it (asynchronously)
      Parameters:
      request - DeleteResource request with main agrs
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • getResource

      public ResourceResponse getResource(GetResourceRequest request) throws ApiException
      Get project resource. request GetResource request with main agrs
      Returns:
      ResourceResponse
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getResourceAsync

      public com.squareup.okhttp.Call getResourceAsync(GetResourceRequest request, ApiCallback<ResourceResponse> callback) throws ApiException
      Get project resource. (asynchronously)
      Parameters:
      request - GetResource request with main agrs
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • getResourceAssignments

      public AssignmentsResponse getResourceAssignments(GetResourceAssignmentsRequest request) throws ApiException
      Get resource's assignments. request GetResourceAssignments request with main agrs
      Returns:
      AssignmentsResponse
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getResourceAssignmentsAsync

      public com.squareup.okhttp.Call getResourceAssignmentsAsync(GetResourceAssignmentsRequest request, ApiCallback<AssignmentsResponse> callback) throws ApiException
      Get resource's assignments. (asynchronously)
      Parameters:
      request - GetResourceAssignments request with main agrs
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • getResourceTimephasedData

      public TimephasedDataResponse getResourceTimephasedData(GetResourceTimephasedDataRequest request) throws ApiException
      Get timescaled data for a resource with the specified Uid. request GetResourceTimephasedData request with main agrs
      Returns:
      TimephasedDataResponse
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getResourceTimephasedDataAsync

      public com.squareup.okhttp.Call getResourceTimephasedDataAsync(GetResourceTimephasedDataRequest request, ApiCallback<TimephasedDataResponse> callback) throws ApiException
      Get timescaled data for a resource with the specified Uid. (asynchronously)
      Parameters:
      request - GetResourceTimephasedData request with main agrs
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • getResources

      public ResourceItemsResponse getResources(GetResourcesRequest request) throws ApiException
      Get a project's resources. request GetResources request with main agrs
      Returns:
      ResourceItemsResponse
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getResourcesAsync

      public com.squareup.okhttp.Call getResourcesAsync(GetResourcesRequest request, ApiCallback<ResourceItemsResponse> callback) throws ApiException
      Get a project's resources. (asynchronously)
      Parameters:
      request - GetResources request with main agrs
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • postResource

      public ResourceItemResponse postResource(PostResourceRequest request) throws ApiException
      Add a new resource to a project. request PostResource request with main agrs
      Returns:
      ResourceItemResponse
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • postResourceAsync

      public com.squareup.okhttp.Call postResourceAsync(PostResourceRequest request, ApiCallback<ResourceItemResponse> callback) throws ApiException
      Add a new resource to a project. (asynchronously)
      Parameters:
      request - PostResource request with main agrs
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • putResource

      public ResourceResponse putResource(PutResourceRequest request) throws ApiException
      Updates resource with the specified Uid request PutResource request with main agrs
      Returns:
      ResourceResponse
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • putResourceAsync

      public com.squareup.okhttp.Call putResourceAsync(PutResourceRequest request, ApiCallback<ResourceResponse> callback) throws ApiException
      Updates resource with the specified Uid (asynchronously)
      Parameters:
      request - PutResource request with main agrs
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • getRiskAnalysisReport

      public File getRiskAnalysisReport(GetRiskAnalysisReportRequest request) throws ApiException
      Performs a risk analysys using Monte Carlo simulation and creates a risk analysis report. request GetRiskAnalysisReport request with main agrs
      Returns:
      File
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getRiskAnalysisReportAsync

      public com.squareup.okhttp.Call getRiskAnalysisReportAsync(GetRiskAnalysisReportRequest request, ApiCallback<File> callback) throws ApiException
      Performs a risk analysys using Monte Carlo simulation and creates a risk analysis report. (asynchronously)
      Parameters:
      request - GetRiskAnalysisReport request with main agrs
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • deleteTask

      public AsposeResponse deleteTask(DeleteTaskRequest request) throws ApiException
      Deletes a project task with all references to it and rebuilds tasks tree. request DeleteTask request with main agrs
      Returns:
      AsposeResponse
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • deleteTaskAsync

      public com.squareup.okhttp.Call deleteTaskAsync(DeleteTaskRequest request, ApiCallback<AsposeResponse> callback) throws ApiException
      Deletes a project task with all references to it and rebuilds tasks tree. (asynchronously)
      Parameters:
      request - DeleteTask request with main agrs
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • getPrimaveraTaskProperties

      public PrimaveraTaskPropertiesResponse getPrimaveraTaskProperties(GetPrimaveraTaskPropertiesRequest request) throws ApiException
      Get primavera properties for a task with the specified Uid. request GetPrimaveraTaskProperties request with main agrs
      Returns:
      PrimaveraTaskPropertiesResponse
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getPrimaveraTaskPropertiesAsync

      public com.squareup.okhttp.Call getPrimaveraTaskPropertiesAsync(GetPrimaveraTaskPropertiesRequest request, ApiCallback<PrimaveraTaskPropertiesResponse> callback) throws ApiException
      Get primavera properties for a task with the specified Uid. (asynchronously)
      Parameters:
      request - GetPrimaveraTaskProperties request with main agrs
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • getTask

      public TaskResponse getTask(GetTaskRequest request) throws ApiException
      Read project task. request GetTask request with main agrs
      Returns:
      TaskResponse
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getTaskAsync

      public com.squareup.okhttp.Call getTaskAsync(GetTaskRequest request, ApiCallback<TaskResponse> callback) throws ApiException
      Read project task. (asynchronously)
      Parameters:
      request - GetTask request with main agrs
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • getTaskAssignments

      public AssignmentsResponse getTaskAssignments(GetTaskAssignmentsRequest request) throws ApiException
      Get task assignments. request GetTaskAssignments request with main agrs
      Returns:
      AssignmentsResponse
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getTaskAssignmentsAsync

      public com.squareup.okhttp.Call getTaskAssignmentsAsync(GetTaskAssignmentsRequest request, ApiCallback<AssignmentsResponse> callback) throws ApiException
      Get task assignments. (asynchronously)
      Parameters:
      request - GetTaskAssignments request with main agrs
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • getTaskRecurringInfo

      public RecurringInfoResponse getTaskRecurringInfo(GetTaskRecurringInfoRequest request) throws ApiException
      Get recurring info for a task with the specified Uid request GetTaskRecurringInfo request with main agrs
      Returns:
      RecurringInfoResponse
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getTaskRecurringInfoAsync

      public com.squareup.okhttp.Call getTaskRecurringInfoAsync(GetTaskRecurringInfoRequest request, ApiCallback<RecurringInfoResponse> callback) throws ApiException
      Get recurring info for a task with the specified Uid (asynchronously)
      Parameters:
      request - GetTaskRecurringInfo request with main agrs
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • getTaskTimephasedData

      public TimephasedDataResponse getTaskTimephasedData(GetTaskTimephasedDataRequest request) throws ApiException
      Get timescaled data for a task with the specified Uid. request GetTaskTimephasedData request with main agrs
      Returns:
      TimephasedDataResponse
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getTaskTimephasedDataAsync

      public com.squareup.okhttp.Call getTaskTimephasedDataAsync(GetTaskTimephasedDataRequest request, ApiCallback<TimephasedDataResponse> callback) throws ApiException
      Get timescaled data for a task with the specified Uid. (asynchronously)
      Parameters:
      request - GetTaskTimephasedData request with main agrs
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • getTasks

      public TaskItemsResponse getTasks(GetTasksRequest request) throws ApiException
      Get a project's tasks. request GetTasks request with main agrs
      Returns:
      TaskItemsResponse
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getTasksAsync

      public com.squareup.okhttp.Call getTasksAsync(GetTasksRequest request, ApiCallback<TaskItemsResponse> callback) throws ApiException
      Get a project's tasks. (asynchronously)
      Parameters:
      request - GetTasks request with main agrs
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • postTask

      public TaskItemResponse postTask(PostTaskRequest request) throws ApiException
      Add a new task to a project. request PostTask request with main agrs
      Returns:
      TaskItemResponse
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • postTaskAsync

      public com.squareup.okhttp.Call postTaskAsync(PostTaskRequest request, ApiCallback<TaskItemResponse> callback) throws ApiException
      Add a new task to a project. (asynchronously)
      Parameters:
      request - PostTask request with main agrs
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • postTaskRecurringInfo

      public TaskItemResponse postTaskRecurringInfo(PostTaskRecurringInfoRequest request) throws ApiException
      Adds a new recurring task. request PostTaskRecurringInfo request with main agrs
      Returns:
      TaskItemResponse
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • postTaskRecurringInfoAsync

      public com.squareup.okhttp.Call postTaskRecurringInfoAsync(PostTaskRecurringInfoRequest request, ApiCallback<TaskItemResponse> callback) throws ApiException
      Adds a new recurring task. (asynchronously)
      Parameters:
      request - PostTaskRecurringInfo request with main agrs
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • postTasks

      public TaskItemsResponse postTasks(PostTasksRequest request) throws ApiException
      Create multiple tasks by single request. request PostTasks request with main agrs
      Returns:
      TaskItemsResponse
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • postTasksAsync

      public com.squareup.okhttp.Call postTasksAsync(PostTasksRequest request, ApiCallback<TaskItemsResponse> callback) throws ApiException
      Create multiple tasks by single request. (asynchronously)
      Parameters:
      request - PostTasks request with main agrs
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • putMoveTask

      public AsposeResponse putMoveTask(PutMoveTaskRequest request) throws ApiException
      Move one task to another parent task. request PutMoveTask request with main agrs
      Returns:
      AsposeResponse
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • putMoveTaskAsync

      public com.squareup.okhttp.Call putMoveTaskAsync(PutMoveTaskRequest request, ApiCallback<AsposeResponse> callback) throws ApiException
      Move one task to another parent task. (asynchronously)
      Parameters:
      request - PutMoveTask request with main agrs
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • putMoveTaskToSibling

      public AsposeResponse putMoveTaskToSibling(PutMoveTaskToSiblingRequest request) throws ApiException
      Move a task to another position under the same parent and the same outline level request PutMoveTaskToSibling request with main agrs
      Returns:
      AsposeResponse
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • putMoveTaskToSiblingAsync

      public com.squareup.okhttp.Call putMoveTaskToSiblingAsync(PutMoveTaskToSiblingRequest request, ApiCallback<AsposeResponse> callback) throws ApiException
      Move a task to another position under the same parent and the same outline level (asynchronously)
      Parameters:
      request - PutMoveTaskToSibling request with main agrs
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • putTask

      public TaskResponse putTask(PutTaskRequest request) throws ApiException
      Updates special task getting by task UID request PutTask request with main agrs
      Returns:
      TaskResponse
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • putTaskAsync

      public com.squareup.okhttp.Call putTaskAsync(PutTaskRequest request, ApiCallback<TaskResponse> callback) throws ApiException
      Updates special task getting by task UID (asynchronously)
      Parameters:
      request - PutTask request with main agrs
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • putTaskRecurringInfo

      public AsposeResponse putTaskRecurringInfo(PutTaskRecurringInfoRequest request) throws ApiException
      Updates existing task's recurring info. Note that task should be already recurring. request PutTaskRecurringInfo request with main agrs
      Returns:
      AsposeResponse
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • putTaskRecurringInfoAsync

      public com.squareup.okhttp.Call putTaskRecurringInfoAsync(PutTaskRecurringInfoRequest request, ApiCallback<AsposeResponse> callback) throws ApiException
      Updates existing task's recurring info. Note that task should be already recurring. (asynchronously)
      Parameters:
      request - PutTaskRecurringInfo request with main agrs
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • deleteTaskLink

      public AsposeResponse deleteTaskLink(DeleteTaskLinkRequest request) throws ApiException
      Delete task link. request DeleteTaskLink request with main agrs
      Returns:
      AsposeResponse
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • deleteTaskLinkAsync

      public com.squareup.okhttp.Call deleteTaskLinkAsync(DeleteTaskLinkRequest request, ApiCallback<AsposeResponse> callback) throws ApiException
      Delete task link. (asynchronously)
      Parameters:
      request - DeleteTaskLink request with main agrs
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • getTaskLinks

      public TaskLinksResponse getTaskLinks(GetTaskLinksRequest request) throws ApiException
      Get tasks' links of a project. request GetTaskLinks request with main agrs
      Returns:
      TaskLinksResponse
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getTaskLinksAsync

      public com.squareup.okhttp.Call getTaskLinksAsync(GetTaskLinksRequest request, ApiCallback<TaskLinksResponse> callback) throws ApiException
      Get tasks' links of a project. (asynchronously)
      Parameters:
      request - GetTaskLinks request with main agrs
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • postTaskLink

      public AsposeResponse postTaskLink(PostTaskLinkRequest request) throws ApiException
      Adds a new task link to a project. request PostTaskLink request with main agrs
      Returns:
      AsposeResponse
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • postTaskLinkAsync

      public com.squareup.okhttp.Call postTaskLinkAsync(PostTaskLinkRequest request, ApiCallback<AsposeResponse> callback) throws ApiException
      Adds a new task link to a project. (asynchronously)
      Parameters:
      request - PostTaskLink request with main agrs
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • putTaskLink

      public TaskLinkResponse putTaskLink(PutTaskLinkRequest request) throws ApiException
      Updates existing task link. request PutTaskLink request with main agrs
      Returns:
      TaskLinkResponse
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • putTaskLinkAsync

      public com.squareup.okhttp.Call putTaskLinkAsync(PutTaskLinkRequest request, ApiCallback<TaskLinkResponse> callback) throws ApiException
      Updates existing task link. (asynchronously)
      Parameters:
      request - PutTaskLink request with main agrs
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • getVbaProject

      public VbaProjectResponse getVbaProject(GetVbaProjectRequest request) throws ApiException
      Returns VBA project. request GetVbaProject request with main agrs
      Returns:
      VbaProjectResponse
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getVbaProjectAsync

      public com.squareup.okhttp.Call getVbaProjectAsync(GetVbaProjectRequest request, ApiCallback<VbaProjectResponse> callback) throws ApiException
      Returns VBA project. (asynchronously)
      Parameters:
      request - GetVbaProject request with main agrs
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • getWbsDefinition

      public WBSDefinitionResponse getWbsDefinition(GetWbsDefinitionRequest request) throws ApiException
      Get a project's WBS Definition. request GetWbsDefinition request with main agrs
      Returns:
      WBSDefinitionResponse
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getWbsDefinitionAsync

      public com.squareup.okhttp.Call getWbsDefinitionAsync(GetWbsDefinitionRequest request, ApiCallback<WBSDefinitionResponse> callback) throws ApiException
      Get a project's WBS Definition. (asynchronously)
      Parameters:
      request - GetWbsDefinition request with main agrs
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object
    • putRenumberWbsCode

      public AsposeResponse putRenumberWbsCode(PutRenumberWbsCodeRequest request) throws ApiException
      Renumber WBS code of passed tasks (if specified) or all project's tasks. request PutRenumberWbsCode request with main agrs
      Returns:
      AsposeResponse
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • putRenumberWbsCodeAsync

      public com.squareup.okhttp.Call putRenumberWbsCodeAsync(PutRenumberWbsCodeRequest request, ApiCallback<AsposeResponse> callback) throws ApiException
      Renumber WBS code of passed tasks (if specified) or all project's tasks. (asynchronously)
      Parameters:
      request - PutRenumberWbsCode request with main agrs
      callback - The callback to be executed when the API call finishes
      Returns:
      The request call
      Throws:
      ApiException - If fail to process the API call, e.g. serializing the request body object