Package net.webpdf.wsclient.openapi
Class MetadataSecurity
- java.lang.Object
-
- net.webpdf.wsclient.openapi.MetadataSecurity
-
public class MetadataSecurity extends Object
An element of this type shall contain information concerning the security settings, manipulation protection and used password of a PDF document.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_CAN_ASSEMBLEstatic StringJSON_PROPERTY_CAN_EXTRACT_CONTENTstatic StringJSON_PROPERTY_CAN_EXTRACT_FOR_ACCESSIBILITYstatic StringJSON_PROPERTY_CAN_FILL_IN_FORMstatic StringJSON_PROPERTY_CAN_MODIFYstatic StringJSON_PROPERTY_CAN_MODIFY_ANNOTATIONSstatic StringJSON_PROPERTY_CAN_PRINTstatic StringJSON_PROPERTY_CAN_PRINT_HIGH_RESstatic StringJSON_PROPERTY_PASSWORD
-
Constructor Summary
Constructors Constructor Description MetadataSecurity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MetadataSecuritycanAssemble(Boolean canAssemble)MetadataSecuritycanExtractContent(Boolean canExtractContent)MetadataSecuritycanExtractForAccessibility(Boolean canExtractForAccessibility)MetadataSecuritycanFillInForm(Boolean canFillInForm)MetadataSecuritycanModify(Boolean canModify)MetadataSecuritycanModifyAnnotations(Boolean canModifyAnnotations)MetadataSecuritycanPrint(Boolean canPrint)MetadataSecuritycanPrintHighRes(Boolean canPrintHighRes)booleanequals(Object o)@Nullable BooleangetCanAssemble()If \"true,\" the document can be rearranged (e.g., pages can be deleted, inserted, and rotated).@Nullable BooleangetCanExtractContent()If \"true,\" content can be extracted (copied) from the document.@Nullable BooleangetCanExtractForAccessibility()If \"true,\" content can be extracted (copied) for accessibility purposes.@Nullable BooleangetCanFillInForm()If \"true,\" form fields can be filled out and the document can be signed.@Nullable BooleangetCanModify()If \"true,\" changes to the document are permitted.@Nullable BooleangetCanModifyAnnotations()If \"true,\" comments can be added to the document and deleted from the document.@Nullable BooleangetCanPrint()If \"true,\" the document can be printed.@Nullable BooleangetCanPrintHighRes()If \"true,\" the document can be printed at high resolution levels.@Nullable MetadataPasswordgetPassword()Get passwordinthashCode()MetadataSecuritypassword(MetadataPassword password)voidsetCanAssemble(Boolean canAssemble)voidsetCanExtractContent(Boolean canExtractContent)voidsetCanExtractForAccessibility(Boolean canExtractForAccessibility)voidsetCanFillInForm(Boolean canFillInForm)voidsetCanModify(Boolean canModify)voidsetCanModifyAnnotations(Boolean canModifyAnnotations)voidsetCanPrint(Boolean canPrint)voidsetCanPrintHighRes(Boolean canPrintHighRes)voidsetPassword(MetadataPassword password)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_CAN_ASSEMBLE
public static final String JSON_PROPERTY_CAN_ASSEMBLE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CAN_EXTRACT_CONTENT
public static final String JSON_PROPERTY_CAN_EXTRACT_CONTENT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CAN_EXTRACT_FOR_ACCESSIBILITY
public static final String JSON_PROPERTY_CAN_EXTRACT_FOR_ACCESSIBILITY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CAN_FILL_IN_FORM
public static final String JSON_PROPERTY_CAN_FILL_IN_FORM
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CAN_MODIFY
public static final String JSON_PROPERTY_CAN_MODIFY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CAN_MODIFY_ANNOTATIONS
public static final String JSON_PROPERTY_CAN_MODIFY_ANNOTATIONS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CAN_PRINT
public static final String JSON_PROPERTY_CAN_PRINT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CAN_PRINT_HIGH_RES
public static final String JSON_PROPERTY_CAN_PRINT_HIGH_RES
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PASSWORD
public static final String JSON_PROPERTY_PASSWORD
- See Also:
- Constant Field Values
-
-
Method Detail
-
canAssemble
public MetadataSecurity canAssemble(Boolean canAssemble)
-
getCanAssemble
@Nullable public @Nullable Boolean getCanAssemble()
If \"true,\" the document can be rearranged (e.g., pages can be deleted, inserted, and rotated).- Returns:
- canAssemble
-
setCanAssemble
public void setCanAssemble(Boolean canAssemble)
-
canExtractContent
public MetadataSecurity canExtractContent(Boolean canExtractContent)
-
getCanExtractContent
@Nullable public @Nullable Boolean getCanExtractContent()
If \"true,\" content can be extracted (copied) from the document.- Returns:
- canExtractContent
-
setCanExtractContent
public void setCanExtractContent(Boolean canExtractContent)
-
canExtractForAccessibility
public MetadataSecurity canExtractForAccessibility(Boolean canExtractForAccessibility)
-
getCanExtractForAccessibility
@Nullable public @Nullable Boolean getCanExtractForAccessibility()
If \"true,\" content can be extracted (copied) for accessibility purposes.- Returns:
- canExtractForAccessibility
-
setCanExtractForAccessibility
public void setCanExtractForAccessibility(Boolean canExtractForAccessibility)
-
canFillInForm
public MetadataSecurity canFillInForm(Boolean canFillInForm)
-
getCanFillInForm
@Nullable public @Nullable Boolean getCanFillInForm()
If \"true,\" form fields can be filled out and the document can be signed.- Returns:
- canFillInForm
-
setCanFillInForm
public void setCanFillInForm(Boolean canFillInForm)
-
canModify
public MetadataSecurity canModify(Boolean canModify)
-
getCanModify
@Nullable public @Nullable Boolean getCanModify()
If \"true,\" changes to the document are permitted.- Returns:
- canModify
-
setCanModify
public void setCanModify(Boolean canModify)
-
canModifyAnnotations
public MetadataSecurity canModifyAnnotations(Boolean canModifyAnnotations)
-
getCanModifyAnnotations
@Nullable public @Nullable Boolean getCanModifyAnnotations()
If \"true,\" comments can be added to the document and deleted from the document.- Returns:
- canModifyAnnotations
-
setCanModifyAnnotations
public void setCanModifyAnnotations(Boolean canModifyAnnotations)
-
canPrint
public MetadataSecurity canPrint(Boolean canPrint)
-
getCanPrint
@Nullable public @Nullable Boolean getCanPrint()
If \"true,\" the document can be printed.- Returns:
- canPrint
-
setCanPrint
public void setCanPrint(Boolean canPrint)
-
canPrintHighRes
public MetadataSecurity canPrintHighRes(Boolean canPrintHighRes)
-
getCanPrintHighRes
@Nullable public @Nullable Boolean getCanPrintHighRes()
If \"true,\" the document can be printed at high resolution levels.- Returns:
- canPrintHighRes
-
setCanPrintHighRes
public void setCanPrintHighRes(Boolean canPrintHighRes)
-
password
public MetadataSecurity password(MetadataPassword password)
-
getPassword
@Nullable public @Nullable MetadataPassword getPassword()
Get password- Returns:
- password
-
setPassword
public void setPassword(MetadataPassword password)
-
-