Package net.webpdf.wsclient.openapi
Class DocumentPassword
- java.lang.Object
-
- net.webpdf.wsclient.openapi.DocumentPassword
-
public class DocumentPassword extends Object
Contains password information if it is a PDF document
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_IS_CERTIFICATE_SETstatic StringJSON_PROPERTY_IS_OPEN_SETstatic StringJSON_PROPERTY_IS_PERMISSION_SETstatic StringJSON_PROPERTY_RECIPIENTS
-
Constructor Summary
Constructors Constructor Description DocumentPassword()DocumentPassword(Boolean isCertificateSet, Boolean isOpenSet, Boolean isPermissionSet, List<DocumentRecipient> recipients)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)@Nullable BooleangetIsCertificateSet()True, if an certificate is set@Nullable BooleangetIsOpenSet()True, if an open password is set@Nullable BooleangetIsPermissionSet()True, if an permission password is set@Nullable List<DocumentRecipient>getRecipients()List of recipients which are allowed to open the documentinthashCode()StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_IS_CERTIFICATE_SET
public static final String JSON_PROPERTY_IS_CERTIFICATE_SET
- See Also:
- Constant Field Values
-
JSON_PROPERTY_IS_OPEN_SET
public static final String JSON_PROPERTY_IS_OPEN_SET
- See Also:
- Constant Field Values
-
JSON_PROPERTY_IS_PERMISSION_SET
public static final String JSON_PROPERTY_IS_PERMISSION_SET
- See Also:
- Constant Field Values
-
JSON_PROPERTY_RECIPIENTS
public static final String JSON_PROPERTY_RECIPIENTS
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DocumentPassword
public DocumentPassword()
-
DocumentPassword
public DocumentPassword(Boolean isCertificateSet, Boolean isOpenSet, Boolean isPermissionSet, List<DocumentRecipient> recipients)
-
-
Method Detail
-
getIsCertificateSet
@Nullable public @Nullable Boolean getIsCertificateSet()
True, if an certificate is set- Returns:
- isCertificateSet
-
getIsOpenSet
@Nullable public @Nullable Boolean getIsOpenSet()
True, if an open password is set- Returns:
- isOpenSet
-
getIsPermissionSet
@Nullable public @Nullable Boolean getIsPermissionSet()
True, if an permission password is set- Returns:
- isPermissionSet
-
getRecipients
@Nullable public @Nullable List<DocumentRecipient> getRecipients()
List of recipients which are allowed to open the document- Returns:
- recipients
-
-