Class PermissionsToUserForGetPermissionsJson
java.lang.Object
com.blackberry.workspaces.sdk.api.json.BaseJson
com.blackberry.workspaces.sdk.api.json.PermissionsToUserForGetPermissionsJson
- All Implemented Interfaces:
Serializable
public class PermissionsToUserForGetPermissionsJson extends BaseJson
Permission to a user for getting permissions
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description PermissionsToUserForGetPermissionsJson()
-
Method Summary
Modifier and Type Method Description AccessLevel
getAccessLevel()
Internal flag, do not send it with your request.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
getPrint()
Is print allowed.Boolean
getProgAccess()
Is programmatic access allowed.Boolean
getRevoked()
If permission were revoked.Boolean
getSpotlight()
Is spotlight on.Boolean
getWatermark()
Is watermark on.boolean
isComment()
Is comment allowed.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 allowed.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
setPinRequired(boolean pinRequired)
Requires pin in order to viewvoid
setPrint(Boolean print)
Is print allowed.void
setProgAccess(Boolean progAccess)
Is programmatic access allowed.void
setRevoked(Boolean revoked)
If permission were revoked.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
-
PermissionsToUserForGetPermissionsJson
public PermissionsToUserForGetPermissionsJson()
-
-
Method Details
-
getLatestChangeDate
Date of latest change- Returns:
- Date of latest change
-
setLatestChangeDate
Date of latest change- Parameters:
latestChangeDate
- Date of latest change
-
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.
-
getDownloadOriginal
Is download original allowed.- Returns:
- Is download original allowed.
-
setDownloadOriginal
Is download original allowed.- Parameters:
downloadOriginal
- Is download original allowed.
-
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.
-
getRevoked
If permission were revoked.- Returns:
- If permission were revoked.
-
setRevoked
If permission were revoked.- Parameters:
revoked
- If permission were revoked.
-
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
-
isComment
public boolean isComment()Is comment allowed.- Returns:
- Is comment allowed.
-
setComment
public void setComment(boolean comment)Is comment allowed.- Parameters:
comment
- Is comment allowed.
-
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)
-