public interface RowDiscussionResources
This interface provides methods to access Row Discussion resources.
Thread Safety: Implementation of this interface must be thread safe.
| Modifier and Type | Method and Description |
|---|---|
Discussion |
createDiscussion(long sheetId,
long rowId,
Discussion discussion)
Create discussion on a row.
|
Discussion |
createDiscussionWithAttachment(long sheetId,
long rowId,
Discussion discussion,
File file,
String contentType)
Create discussion on a row.
|
PagedResult<Discussion> |
listDiscussions(long sheetId,
long rowId,
PaginationParameters pagination,
EnumSet<DiscussionInclusion> includes)
Gets a list of all Discussions associated with the specified Row.
|
Discussion createDiscussion(long sheetId, long rowId, Discussion discussion) throws SmartsheetException
sheetId - the sheet IDrowId - the row IDdiscussion - the comment to add, limited to the following required attributes: textSmartsheetException - the smartsheet exceptionPagedResult<Discussion> listDiscussions(long sheetId, long rowId, PaginationParameters pagination, EnumSet<DiscussionInclusion> includes) throws SmartsheetException
sheetId - the sheet IDrowId - the row IDpagination - the pagination paginationincludes - the optional include parametersSmartsheetException - the smartsheet exceptionDiscussion createDiscussionWithAttachment(long sheetId, long rowId, Discussion discussion, File file, String contentType) throws SmartsheetException, IOException
sheetId - the sheet IDrowId - the row IDdiscussion - the comment to add, limited to the following required attributes: textfile - the file to be attachedcontentType - the type of fileSmartsheetException - the smartsheet exceptionIOException - is there is an I/O exceptionCopyright © 2014–2017 Smartsheet. All rights reserved.