public class QRCodeService extends Object
Constructor and Description |
---|
QRCodeService(RestClient restClient,
String baseUrl) |
Modifier and Type | Method and Description |
---|---|
FieldId |
addQRCode(PackageId packageId,
String documentId,
Field qrCodeField)
Add a QR code field to the document.
|
void |
deleteQRCode(PackageId packageId,
String documentId,
FieldId qrCodeId)
Delete the QR code from document.
|
Field |
getQRCode(PackageId packageId,
String documentId,
FieldId qrCodeId)
Get the QR code from document.
|
void |
modifyQRCode(PackageId packageId,
String documentId,
Field qrCodeField)
Modify the QR code in document.
|
void |
updateQRCodes(PackageId packageId,
String documentId,
List<Field> qrCodeList)
Update all the QR codes for a document.
|
public QRCodeService(RestClient restClient, String baseUrl)
public FieldId addQRCode(PackageId packageId, String documentId, Field qrCodeField)
packageId
- of the DocumentPackage which contains the document to add QR code todocumentId
- of the Document to add QR code toqrCodeField
- the QR code field to addpublic void modifyQRCode(PackageId packageId, String documentId, Field qrCodeField)
packageId
- of the DocumentPackage which contains the document with the QR code to modifydocumentId
- of the Document which contains the QR code to modifyqrCodeField
- the new QR code fieldpublic Field getQRCode(PackageId packageId, String documentId, FieldId qrCodeId)
packageId
- of the DocumentPackage which contains the document with the QR code to getdocumentId
- of the Document to get QR code fromqrCodeId
- of the QR code to getpublic void deleteQRCode(PackageId packageId, String documentId, FieldId qrCodeId)
packageId
- documentId
- of the Document which contains the QR code to deleteqrCodeId
- of the QR code to deletepublic void updateQRCodes(PackageId packageId, String documentId, List<Field> qrCodeList)
packageId
- of the DocumentPackage which contains the document with QR codes to updatedocumentId
- of the Document which contains the QR codes to updateqrCodeList
- The list of QR codes (Field) to update for documentCopyright 2014, Silanis Technology, Inc. All rights reserved.