Class PortfolioExtractType
- java.lang.Object
-
- net.webpdf.wsclient.schema.operation.PortfolioExtractType
-
public class PortfolioExtractType extends Object
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p186898_="http://jaxb2-commons.dev.java.net/basic/inheritance" xmlns:p243_="http://jaxb2-commons.dev.java.net/basic/simplify" xmlns:p722845_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Extracts one or more documents from the portfolio. The result will be returned as a ZIP document. The ZIP document will not only contain the extracted files, but will also reproduce the folder structure in which the documents were found.</p>
Java class for PortfolioExtractType complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="PortfolioExtractType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <choice maxOccurs="unbounded"> <element name="selection" type="{http://schema.webpdf.de/1.0/operation}PortfolioSelectionType"/> </choice> <attribute name="singleFileAsZip" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected List<PortfolioSelectionType>selectionprotected BooleansingleFileAsZip<?
-
Constructor Summary
Constructors Constructor Description PortfolioExtractType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<PortfolioSelectionType>getSelection()Gets the value of the selection property.booleanisSetSelection()booleanisSetSingleFileAsZip()booleanisSingleFileAsZip()<?voidsetSingleFileAsZip(boolean value)Sets the value of the singleFileAsZip property.voidunsetSelection()voidunsetSingleFileAsZip()
-
-
-
Field Detail
-
selection
protected List<PortfolioSelectionType> selection
-
singleFileAsZip
protected Boolean singleFileAsZip
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p186898_="http://jaxb2-commons.dev.java.net/basic/inheritance" xmlns:p243_="http://jaxb2-commons.dev.java.net/basic/simplify" xmlns:p722845_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">The returned attachments will be generated as a ZIP file even if selection is used to select only one single file. You can change this behaviour by setting this option to "false". In this case, the file will not be zipped, and will instead be returned directly as is. However, this will only work if selection has been used to select one file and one file only.</p>
-
-
Method Detail
-
getSelection
public List<PortfolioSelectionType> getSelection()
Gets the value of the selection property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the selection property.For example, to add a new item, do as follows:
getSelection().add(newItem);
Objects of the following type(s) are allowed in the list
PortfolioSelectionType- Returns:
- The value of the selection property.
-
isSetSelection
public boolean isSetSelection()
-
unsetSelection
public void unsetSelection()
-
isSingleFileAsZip
public boolean isSingleFileAsZip()
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p186898_="http://jaxb2-commons.dev.java.net/basic/inheritance" xmlns:p243_="http://jaxb2-commons.dev.java.net/basic/simplify" xmlns:p722845_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">The returned attachments will be generated as a ZIP file even if selection is used to select only one single file. You can change this behaviour by setting this option to "false". In this case, the file will not be zipped, and will instead be returned directly as is. However, this will only work if selection has been used to select one file and one file only.</p>
- Returns:
- possible object is
Boolean
-
setSingleFileAsZip
public void setSingleFileAsZip(boolean value)
Sets the value of the singleFileAsZip property.- Parameters:
value- allowed object isBoolean- See Also:
isSingleFileAsZip()
-
isSetSingleFileAsZip
public boolean isSetSingleFileAsZip()
-
unsetSingleFileAsZip
public void unsetSingleFileAsZip()
-
-