Class PermissionsToUserJson
java.lang.Object
com.blackberry.workspaces.sdk.api.json.BaseJson
com.blackberry.workspaces.sdk.api.json.PermissionsToUserJson
- All Implemented Interfaces:
Serializable
public class PermissionsToUserJson extends BaseJson
Permissions to a user
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description PermissionsToUserJson()
-
Method Summary
Modifier and Type Method Description AccessLevel
getAccessLevel()
Internal flag, do not send it with your request.Boolean
getComment()
Is comment on.Boolean
getCopy()
Is copy allowed.Integer
getDefaultExpirationDays()
The Amount of days to have files available for VDR default permissions.Boolean
getDownload()
Is download protected allowed.Boolean
getDownloadOriginal()
Is download original allowed.Boolean
getEdit()
Is edit allowed.Date
getExpirationDate()
Expiration date of the permission set (default: 1 month) (JSON format)Date
getLatestChangeDate()
Date of latest changeDate
getMinExpirationDate()
Minimum expiration dateBoolean
getNeverExpires()
Never expiresBoolean
getOriginalComments()
The original value of comment permissionBoolean
getPrint()
Is print allowed.Boolean
getProgAccess()
Is programmatic access allowed.Boolean
getSpotlight()
Is spotlight on.Boolean
getWatermark()
Is watermark on.boolean
isPinRequired()
Requires pin in order to viewvoid
setAccessLevel(AccessLevel accessLevel)
Internal flag, do not send it with your request.void
setComment(Boolean comment)
Is comment on.void
setCopy(Boolean copy)
Is copy allowed.void
setDefaultExpirationDays(Integer defaultExpirationDays)
The Amount of days to have files available for VDR default permissions.void
setDownload(Boolean download)
Is download protected allowed.void
setDownloadOriginal(Boolean downloadOriginal)
Is download original allowed.void
setEdit(Boolean edit)
Is edit allowed.void
setExpirationDate(Date expirationDate)
Expiration date of the permission set (default: 1 month) (JSON format)void
setLatestChangeDate(Date latestChangeDate)
Date of latest changevoid
setMinExpirationDate(Date minExpirationDate)
Minimum expiration datevoid
setNeverExpires(Boolean neverExpires)
Never expiresvoid
setOriginalComments(Boolean originalComments)
The original value of comment permissionvoid
setPinRequired(boolean pinRequired)
Requires pin in order to viewvoid
setPrint(Boolean print)
Is print allowed.void
setProgAccess(Boolean progAccess)
Is programmatic access allowed.void
setSpotlight(Boolean spotlight)
Is spotlight on.void
setWatermark(Boolean watermark)
Is watermark on.Methods inherited from class com.blackberry.workspaces.sdk.api.json.BaseJson
getObjType, setObjType, toString
-
Constructor Details
-
PermissionsToUserJson
public PermissionsToUserJson()
-
-
Method Details
-
getLatestChangeDate
Date of latest change- Returns:
- Date of latest change
-
setLatestChangeDate
Date of latest change- Parameters:
latestChangeDate
- Date of latest change
-
getDownloadOriginal
Is download original allowed.- Returns:
- Is download original allowed.
-
setDownloadOriginal
Is download original allowed.- Parameters:
downloadOriginal
- Is download original allowed.
-
getDefaultExpirationDays
The Amount of days to have files available for VDR default permissions. In the context of VDR default permissions, giving a specific expiration date for default permissions is not supported. However you may decide that files uploaded will only be available for a certain amount of days after their upload.- Returns:
- The Amount of days to have files available for VDR default permissions. In the context of VDR default permissions, giving a specific expiration date for default permissions is not supported. However you may decide that files uploaded will only be available for a certain amount of days after their upload.
-
setDefaultExpirationDays
The Amount of days to have files available for VDR default permissions. In the context of VDR default permissions, giving a specific expiration date for default permissions is not supported. However you may decide that files uploaded will only be available for a certain amount of days after their upload.- Parameters:
defaultExpirationDays
- The Amount of days to have files available for VDR default permissions. In the context of VDR default permissions, giving a specific expiration date for default permissions is not supported. However you may decide that files uploaded will only be available for a certain amount of days after their upload.
-
getWatermark
Is watermark on.- Returns:
- Is watermark on.
-
setWatermark
Is watermark on.- Parameters:
watermark
- Is watermark on.
-
getAccessLevel
Internal flag, do not send it with your request.- Returns:
- Internal flag, do not send it with your request.
-
setAccessLevel
Internal flag, do not send it with your request.- Parameters:
accessLevel
- Internal flag, do not send it with your request.
-
getEdit
Is edit allowed.- Returns:
- Is edit allowed.
-
setEdit
Is edit allowed.- Parameters:
edit
- Is edit allowed.
-
getOriginalComments
The original value of comment permission- Returns:
- The original value of comment permission
-
setOriginalComments
The original value of comment permission- Parameters:
originalComments
- The original value of comment permission
-
getPrint
Is print allowed.- Returns:
- Is print allowed.
-
setPrint
Is print allowed.- Parameters:
print
- Is print allowed.
-
getDownload
Is download protected allowed.- Returns:
- Is download protected allowed.
-
setDownload
Is download protected allowed.- Parameters:
download
- Is download protected allowed.
-
isPinRequired
public boolean isPinRequired()Requires pin in order to view- Returns:
- Requires pin in order to view
-
setPinRequired
public void setPinRequired(boolean pinRequired)Requires pin in order to view- Parameters:
pinRequired
- Requires pin in order to view
-
getProgAccess
Is programmatic access allowed.- Returns:
- Is programmatic access allowed.
-
setProgAccess
Is programmatic access allowed.- Parameters:
progAccess
- Is programmatic access allowed.
-
getNeverExpires
Never expires- Returns:
- Never expires
-
setNeverExpires
Never expires- Parameters:
neverExpires
- Never expires
-
getMinExpirationDate
Minimum expiration date- Returns:
- Minimum expiration date
-
setMinExpirationDate
Minimum expiration date- Parameters:
minExpirationDate
- Minimum expiration date
-
getComment
Is comment on.- Returns:
- Is comment on.
-
setComment
Is comment on.- Parameters:
comment
- Is comment on.
-
getCopy
Is copy allowed.- Returns:
- Is copy allowed.
-
setCopy
Is copy allowed.- Parameters:
copy
- Is copy allowed.
-
getSpotlight
Is spotlight on.- Returns:
- Is spotlight on.
-
setSpotlight
Is spotlight on.- Parameters:
spotlight
- Is spotlight on.
-
getExpirationDate
Expiration date of the permission set (default: 1 month) (JSON format)- Returns:
- Expiration date of the permission set (default: 1 month) (JSON format)
-
setExpirationDate
Expiration date of the permission set (default: 1 month) (JSON format)- Parameters:
expirationDate
- Expiration date of the permission set (default: 1 month) (JSON format)
-