public abstract class RestWebservice<T_OPERATION_TYPE> extends Object
| Modifier and Type | Method and Description |
|---|---|
@NotNull BillingType |
getBilling()
Returns the
BillingType of the current webservice. |
T_DOC |
getDocument()
Returns the
Document containing the document source. |
@NotNull PdfPasswordType |
getPassword()
Returns the
PdfPasswordType of the current webservice. |
protected abstract void |
initOperation(@NotNull OperationData operation)
Initialize all substructures, that must be set for this webservice to accept parameters for this
webservice type.
|
@Nullable RestDocument |
process()
Execute webservice operation and returns result
|
void |
setDocument(T_DOC document)
Sets the
Document containing the document source. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetOperation, setOperation@Nullable public @Nullable RestDocument process() throws ResultException
ResultException - an ResultException@Nullable public T_DOC getDocument()
Document containing the document source.getDocument in interface WebService<T_DOC extends Document,T_OPERATION_TYPE,T_RESULT>Document containing the document source.public void setDocument(@Nullable
T_DOC document)
Document containing the document source.setDocument in interface WebService<T_DOC extends Document,T_OPERATION_TYPE,T_RESULT>document - sets the Document containing the document source.@NotNull public @NotNull BillingType getBilling()
BillingType of the current webservice.getBilling in interface WebService<T_DOC extends Document,T_OPERATION_TYPE,T_RESULT>BillingType of the current webservice.@NotNull public @NotNull PdfPasswordType getPassword()
PdfPasswordType of the current webservice.getPassword in interface WebService<T_DOC extends Document,T_OPERATION_TYPE,T_RESULT>PdfPasswordType of the current webservice.protected abstract void initOperation(@NotNull
@NotNull OperationData operation)
operation - The operationData that, shall be initialized for webservice execution.Copyright © 2017–2023 SoftVision Development GmbH, Fulda, Germany. All rights reserved.