public interface RowColumnResources
| Modifier and Type | Method and Description |
|---|---|
void |
addImageToCell(long sheetId,
long rowId,
long columnId,
String file,
String fileType)
Uploads an image to the specified cell within a sheet.
|
void |
addImageToCell(long sheetId,
long rowId,
long columnId,
String file,
String fileType,
boolean overrideValidation,
String altText)
Uploads an image to the specified cell within a sheet.
|
PagedResult<CellHistory> |
getCellHistory(long sheetId,
long rowId,
long columnId,
PaginationParameters pagination)
Get the cell modification history.
|
PagedResult<CellHistory> |
getCellHistory(long sheetId,
long rowId,
long columnId,
PaginationParameters pagination,
EnumSet<CellHistoryInclusion> includes,
Integer level)
Get the cell modification history.
|
PagedResult<CellHistory> getCellHistory(long sheetId, long rowId, long columnId, PaginationParameters pagination) throws SmartsheetException
Get the cell modification history.
It mirrors to the following Smartsheet REST API method: GET /sheets/{sheetId}/rows/{rowId}/columns/{columnId}/history
Exceptions: InvalidRequestException : if there is any problem with the REST API request AuthorizationException : if there is any problem with the REST API authorization(access token) ResourceNotFoundException : if the resource can not be found ServiceUnavailableException : if the REST API service is not available (possibly due to rate limiting) SmartsheetRestException : if there is any other REST API related error occurred during the operation SmartsheetException : if there is any other error occurred during the operationrowId - the row idsheetId - the sheet IdcolumnId - the column idpagination - the pagination parametersSmartsheetException - the smartsheet exceptionPagedResult<CellHistory> getCellHistory(long sheetId, long rowId, long columnId, PaginationParameters pagination, EnumSet<CellHistoryInclusion> includes, Integer level) throws SmartsheetException
Get the cell modification history.
It mirrors to the following Smartsheet REST API method: GET /sheets/{sheetId}/rows/{rowId}/columns/{columnId}/history
Exceptions: InvalidRequestException : if there is any problem with the REST API request AuthorizationException : if there is any problem with the REST API authorization(access token) ResourceNotFoundException : if the resource can not be found ServiceUnavailableException : if the REST API service is not available (possibly due to rate limiting) SmartsheetRestException : if there is any other REST API related error occurred during the operation SmartsheetException : if there is any other error occurred during the operationrowId - the row idsheetId - the sheet IdcolumnId - the column idpagination - the pagination parametersincludes - cell history inclusionlevel - compatbility levelSmartsheetException - the smartsheet exceptionvoid addImageToCell(long sheetId,
long rowId,
long columnId,
String file,
String fileType)
throws FileNotFoundException,
SmartsheetException
Uploads an image to the specified cell within a sheet.
It mirrors to the following Smartsheet REST API method: POST /sheets/{sheetId}/rows/{rowId}/columns/{columnId}/cellimages
Exceptions: InvalidRequestException : if there is any problem with the REST API request AuthorizationException : if there is any problem with the REST API authorization(access token) ResourceNotFoundException : if the resource can not be found ServiceUnavailableException : if the REST API service is not available (possibly due to rate limiting) SmartsheetRestException : if there is any other REST API related error occurred during the operation SmartsheetException : if there is any other error occurred during the operationsheetId - the sheet IdrowId - the row idcolumnId - the column idfile - the file pathfileType - ResourceNotFoundException rather than returning null).SmartsheetException - the smartsheet exceptionFileNotFoundException - image file not foundvoid addImageToCell(long sheetId,
long rowId,
long columnId,
String file,
String fileType,
boolean overrideValidation,
String altText)
throws FileNotFoundException,
SmartsheetException
Uploads an image to the specified cell within a sheet.
It mirrors to the following Smartsheet REST API method: POST /sheets/{sheetId}/rows/{rowId}/columns/{columnId}/cellimages
Exceptions: InvalidRequestException : if there is any problem with the REST API request AuthorizationException : if there is any problem with the REST API authorization(access token) ResourceNotFoundException : if the resource can not be found ServiceUnavailableException : if the REST API service is not available (possibly due to rate limiting) SmartsheetRestException : if there is any other REST API related error occurred during the operation SmartsheetException : if there is any other error occurred during the operationsheetId - the sheet IdrowId - the row idcolumnId - the column idfile - the file pathfileType - overrideValidation - override column type validation
ResourceNotFoundException rather than returning null).SmartsheetException - the smartsheet exceptionFileNotFoundException - image file not foundCopyright © 2014–2019 Smartsheet. All rights reserved.