Package net.webpdf.wsclient.openapi
Class OperationAppearanceAdd
- java.lang.Object
-
- net.webpdf.wsclient.openapi.OperationAppearanceAdd
-
public class OperationAppearanceAdd extends Object
Used to define the signature's visual appearance.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_IDENTIFIERstatic StringJSON_PROPERTY_IDENTIFIER_ELEMENTSstatic StringJSON_PROPERTY_IMAGEstatic StringJSON_PROPERTY_NAMEstatic StringJSON_PROPERTY_PAGEstatic StringJSON_PROPERTY_POSITIONstatic StringJSON_PROPERTY_SHOW_COMMON_NAME
-
Constructor Summary
Constructors Constructor Description OperationAppearanceAdd()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)@Nullable StringgetIdentifier()Text that should be displayed in the signature's right-hand side text field.@Nullable OperationSignatureIdentifiergetIdentifierElements()Get identifierElements@Nullable OperationSignatureImagegetImage()Get image@Nullable StringgetName()Name that will be displayed in the signature's left-hand side area.@Nullable IntegergetPage()Defines the page on which the signature is to be displayed.@Nullable OperationSignaturePositiongetPosition()Get position@Nullable BooleangetShowCommonName()Displays or hides the certificate name (CN) of the certificate in the signature's left-hand side area.inthashCode()OperationAppearanceAddidentifier(String identifier)OperationAppearanceAddidentifierElements(OperationSignatureIdentifier identifierElements)OperationAppearanceAddimage(OperationSignatureImage image)OperationAppearanceAddname(String name)OperationAppearanceAddpage(Integer page)OperationAppearanceAddposition(OperationSignaturePosition position)voidsetIdentifier(String identifier)voidsetIdentifierElements(OperationSignatureIdentifier identifierElements)voidsetImage(OperationSignatureImage image)voidsetName(String name)voidsetPage(Integer page)voidsetPosition(OperationSignaturePosition position)voidsetShowCommonName(Boolean showCommonName)OperationAppearanceAddshowCommonName(Boolean showCommonName)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_IDENTIFIER
public static final String JSON_PROPERTY_IDENTIFIER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_IDENTIFIER_ELEMENTS
public static final String JSON_PROPERTY_IDENTIFIER_ELEMENTS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_IMAGE
public static final String JSON_PROPERTY_IMAGE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PAGE
public static final String JSON_PROPERTY_PAGE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_POSITION
public static final String JSON_PROPERTY_POSITION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SHOW_COMMON_NAME
public static final String JSON_PROPERTY_SHOW_COMMON_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
identifier
public OperationAppearanceAdd identifier(String identifier)
-
getIdentifier
@Nullable public @Nullable String getIdentifier()
Text that should be displayed in the signature's right-hand side text field. If a value is not specified, the field will display the name of the signatory and the name parts of the certificate (please refer to `<identifierElements>` further below).- Returns:
- identifier
-
setIdentifier
public void setIdentifier(String identifier)
-
identifierElements
public OperationAppearanceAdd identifierElements(OperationSignatureIdentifier identifierElements)
-
getIdentifierElements
@Nullable public @Nullable OperationSignatureIdentifier getIdentifierElements()
Get identifierElements- Returns:
- identifierElements
-
setIdentifierElements
public void setIdentifierElements(OperationSignatureIdentifier identifierElements)
-
image
public OperationAppearanceAdd image(OperationSignatureImage image)
-
getImage
@Nullable public @Nullable OperationSignatureImage getImage()
Get image- Returns:
- image
-
setImage
public void setImage(OperationSignatureImage image)
-
name
public OperationAppearanceAdd name(String name)
-
getName
@Nullable public @Nullable String getName()
Name that will be displayed in the signature's left-hand side area. If no value is specified, the name of the signer is displayed in this area (CN name part from the certificate) if `showCommonName` is enabled.- Returns:
- name
-
setName
public void setName(String name)
-
page
public OperationAppearanceAdd page(Integer page)
-
getPage
@Nullable public @Nullable Integer getPage()
Defines the page on which the signature is to be displayed. minimum: 1- Returns:
- page
-
setPage
public void setPage(Integer page)
-
position
public OperationAppearanceAdd position(OperationSignaturePosition position)
-
getPosition
@Nullable public @Nullable OperationSignaturePosition getPosition()
Get position- Returns:
- position
-
setPosition
public void setPosition(OperationSignaturePosition position)
-
showCommonName
public OperationAppearanceAdd showCommonName(Boolean showCommonName)
-
getShowCommonName
@Nullable public @Nullable Boolean getShowCommonName()
Displays or hides the certificate name (CN) of the certificate in the signature's left-hand side area. A set `name` always has priority over the setting of this option.- Returns:
- showCommonName
-
setShowCommonName
public void setShowCommonName(Boolean showCommonName)
-
-