Class PermissionSetJson
java.lang.Object
com.blackberry.workspaces.sdk.api.json.BaseJson
com.blackberry.workspaces.sdk.api.json.PermissionSetJson
- All Implemented Interfaces:
Serializable
public class PermissionSetJson extends BaseJson
Various permissions
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description PermissionSetJson()
-
Method Summary
Modifier and Type Method Description YesNoDefault
getComment()
Is comment allowed.YesNoDefault
getCopy()
Is copy allowed.YesNoDefault
getDownloadControlled()
Is download protected allowed.YesNoDefault
getDownloadOriginal()
Is download original allowed.YesNoDefault
getEdit()
Is edit allowed.ExpirationOptions
getExpiration()
Date
getExpirationDate()
Expiration date of the permission set (if expiration is SPECIFIC)YesNoDefault
getPrint()
Is print allowed.YesNoDefault
getProgrammaticAccess()
Is programmatic access allowed.YesNoDefault
getSpotlight()
Is spotlight on.YesNoDefault
getWatermark()
Is watermark on.void
setComment(YesNoDefault comment)
Is comment allowed.void
setCopy(YesNoDefault copy)
Is copy allowed.void
setDownloadControlled(YesNoDefault downloadControlled)
Is download protected allowed.void
setDownloadOriginal(YesNoDefault downloadOriginal)
Is download original allowed.void
setEdit(YesNoDefault edit)
Is edit allowed.void
setExpiration(ExpirationOptions expiration)
void
setExpirationDate(Date expirationDate)
Expiration date of the permission set (if expiration is SPECIFIC)void
setPrint(YesNoDefault print)
Is print allowed.void
setProgrammaticAccess(YesNoDefault programmaticAccess)
Is programmatic access allowed.void
setSpotlight(YesNoDefault spotlight)
Is spotlight on.void
setWatermark(YesNoDefault watermark)
Is watermark on.Methods inherited from class com.blackberry.workspaces.sdk.api.json.BaseJson
getObjType, setObjType, toString
-
Constructor Details
-
PermissionSetJson
public PermissionSetJson()
-
-
Method Details
-
getPrint
Is print allowed.- Returns:
- Is print allowed.
-
setPrint
Is print allowed.- Parameters:
print
- Is print allowed.
-
getWatermark
Is watermark on.- Returns:
- Is watermark on.
-
setWatermark
Is watermark on.- Parameters:
watermark
- Is watermark on.
-
getDownloadOriginal
Is download original allowed.- Returns:
- Is download original allowed.
-
setDownloadOriginal
Is download original allowed.- Parameters:
downloadOriginal
- Is download original allowed.
-
getEdit
Is edit allowed.- Returns:
- Is edit allowed.
-
setEdit
Is edit allowed.- Parameters:
edit
- Is edit allowed.
-
getProgrammaticAccess
Is programmatic access allowed.- Returns:
- Is programmatic access allowed.
-
setProgrammaticAccess
Is programmatic access allowed.- Parameters:
programmaticAccess
- Is programmatic access allowed.
-
getDownloadControlled
Is download protected allowed.- Returns:
- Is download protected allowed.
-
setDownloadControlled
Is download protected allowed.- Parameters:
downloadControlled
- Is download protected allowed.
-
getExpiration
-
setExpiration
-
getComment
Is comment allowed.- Returns:
- Is comment allowed.
-
setComment
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 (if expiration is SPECIFIC)- Returns:
- Expiration date of the permission set (if expiration is SPECIFIC)
-
setExpirationDate
Expiration date of the permission set (if expiration is SPECIFIC)- Parameters:
expirationDate
- Expiration date of the permission set (if expiration is SPECIFIC)
-