Package com.aspose.tasks.cloud.api
Class TasksApi
java.lang.Object
com.aspose.tasks.cloud.api.TasksApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
copyFile
(CopyFileRequest request) Copy filecom.squareup.okhttp.Call
copyFileAsync
(CopyFileRequest request, ApiCallback<Void> callback) Copy file (asynchronously)void
copyFolder
(CopyFolderRequest request) Copy foldercom.squareup.okhttp.Call
copyFolderAsync
(CopyFolderRequest request, ApiCallback<Void> callback) Copy folder (asynchronously)void
createFolder
(CreateFolderRequest request) Create the foldercom.squareup.okhttp.Call
createFolderAsync
(CreateFolderRequest request, ApiCallback<Void> callback) Create the folder (asynchronously)createNewProject
(CreateNewProjectRequest request) Creates new project in Project Server\\Project Online instance.com.squareup.okhttp.Call
createNewProjectAsync
(CreateNewProjectRequest request, ApiCallback<AsposeResponse> callback) Creates new project in Project Server\\Project Online instance.deleteAssignment
(DeleteAssignmentRequest request) Deletes a project assignment with all references to it.com.squareup.okhttp.Call
deleteAssignmentAsync
(DeleteAssignmentRequest request, ApiCallback<AsposeResponse> callback) Deletes a project assignment with all references to it.deleteCalendar
(DeleteCalendarRequest request) Deletes a project calendar request DeleteCalendar request with main agrscom.squareup.okhttp.Call
deleteCalendarAsync
(DeleteCalendarRequest request, ApiCallback<AsposeResponse> callback) Deletes a project calendar (asynchronously)Deletes calendar exception from calendar exceptions collection.com.squareup.okhttp.Call
deleteCalendarExceptionAsync
(DeleteCalendarExceptionRequest request, ApiCallback<AsposeResponse> callback) Deletes calendar exception from calendar exceptions collection.Delete a project extended attribute.com.squareup.okhttp.Call
deleteExtendedAttributeByIndexAsync
(DeleteExtendedAttributeByIndexRequest request, ApiCallback<AsposeResponse> callback) Delete a project extended attribute.void
deleteFile
(DeleteFileRequest request) Delete filecom.squareup.okhttp.Call
deleteFileAsync
(DeleteFileRequest request, ApiCallback<Void> callback) Delete file (asynchronously)void
deleteFolder
(DeleteFolderRequest request) Delete foldercom.squareup.okhttp.Call
deleteFolderAsync
(DeleteFolderRequest request, ApiCallback<Void> callback) Delete folder (asynchronously)Deletes a project outline code request DeleteOutlineCodeByIndex request with main agrscom.squareup.okhttp.Call
deleteOutlineCodeByIndexAsync
(DeleteOutlineCodeByIndexRequest request, ApiCallback<AsposeResponse> callback) Deletes a project outline code (asynchronously)deleteResource
(DeleteResourceRequest request) Deletes a project resource with all references to it request DeleteResource request with main agrscom.squareup.okhttp.Call
deleteResourceAsync
(DeleteResourceRequest request, ApiCallback<AsposeResponse> callback) Deletes a project resource with all references to it (asynchronously)deleteTask
(DeleteTaskRequest request) Deletes a project task with all references to it and rebuilds tasks tree.com.squareup.okhttp.Call
deleteTaskAsync
(DeleteTaskRequest request, ApiCallback<AsposeResponse> callback) Deletes a project task with all references to it and rebuilds tasks tree.deleteTaskLink
(DeleteTaskLinkRequest request) Delete task link.com.squareup.okhttp.Call
deleteTaskLinkAsync
(DeleteTaskLinkRequest request, ApiCallback<AsposeResponse> callback) Delete task link.downloadFile
(DownloadFileRequest request) Download file request DownloadFile request with main agrscom.squareup.okhttp.Call
downloadFileAsync
(DownloadFileRequest request, ApiCallback<File> callback) Download file (asynchronously)getAssignment
(GetAssignmentRequest request) Read project assignment with the specified Uid.com.squareup.okhttp.Call
getAssignmentAsync
(GetAssignmentRequest request, ApiCallback<AssignmentResponse> callback) Read project assignment with the specified Uid.getAssignments
(GetAssignmentsRequest request) Get project's assignment items.com.squareup.okhttp.Call
getAssignmentsAsync
(GetAssignmentsRequest request, ApiCallback<AssignmentItemsResponse> callback) Get project's assignment items.Get timescaled data for an assignment with the specified Uid.com.squareup.okhttp.Call
getAssignmentTimephasedDataAsync
(GetAssignmentTimephasedDataRequest request, ApiCallback<TimephasedDataResponse> callback) Get timescaled data for an assignment with the specified Uid.getCalendar
(GetCalendarRequest request) Get a project's calendar with the specified Uid.com.squareup.okhttp.Call
getCalendarAsync
(GetCalendarRequest request, ApiCallback<CalendarResponse> callback) Get a project's calendar with the specified Uid.Get a list of calendar's exceptions.com.squareup.okhttp.Call
getCalendarExceptionsAsync
(GetCalendarExceptionsRequest request, ApiCallback<CalendarExceptionsResponse> callback) Get a list of calendar's exceptions.getCalendars
(GetCalendarsRequest request) Read project calendar items.com.squareup.okhttp.Call
getCalendarsAsync
(GetCalendarsRequest request, ApiCallback<CalendarItemsResponse> callback) Read project calendar items.Gets the collection of work weeks of the specified calendar.com.squareup.okhttp.Call
getCalendarWorkWeeksAsync
(GetCalendarWorkWeeksRequest request, ApiCallback<CalendarWorkWeeksResponse> callback) Gets the collection of work weeks of the specified calendar.getCriticalPath
(GetCriticalPathRequest request) Returns the list of the tasks which must be completed on time for a project to finish on schedule.com.squareup.okhttp.Call
getCriticalPathAsync
(GetCriticalPathRequest request, ApiCallback<TaskItemsResponse> callback) Returns the list of the tasks which must be completed on time for a project to finish on schedule.getDiscUsage
(GetDiscUsageRequest request) Get disc usage request GetDiscUsage request with main agrscom.squareup.okhttp.Call
getDiscUsageAsync
(GetDiscUsageRequest request, ApiCallback<DiscUsage> callback) Get disc usage (asynchronously)Get a collection of a project's document properties.com.squareup.okhttp.Call
getDocumentPropertiesAsync
(GetDocumentPropertiesRequest request, ApiCallback<DocumentPropertiesResponse> callback) Get a collection of a project's document properties.Get a document property by name.com.squareup.okhttp.Call
getDocumentPropertyAsync
(GetDocumentPropertyRequest request, ApiCallback<DocumentPropertyResponse> callback) Get a document property by name.Get a project extended attribute definition with the specified index.com.squareup.okhttp.Call
getExtendedAttributeByIndexAsync
(GetExtendedAttributeByIndexRequest request, ApiCallback<ExtendedAttributeResponse> callback) Get a project extended attribute definition with the specified index.Get a project's extended attributes.com.squareup.okhttp.Call
getExtendedAttributesAsync
(GetExtendedAttributesRequest request, ApiCallback<ExtendedAttributeItemsResponse> callback) Get a project's extended attributes.getFilesList
(GetFilesListRequest request) Get all files and folders within a folder request GetFilesList request with main agrscom.squareup.okhttp.Call
getFilesListAsync
(GetFilesListRequest request, ApiCallback<FilesList> callback) Get all files and folders within a folder (asynchronously)getFileVersions
(GetFileVersionsRequest request) Get file versions request GetFileVersions request with main agrscom.squareup.okhttp.Call
getFileVersionsAsync
(GetFileVersionsRequest request, ApiCallback<FileVersions> callback) Get file versions (asynchronously)Get outline code by index.com.squareup.okhttp.Call
getOutlineCodeByIndexAsync
(GetOutlineCodeByIndexRequest request, ApiCallback<OutlineCodeResponse> callback) Get outline code by index.getOutlineCodes
(GetOutlineCodesRequest request) Get a project's outline codes.com.squareup.okhttp.Call
getOutlineCodesAsync
(GetOutlineCodesRequest request, ApiCallback<OutlineCodeItemsResponse> callback) Get a project's outline codes.getPageCount
(GetPageCountRequest request) Returns page count for the project to be rendered using given Timescale and PresentationFormat or specified PageSize.com.squareup.okhttp.Call
getPageCountAsync
(GetPageCountRequest request, ApiCallback<PageCountResponse> callback) Returns page count for the project to be rendered using given Timescale and PresentationFormat or specified PageSize.Get primavera properties for a task with the specified Uid.com.squareup.okhttp.Call
getPrimaveraTaskPropertiesAsync
(GetPrimaveraTaskPropertiesRequest request, ApiCallback<PrimaveraTaskPropertiesResponse> callback) Get primavera properties for a task with the specified Uid.getProjectIds
(GetProjectIdsRequest request) Get Uids of projects contained in the file.com.squareup.okhttp.Call
getProjectIdsAsync
(GetProjectIdsRequest request, ApiCallback<ProjectIdsResponse> callback) Get Uids of projects contained in the file.getProjectList
(GetProjectListRequest request) Gets the list of published projects in the current Project Online account.com.squareup.okhttp.Call
getProjectListAsync
(GetProjectListRequest request, ApiCallback<ProjectListResponse> callback) Gets the list of published projects in the current Project Online account.getReportPdf
(GetReportPdfRequest request) Returns created report in PDF format.com.squareup.okhttp.Call
getReportPdfAsync
(GetReportPdfRequest request, ApiCallback<File> callback) Returns created report in PDF format.getResource
(GetResourceRequest request) Get project resource.Get resource's assignments.com.squareup.okhttp.Call
getResourceAssignmentsAsync
(GetResourceAssignmentsRequest request, ApiCallback<AssignmentsResponse> callback) Get resource's assignments.com.squareup.okhttp.Call
getResourceAsync
(GetResourceRequest request, ApiCallback<ResourceResponse> callback) Get project resource.getResources
(GetResourcesRequest request) Get a project's resources.com.squareup.okhttp.Call
getResourcesAsync
(GetResourcesRequest request, ApiCallback<ResourceItemsResponse> callback) Get a project's resources.Get timescaled data for a resource with the specified Uid.com.squareup.okhttp.Call
getResourceTimephasedDataAsync
(GetResourceTimephasedDataRequest request, ApiCallback<TimephasedDataResponse> callback) Get timescaled data for a resource with the specified Uid.Performs a risk analysys using Monte Carlo simulation and creates a risk analysis report.com.squareup.okhttp.Call
getRiskAnalysisReportAsync
(GetRiskAnalysisReportRequest request, ApiCallback<File> callback) Performs a risk analysys using Monte Carlo simulation and creates a risk analysis report.getTask
(GetTaskRequest request) Read project task.Get task assignments.com.squareup.okhttp.Call
getTaskAssignmentsAsync
(GetTaskAssignmentsRequest request, ApiCallback<AssignmentsResponse> callback) Get task assignments.com.squareup.okhttp.Call
getTaskAsync
(GetTaskRequest request, ApiCallback<TaskResponse> callback) Read project task.getTaskDocument
(GetTaskDocumentRequest request) Get a project document.com.squareup.okhttp.Call
getTaskDocumentAsync
(GetTaskDocumentRequest request, ApiCallback<File> callback) Get a project document.Get a project document in the specified format request GetTaskDocumentWithFormat request with main agrscom.squareup.okhttp.Call
getTaskDocumentWithFormatAsync
(GetTaskDocumentWithFormatRequest request, ApiCallback<File> callback) Get a project document in the specified format (asynchronously)getTaskLinks
(GetTaskLinksRequest request) Get tasks' links of a project.com.squareup.okhttp.Call
getTaskLinksAsync
(GetTaskLinksRequest request, ApiCallback<TaskLinksResponse> callback) Get tasks' links of a project.Get recurring info for a task with the specified Uid request GetTaskRecurringInfo request with main agrscom.squareup.okhttp.Call
getTaskRecurringInfoAsync
(GetTaskRecurringInfoRequest request, ApiCallback<RecurringInfoResponse> callback) Get recurring info for a task with the specified Uid (asynchronously)getTasks
(GetTasksRequest request) Get a project's tasks.com.squareup.okhttp.Call
getTasksAsync
(GetTasksRequest request, ApiCallback<TaskItemsResponse> callback) Get a project's tasks.Get timescaled data for a task with the specified Uid.com.squareup.okhttp.Call
getTaskTimephasedDataAsync
(GetTaskTimephasedDataRequest request, ApiCallback<TimephasedDataResponse> callback) Get timescaled data for a task with the specified Uid.getVbaProject
(GetVbaProjectRequest request) Returns VBA project.com.squareup.okhttp.Call
getVbaProjectAsync
(GetVbaProjectRequest request, ApiCallback<VbaProjectResponse> callback) Returns VBA project.getWbsDefinition
(GetWbsDefinitionRequest request) Get a project's WBS Definition.com.squareup.okhttp.Call
getWbsDefinitionAsync
(GetWbsDefinitionRequest request, ApiCallback<WBSDefinitionResponse> callback) Get a project's WBS Definition.void
moveFile
(MoveFileRequest request) Move filecom.squareup.okhttp.Call
moveFileAsync
(MoveFileRequest request, ApiCallback<Void> callback) Move file (asynchronously)void
moveFolder
(MoveFolderRequest request) Move foldercom.squareup.okhttp.Call
moveFolderAsync
(MoveFolderRequest request, ApiCallback<Void> callback) Move folder (asynchronously)objectExists
(ObjectExistsRequest request) Check if file or folder exists request ObjectExists request with main agrscom.squareup.okhttp.Call
objectExistsAsync
(ObjectExistsRequest request, ApiCallback<ObjectExist> callback) Check if file or folder exists (asynchronously)postAssignment
(PostAssignmentRequest request) Adds a new assignment to a project and returns assignment item in a response.com.squareup.okhttp.Call
postAssignmentAsync
(PostAssignmentRequest request, ApiCallback<AssignmentItemResponse> callback) Adds a new assignment to a project and returns assignment item in a response.postCalendar
(PostCalendarRequest request) Adds a new calendar to project file.com.squareup.okhttp.Call
postCalendarAsync
(PostCalendarRequest request, ApiCallback<CalendarItemResponse> callback) Adds a new calendar to project file.Adds a new calendar exception to a calendar.com.squareup.okhttp.Call
postCalendarExceptionAsync
(PostCalendarExceptionRequest request, ApiCallback<AsposeResponse> callback) Adds a new calendar exception to a calendar.Set/create document property.com.squareup.okhttp.Call
postDocumentPropertyAsync
(PostDocumentPropertyRequest request, ApiCallback<DocumentPropertyResponse> callback) Set/create document property.postResource
(PostResourceRequest request) Add a new resource to a project.com.squareup.okhttp.Call
postResourceAsync
(PostResourceRequest request, ApiCallback<ResourceItemResponse> callback) Add a new resource to a project.postTask
(PostTaskRequest request) Add a new task to a project.com.squareup.okhttp.Call
postTaskAsync
(PostTaskRequest request, ApiCallback<TaskItemResponse> callback) Add a new task to a project.postTaskLink
(PostTaskLinkRequest request) Adds a new task link to a project.com.squareup.okhttp.Call
postTaskLinkAsync
(PostTaskLinkRequest request, ApiCallback<AsposeResponse> callback) Adds a new task link to a project.Adds a new recurring task.com.squareup.okhttp.Call
postTaskRecurringInfoAsync
(PostTaskRecurringInfoRequest request, ApiCallback<TaskItemResponse> callback) Adds a new recurring task.postTasks
(PostTasksRequest request) Create multiple tasks by single request.com.squareup.okhttp.Call
postTasksAsync
(PostTasksRequest request, ApiCallback<TaskItemsResponse> callback) Create multiple tasks by single request.putAssignment
(PutAssignmentRequest request) Updates resources assignment with the specified Uid.com.squareup.okhttp.Call
putAssignmentAsync
(PutAssignmentRequest request, ApiCallback<AssignmentResponse> callback) Updates resources assignment with the specified Uid.putCalendar
(PutCalendarRequest request) Edits an existing project calendar.com.squareup.okhttp.Call
putCalendarAsync
(PutCalendarRequest request, ApiCallback<AsposeResponse> callback) Edits an existing project calendar.Updates calendar exception.com.squareup.okhttp.Call
putCalendarExceptionAsync
(PutCalendarExceptionRequest request, ApiCallback<AsposeResponse> callback) Updates calendar exception.Set/create document property.com.squareup.okhttp.Call
putDocumentPropertyAsync
(PutDocumentPropertyRequest request, ApiCallback<DocumentPropertyResponse> callback) Set/create document property.Add a new extended attribute definition to a project or updates existing attribute definition (with the same FieldId).com.squareup.okhttp.Call
putExtendedAttributeAsync
(PutExtendedAttributeRequest request, ApiCallback<ExtendedAttributeItemResponse> callback) Add a new extended attribute definition to a project or updates existing attribute definition (with the same FieldId).Imports project from database with the specified connection string and saves it to specified file with the specified format.com.squareup.okhttp.Call
putImportProjectFromDbAsync
(PutImportProjectFromDbRequest request, ApiCallback<AsposeResponse> callback) Imports project from database with the specified connection string and saves it to specified file with the specified format.Imports project from primavera db formats (Primavera SQLite .db or Primavera xml) and saves it to specified file with the specified format.com.squareup.okhttp.Call
putImportProjectFromFileAsync
(PutImportProjectFromFileRequest request, ApiCallback<AsposeResponse> callback) Imports project from primavera db formats (Primavera SQLite .db or Primavera xml) and saves it to specified file with the specified format.Imports project from Project Online and saves it to specified file.com.squareup.okhttp.Call
putImportProjectFromProjectOnlineAsync
(PutImportProjectFromProjectOnlineRequest request, ApiCallback<AsposeResponse> callback) Imports project from Project Online and saves it to specified file.putMoveTask
(PutMoveTaskRequest request) Move one task to another parent task.com.squareup.okhttp.Call
putMoveTaskAsync
(PutMoveTaskRequest request, ApiCallback<AsposeResponse> callback) Move one task to another parent task.Move a task to another position under the same parent and the same outline level request PutMoveTaskToSibling request with main agrscom.squareup.okhttp.Call
putMoveTaskToSiblingAsync
(PutMoveTaskToSiblingRequest request, ApiCallback<AsposeResponse> callback) Move a task to another position under the same parent and the same outline level (asynchronously)Reschedules all project tasks ids, outline levels, start/finish dates, sets early/late dates, calculates slacks, work and cost fields.com.squareup.okhttp.Call
putRecalculateProjectAsync
(PutRecalculateProjectRequest request, ApiCallback<ProjectRecalculateResponse> callback) Reschedules all project tasks ids, outline levels, start/finish dates, sets early/late dates, calculates slacks, work and cost fields.Recalculate project resource fields request PutRecalculateProjectResourceFields request with main agrscom.squareup.okhttp.Call
putRecalculateProjectResourceFieldsAsync
(PutRecalculateProjectResourceFieldsRequest request, ApiCallback<AsposeResponse> callback) Recalculate project resource fields (asynchronously)putRecalculateProjectUncompleteWorkToStartAfter
(PutRecalculateProjectUncompleteWorkToStartAfterRequest request) Recalculate project uncomplete work request PutRecalculateProjectUncompleteWorkToStartAfter request with main agrscom.squareup.okhttp.Call
putRecalculateProjectUncompleteWorkToStartAfterAsync
(PutRecalculateProjectUncompleteWorkToStartAfterRequest request, ApiCallback<AsposeResponse> callback) Recalculate project uncomplete work (asynchronously)Recalculate project work as complete request PutRecalculateProjectWorkAsComplete request with main agrscom.squareup.okhttp.Call
putRecalculateProjectWorkAsCompleteAsync
(PutRecalculateProjectWorkAsCompleteRequest request, ApiCallback<AsposeResponse> callback) Recalculate project work as complete (asynchronously)Renumber WBS code of passed tasks (if specified) or all project's tasks.com.squareup.okhttp.Call
putRenumberWbsCodeAsync
(PutRenumberWbsCodeRequest request, ApiCallback<AsposeResponse> callback) Renumber WBS code of passed tasks (if specified) or all project's tasks.putResource
(PutResourceRequest request) Updates resource with the specified Uid request PutResource request with main agrscom.squareup.okhttp.Call
putResourceAsync
(PutResourceRequest request, ApiCallback<ResourceResponse> callback) Updates resource with the specified Uid (asynchronously)putTask
(PutTaskRequest request) Updates special task getting by task UID request PutTask request with main agrscom.squareup.okhttp.Call
putTaskAsync
(PutTaskRequest request, ApiCallback<TaskResponse> callback) Updates special task getting by task UID (asynchronously)putTaskLink
(PutTaskLinkRequest request) Updates existing task link.com.squareup.okhttp.Call
putTaskLinkAsync
(PutTaskLinkRequest request, ApiCallback<TaskLinkResponse> callback) Updates existing task link.Updates existing task's recurring info.com.squareup.okhttp.Call
putTaskRecurringInfoAsync
(PutTaskRecurringInfoRequest request, ApiCallback<AsposeResponse> callback) Updates existing task's recurring info.void
setApiClient
(ApiClient apiClient) storageExists
(StorageExistsRequest request) Check if storage exists request StorageExists request with main agrscom.squareup.okhttp.Call
storageExistsAsync
(StorageExistsRequest request, ApiCallback<StorageExist> callback) Check if storage exists (asynchronously)updateProject
(UpdateProjectRequest request) Updates existing project in Project Server\\Project Online instance.com.squareup.okhttp.Call
updateProjectAsync
(UpdateProjectRequest request, ApiCallback<AsposeResponse> callback) Updates existing project in Project Server\\Project Online instance.uploadFile
(UploadFileRequest request) Upload file request UploadFile request with main agrscom.squareup.okhttp.Call
uploadFileAsync
(UploadFileRequest request, ApiCallback<FilesUploadResult> callback) Upload file (asynchronously)
-
Constructor Details
-
TasksApi
public TasksApi() -
TasksApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
copyFile
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 agrscallback
- 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
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 agrscallback
- 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
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 agrscallback
- 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
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 agrscallback
- 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
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 agrscallback
- 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
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 agrscallback
- 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
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 agrscallback
- 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
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 agrscallback
- 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
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 agrscallback
- 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
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 agrscallback
- 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
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 agrscallback
- 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
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 agrscallback
- 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
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 agrscallback
- 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
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 agrscallback
- 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
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 agrscallback
- 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
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 agrscallback
- 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 agrscallback
- 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
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 agrscallback
- 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
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 agrscallback
- 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
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 agrscallback
- 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
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 agrscallback
- 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 agrscallback
- 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
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 agrscallback
- 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 agrscallback
- 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 agrscallback
- 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
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 agrscallback
- 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
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 agrscallback
- 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 agrscallback
- 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
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 agrscallback
- 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
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 agrscallback
- 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
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 agrscallback
- 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
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 agrscallback
- 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
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 agrscallback
- 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
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 agrscallback
- 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
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 agrscallback
- 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 agrscallback
- 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 agrscallback
- 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 agrscallback
- 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 agrscallback
- 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 agrscallback
- 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 agrscallback
- 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 agrscallback
- 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 agrscallback
- 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 agrscallback
- 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 agrscallback
- 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 agrscallback
- 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 agrscallback
- 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 agrscallback
- 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
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 agrscallback
- 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
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 agrscallback
- 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
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 agrscallback
- 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
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 agrscallback
- 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 agrscallback
- 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 agrscallback
- 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 agrscallback
- 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 agrscallback
- 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
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 agrscallback
- 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
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 agrscallback
- 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
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 agrscallback
- 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 agrscallback
- 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 agrscallback
- 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
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 agrscallback
- 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
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 agrscallback
- 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
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 agrscallback
- 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
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 agrscallback
- 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
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 agrscallback
- 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 agrscallback
- 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
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 agrscallback
- 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 agrscallback
- 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 agrscallback
- 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 agrscallback
- 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
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 agrscallback
- 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
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 agrscallback
- 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 agrscallback
- 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
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 agrscallback
- 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
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 agrscallback
- 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
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 agrscallback
- 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
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 agrscallback
- 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
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 agrscallback
- 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
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 agrscallback
- 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
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 agrscallback
- 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
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 agrscallback
- 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
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 agrscallback
- 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
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 agrscallback
- 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
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 agrscallback
- 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
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 agrscallback
- 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
-