public class SFAccessControl extends SFODataObject
| Constructor and Description |
|---|
SFAccessControl() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Boolean |
getCanDelete()
Defines whether the principal can remove items from this Item
|
java.lang.Boolean |
getCanDownload()
Defines whether the principal can read file content (download) from this Item
|
java.lang.Boolean |
getCanManagePermissions()
Defines whether the principal can configure Access Controls in this Item
|
java.lang.Boolean |
getCanUpload()
Defines whether the principal can add files (upload) into the Item
|
java.lang.Boolean |
getCanView()
Defines whether the principal can view items (browse) from this Item
|
java.lang.Boolean |
getIsOwner()
Defines whether the principal is the owner of this Item
|
SFItem |
getItem()
Item that was given permission through this rule
|
java.lang.Boolean |
getNotifyOnDownload()
Defines the notification preference for download events.
|
java.lang.Boolean |
getNotifyOnUpload()
Defines the notification preference for upload events.
|
SFPrincipal |
getPrincipal() |
void |
setCanDelete(java.lang.Boolean candelete)
Defines whether the principal can remove items from this Item
|
void |
setCanDownload(java.lang.Boolean candownload)
Defines whether the principal can read file content (download) from this Item
|
void |
setCanManagePermissions(java.lang.Boolean canmanagepermissions)
Defines whether the principal can configure Access Controls in this Item
|
void |
setCanUpload(java.lang.Boolean canupload)
Defines whether the principal can add files (upload) into the Item
|
void |
setCanView(java.lang.Boolean canview)
Defines whether the principal can view items (browse) from this Item
|
void |
setIsOwner(java.lang.Boolean isowner)
Defines whether the principal is the owner of this Item
|
void |
setItem(SFItem item)
Item that was given permission through this rule
|
void |
setNotifyOnDownload(java.lang.Boolean notifyondownload)
Defines the notification preference for download events.
|
void |
setNotifyOnUpload(java.lang.Boolean notifyonupload)
Defines the notification preference for upload events.
|
void |
setPrincipal(SFPrincipal principal) |
addProperty, get__type, getId, getMetadataUrl, getProperties, geturl, set__type, setId, setMetadataUrl, setProperties, seturlpublic SFItem getItem()
public void setItem(SFItem item)
public SFPrincipal getPrincipal()
public void setPrincipal(SFPrincipal principal)
public java.lang.Boolean getCanUpload()
public void setCanUpload(java.lang.Boolean canupload)
public java.lang.Boolean getCanDownload()
public void setCanDownload(java.lang.Boolean candownload)
public java.lang.Boolean getCanView()
public void setCanView(java.lang.Boolean canview)
public java.lang.Boolean getCanDelete()
public void setCanDelete(java.lang.Boolean candelete)
public java.lang.Boolean getCanManagePermissions()
public void setCanManagePermissions(java.lang.Boolean canmanagepermissions)
public java.lang.Boolean getNotifyOnUpload()
public void setNotifyOnUpload(java.lang.Boolean notifyonupload)
public java.lang.Boolean getNotifyOnDownload()
public void setNotifyOnDownload(java.lang.Boolean notifyondownload)
public java.lang.Boolean getIsOwner()
public void setIsOwner(java.lang.Boolean isowner)