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
All Methods Instance Methods Concrete Methods 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
-
-
-
-
Method Detail
-
getLatestChangeDate
public Date getLatestChangeDate()
Date of latest change- Returns:
- Date of latest change
-
setLatestChangeDate
public void setLatestChangeDate(Date latestChangeDate)
Date of latest change- Parameters:
latestChangeDate
- Date of latest change
-
getDownloadOriginal
public Boolean getDownloadOriginal()
Is download original allowed.- Returns:
- Is download original allowed.
-
setDownloadOriginal
public void setDownloadOriginal(Boolean downloadOriginal)
Is download original allowed.- Parameters:
downloadOriginal
- Is download original allowed.
-
getDefaultExpirationDays
public Integer 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
public void setDefaultExpirationDays(Integer 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.- 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
public Boolean getWatermark()
Is watermark on.- Returns:
- Is watermark on.
-
setWatermark
public void setWatermark(Boolean watermark)
Is watermark on.- Parameters:
watermark
- Is watermark on.
-
getAccessLevel
public AccessLevel getAccessLevel()
Internal flag, do not send it with your request.- Returns:
- Internal flag, do not send it with your request.
-
setAccessLevel
public void setAccessLevel(AccessLevel accessLevel)
Internal flag, do not send it with your request.- Parameters:
accessLevel
- Internal flag, do not send it with your request.
-
getEdit
public Boolean getEdit()
Is edit allowed.- Returns:
- Is edit allowed.
-
setEdit
public void setEdit(Boolean edit)
Is edit allowed.- Parameters:
edit
- Is edit allowed.
-
getRevoked
public Boolean getRevoked()
If permission were revoked.- Returns:
- If permission were revoked.
-
setRevoked
public void setRevoked(Boolean revoked)
If permission were revoked.- Parameters:
revoked
- If permission were revoked.
-
getPrint
public Boolean getPrint()
Is print allowed.- Returns:
- Is print allowed.
-
setPrint
public void setPrint(Boolean print)
Is print allowed.- Parameters:
print
- Is print allowed.
-
getDownload
public Boolean getDownload()
Is download protected allowed.- Returns:
- Is download protected allowed.
-
setDownload
public void setDownload(Boolean download)
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
public Boolean getProgAccess()
Is programmatic access allowed.- Returns:
- Is programmatic access allowed.
-
setProgAccess
public void setProgAccess(Boolean progAccess)
Is programmatic access allowed.- Parameters:
progAccess
- Is programmatic access allowed.
-
getNeverExpires
public Boolean getNeverExpires()
Never expires- Returns:
- Never expires
-
setNeverExpires
public void setNeverExpires(Boolean neverExpires)
Never expires- Parameters:
neverExpires
- Never expires
-
getMinExpirationDate
public Date getMinExpirationDate()
Minimum expiration date- Returns:
- Minimum expiration date
-
setMinExpirationDate
public void setMinExpirationDate(Date minExpirationDate)
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
public Boolean getCopy()
Is copy allowed.- Returns:
- Is copy allowed.
-
setCopy
public void setCopy(Boolean copy)
Is copy allowed.- Parameters:
copy
- Is copy allowed.
-
getSpotlight
public Boolean getSpotlight()
Is spotlight on.- Returns:
- Is spotlight on.
-
setSpotlight
public void setSpotlight(Boolean spotlight)
Is spotlight on.- Parameters:
spotlight
- Is spotlight on.
-
getExpirationDate
public Date 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
public void setExpirationDate(Date expirationDate)
Expiration date of the permission set (default: 1 month) (JSON format)- Parameters:
expirationDate
- Expiration date of the permission set (default: 1 month) (JSON format)
-
-