public class ProtectionProperties extends ResourceBase
| Constructor and Description |
|---|
ProtectionProperties() |
| Modifier and Type | Method and Description |
|---|---|
ProtectionProperties |
encryptDocumentProperties(Boolean encryptDocumentProperties) |
boolean |
equals(Object o) |
Boolean |
getIsEncrypted()
Returns true if the presentation protected for reading.
|
Boolean |
getIsWriteProtected()
Returns true if the presentation protected for editing.
|
String |
getReadPassword()
Password for read protection.
|
String |
getWritePassword()
Password for write protection.
|
int |
hashCode() |
Boolean |
isEncryptDocumentProperties()
True if document properties are encrypted.
|
ProtectionProperties |
isEncrypted(Boolean isEncrypted) |
Boolean |
isReadOnlyRecommended()
True if the document should be opened as read-only.
|
ProtectionProperties |
isWriteProtected(Boolean isWriteProtected) |
ProtectionProperties |
readOnlyRecommended(Boolean readOnlyRecommended) |
ProtectionProperties |
readPassword(String readPassword) |
void |
setEncryptDocumentProperties(Boolean encryptDocumentProperties) |
void |
setIsEncrypted(Boolean isEncrypted) |
void |
setIsWriteProtected(Boolean isWriteProtected) |
void |
setReadOnlyRecommended(Boolean readOnlyRecommended) |
void |
setReadPassword(String readPassword) |
void |
setWritePassword(String writePassword) |
String |
toString() |
ProtectionProperties |
writePassword(String writePassword) |
getAlternateLinks, getSelfUri, selfUri, setAlternateLinks, setSelfUripublic ProtectionProperties encryptDocumentProperties(Boolean encryptDocumentProperties)
public Boolean isEncryptDocumentProperties()
public void setEncryptDocumentProperties(Boolean encryptDocumentProperties)
public ProtectionProperties readOnlyRecommended(Boolean readOnlyRecommended)
public Boolean isReadOnlyRecommended()
public void setReadOnlyRecommended(Boolean readOnlyRecommended)
public ProtectionProperties readPassword(String readPassword)
public String getReadPassword()
public void setReadPassword(String readPassword)
public ProtectionProperties writePassword(String writePassword)
public String getWritePassword()
public void setWritePassword(String writePassword)
public ProtectionProperties isWriteProtected(Boolean isWriteProtected)
public Boolean getIsWriteProtected()
public void setIsWriteProtected(Boolean isWriteProtected)
public ProtectionProperties isEncrypted(Boolean isEncrypted)
public Boolean getIsEncrypted()
public void setIsEncrypted(Boolean isEncrypted)
public boolean equals(Object o)
equals in class ResourceBasepublic int hashCode()
hashCode in class ResourceBasepublic String toString()
toString in class ResourceBaseCopyright © 2025. All rights reserved.