| Package | Description |
|---|---|
| com.smartsheet.api | |
| com.smartsheet.api.models |
| Modifier and Type | Method and Description |
|---|---|
Share |
ShareResources.getShare(long objectId,
String shareId)
Get a Share.
|
Share |
ShareResources.updateShare(long objectId,
Share share)
Update a share.
|
| Modifier and Type | Method and Description |
|---|---|
PagedResult<Share> |
ShareResources.listShares(long objectId,
PaginationParameters parameters)
Deprecated.
|
PagedResult<Share> |
ShareResources.listShares(long objectId,
PaginationParameters parameters,
Boolean includeWorkspaceShares)
List shares of a given object.
|
List<Share> |
ShareResources.shareTo(long objectId,
List<Share> shares,
Boolean sendEmail)
Shares the object with the specified Users and Groups.
|
| Modifier and Type | Method and Description |
|---|---|
Share |
ShareResources.updateShare(long objectId,
Share share)
Update a share.
|
| Modifier and Type | Method and Description |
|---|---|
List<Share> |
ShareResources.shareTo(long objectId,
List<Share> shares,
Boolean sendEmail)
Shares the object with the specified Users and Groups.
|
| Modifier and Type | Method and Description |
|---|---|
Share |
Share.ShareToOneUserBuilder.build()
Builds the
Share object. |
Share |
Share.ShareToOneGroupBuilder.build()
Builds the
Share object. |
Share |
Share.UpdateShareBuilder.build()
Builds the
Share object. |
Share |
Share.CreateUserShareBuilder.build()
Builds the
Share object. |
Share |
Share.CreateGroupShareBuilder.build()
Builds the
Share object. |
Share |
Share.setAccessLevel(AccessLevel accessLevel)
Sets the access level for this specific share.
|
Share |
Share.setCcMe(Boolean ccMe)
Sets the flag to indicate whether or not to send a copy of the email to the sharer.
|
Share |
Share.setCreatedAt(Date createdAt)
Sets the time that the share was created
|
Share |
Share.setEmail(String email)
Sets the email for this specific share.
|
Share |
Share.setGroupId(Long groupId) |
Share |
Share.setMessage(String message)
Sets the message to be included in the body of the email.
|
Share |
Share.setModifiedAt(Date modifiedAt)
Sets the time that the share was last modified
|
Share |
Share.setName(String name)
Provide an 'override' of setName (returns Share not NamedModel)
|
Share |
Share.setScope(ShareScope scope)
Set the scope of this share.
|
Share |
Share.setSubject(String subject)
Sets the subject of the email that will optionally be sent to notify the recipient.
|
Share |
Share.setType(ShareType type) |
Share |
Share.setUserId(Long userId) |
Copyright © 2014–2019 Smartsheet. All rights reserved.