com.sap.mdm.blobs
Interface PdfBlobRecord

All Superinterfaces:
BinaryBlobRecord, BlobRecord, Cloneable, Record, RepositoryItem

public interface PdfBlobRecord
extends BinaryBlobRecord

An interface representing a PDF record.

The follow values are required to create a PDF record.

The following values are optional.

The following values are set automatically.


Nested Class Summary
 
Nested classes inherited from class com.sap.mdm.data.Record
Record.CheckoutStatus, Record.MatrixType, Record.ModificationStatus
 
Method Summary
 MdmValue getHasThumbnail()
          Returns whether the PDF has a thumbnail.
 void setHasThumbnail(boolean hasThumbnail)
          Sets whether the PDF has a thumbnail (optional).
 void setHasThumbnail(MdmValue hasThumbnail)
          Sets whether the PDF has a thumbnail (optional).
 void setThumbnail(BinaryValue thumbnail)
          Sets the specified thumbnail image for the PDF record (optional).
 
Methods inherited from interface com.sap.mdm.blobs.BinaryBlobRecord
getBinary, getDataLocationId, getHasOriginal, getName, getOriginalName, getSource, setBinary, setBinary, setDataLocationId, setHasOriginal, setHasOriginal, setName, setName, setOriginalName, setOriginalName, setSource
 
Methods inherited from interface com.sap.mdm.blobs.BlobRecord
getCode, getDataGroupId, getDataSize, getDescription, setCode, setDataGroupId, setDataSize, setDataSize, setDescription, setDescription
 
Methods inherited from interface com.sap.mdm.data.Record
clone, containsAttribute, containsField, findLookupRecords, getAttributes, getAttributeValue, getChangeStamp, getCheckoutStatus, getDefaultRegionCode, getDisplayValue, getFields, getFieldValue, getId, getLookupDisplayValue, getMatrixType, getMetadata, getModificationStatus, getMultiregionFieldValue, getReverseLookupRecords, getReverseLookups, getTable, getTupleDisplayValue, hasFieldValue, isInWorkflow, isProtected, isQualifiedField, isTaxonomyField, setAttributeValue, setFieldValue, setMatrixType, toString, toString, toString, toString
 

Method Detail

getHasThumbnail

public MdmValue getHasThumbnail()
Returns whether the PDF has a thumbnail.

Returns:
true if it has a thumbnail, otherwise false

setHasThumbnail

public void setHasThumbnail(MdmValue hasThumbnail)
                     throws IllegalArgumentException,
                            MdmValueTypeException
Sets whether the PDF has a thumbnail (optional). It is automatically set.

Parameters:
hasThumbnail - true if it has a thumbnail, otherwise false
Throws:
IllegalArgumentException
MdmValueTypeException

setHasThumbnail

public void setHasThumbnail(boolean hasThumbnail)
Sets whether the PDF has a thumbnail (optional). It is automatically set.

Parameters:
hasThumbnail - true if it has a thumbnail, otherwise false
Throws:
IllegalArgumentException
MdmValueTypeException
Since:
5.5 SP6 Patch 04

setThumbnail

public void setThumbnail(BinaryValue thumbnail)
                  throws IllegalArgumentException,
                         MdmValueTypeException
Sets the specified thumbnail image for the PDF record (optional).

Note: can be used only when creating a PDF record.

Parameters:
thumbnail - a JPEG/JIFF image of maximum size 2MB
Throws:
IllegalArgumentException - if the parameter value is invalid
MdmValueTypeException - if there is a mismatch between parameter type and value
Since:
7.1 SP9


Copyright 2004-2007 by SAP AG. All Rights Reserved.

SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary.

These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies (SAP Group) for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.