public static class RowWrapper.InsertRowsBuilder extends Object
RowWrapper with the necessary fields for inserting a Row or
set of rows.| Constructor and Description |
|---|
InsertRowsBuilder() |
| Modifier and Type | Method and Description |
|---|---|
RowWrapper |
build()
Builds the RowWrapper.
|
Long |
getParentId()
Gets the parent id.
|
List<Row> |
getRows()
Gets the rows.
|
Long |
getSiblingId()
Gets the sibling id.
|
Boolean |
getToBottom()
Gets the to bottom.
|
Boolean |
getToTop()
Gets the to top.
|
RowWrapper.InsertRowsBuilder |
setParentId(Long parentId)
Sets the parent id that puts the row as the first child of the specified id.
|
RowWrapper.InsertRowsBuilder |
setRows(List<Row> rows)
Sets the rows.
|
RowWrapper.InsertRowsBuilder |
setSiblingId(Long siblingId)
Sets the sibling id that puts the row as the next row at the same hierarchical level of this row.
|
RowWrapper.InsertRowsBuilder |
setToBottom(Boolean toBottom)
Sets the to bottom flag that puts the row at the bottom of the sheet.
|
RowWrapper.InsertRowsBuilder |
setToTop(Boolean toTop)
Sets the to top flag that puts the row at the top of the sheet.
|
public RowWrapper.InsertRowsBuilder setToTop(Boolean toTop)
toTop - the to top flagpublic RowWrapper.InsertRowsBuilder setToBottom(Boolean toBottom)
toBottom - the to bottompublic RowWrapper.InsertRowsBuilder setParentId(Long parentId)
parentId - the parent idpublic RowWrapper.InsertRowsBuilder setSiblingId(Long siblingId)
siblingId - the sibling idpublic RowWrapper.InsertRowsBuilder setRows(List<Row> rows)
rows - the rowspublic Boolean getToTop()
public Boolean getToBottom()
public Long getParentId()
public Long getSiblingId()
public RowWrapper build()
Copyright © 2014–2017 Smartsheet. All rights reserved.