public class PermissionFromUserJson extends BaseJson
Constructor and Description |
---|
PermissionFromUserJson() |
Modifier and Type | Method and Description |
---|---|
boolean |
getComment()
Deprecated.
|
boolean |
getCopy()
Deprecated.
|
Integer |
getDefaultExpirationDays()
The Amount of days to have files available for workspace default
permissions.
|
boolean |
getDownload()
Deprecated.
|
boolean |
getDownloadOriginal()
Deprecated.
|
boolean |
getEdit()
Deprecated.
|
Date |
getExpirationDate()
Expiration date for permissions.
|
boolean |
getNeverExpires()
Deprecated.
|
boolean |
getPrint()
Deprecated.
|
boolean |
getProgAccess()
Deprecated.
|
boolean |
getSpotlight()
Deprecated.
|
boolean |
getWatermark()
Deprecated.
|
boolean |
isComment()
Is comment allowed.
|
boolean |
isCopy()
Flag indicating that copying the file is allowed.
|
boolean |
isDownload() |
boolean |
isDownloadOriginal()
Flag indicating that downloading original file is allowed.
|
boolean |
isEdit()
Flag indicating that editing the file is allowed.
|
boolean |
isNeverExpires()
True if this never expires, False if not
|
boolean |
isPrint()
Flag indicating that printing the file is allowed.
|
boolean |
isProgAccess()
Is programmatic access allowed.
|
boolean |
isSpotlight()
Flag indicating the spotlight is on.
|
boolean |
isWatermark()
Flag indicating the watermark is on.
|
void |
setComment(boolean comment)
Is comment allowed.
|
void |
setCopy(boolean copy)
Flag indicating that copying the file is allowed.
|
void |
setDefaultExpirationDays(Integer defaultExpirationDays)
The Amount of days to have files available for workspace default
permissions.
|
void |
setDownload(boolean download) |
void |
setDownloadOriginal(boolean downloadOriginal)
Flag indicating that downloading original file is allowed.
|
void |
setEdit(boolean edit)
Flag indicating that editing the file is allowed.
|
void |
setExpirationDate(Date expirationDate)
Expiration date for permissions.
|
void |
setNeverExpires(boolean neverExpires)
True if this never expires, False if not
|
void |
setPrint(boolean print)
Flag indicating that printing the file is allowed.
|
void |
setProgAccess(boolean progAccess)
Is programmatic access allowed.
|
void |
setSpotlight(boolean spotlight)
Flag indicating the spotlight is on.
|
void |
setWatermark(boolean watermark)
Flag indicating the watermark is on.
|
getObjType, setObjType, toString
public boolean isDownloadOriginal()
@Deprecated public boolean getDownloadOriginal()
public void setDownloadOriginal(boolean downloadOriginal)
downloadOriginal
- Flag indicating that downloading original file
is allowed.public Integer getDefaultExpirationDays()
public void setDefaultExpirationDays(Integer defaultExpirationDays)
defaultExpirationDays
- The Amount of days to have files available
for workspace default permissions. You may decide that files uploaded
will only be available for a certain amount of days after their upload,
to this entity.public boolean isWatermark()
@Deprecated public boolean getWatermark()
public void setWatermark(boolean watermark)
watermark
- Flag indicating the watermark is on.public boolean isEdit()
@Deprecated public boolean getEdit()
public void setEdit(boolean edit)
edit
- Flag indicating that editing the file is allowed.public boolean isPrint()
@Deprecated public boolean getPrint()
public void setPrint(boolean print)
print
- Flag indicating that printing the file is allowed.public boolean isDownload()
@Deprecated public boolean getDownload()
public void setDownload(boolean download)
public boolean isProgAccess()
@Deprecated public boolean getProgAccess()
public void setProgAccess(boolean progAccess)
progAccess
- Is programmatic access allowed.public boolean isNeverExpires()
@Deprecated public boolean getNeverExpires()
public void setNeverExpires(boolean neverExpires)
neverExpires
- True if this never expires, False if notpublic boolean isComment()
@Deprecated public boolean getComment()
public void setComment(boolean comment)
comment
- Is comment allowed.public boolean isCopy()
@Deprecated public boolean getCopy()
public void setCopy(boolean copy)
copy
- Flag indicating that copying the file is allowed.public boolean isSpotlight()
@Deprecated public boolean getSpotlight()
public void setSpotlight(boolean spotlight)
spotlight
- Flag indicating the spotlight is on.public Date getExpirationDate()
public void setExpirationDate(Date expirationDate)
expirationDate
- Expiration date for permissions.Copyright © 2019. All rights reserved.