Class Is24RestFormat
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<String,String>
-
- com.openindex.openestate.tool.agency.export.AbstractFormat
-
- com.openindex.openestate.tool.agency.export.Is24RestFormat
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Map<String,String>
public class Is24RestFormat extends AbstractFormat
Is24RestFormat.- Author:
- Andreas Rudolph
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Is24RestFormat.Writer
-
Nested classes/interfaces inherited from class com.openindex.openestate.tool.agency.export.AbstractFormat
AbstractFormat.AttachmentMarker, AbstractFormat.AttachmentMode, AbstractFormat.Compression, AbstractFormat.DefaultMessageCode, AbstractFormat.HashCalculationException, AbstractFormat.ImageWatermarkPosition, AbstractFormat.NotExportableException, AbstractFormat.TransferMode
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>
-
-
Constructor Summary
Constructors Constructor Description Is24RestFormat()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Is24RestWriter
buildWriter()
String
calculateHashForObject(long estateId, EstateImpl estateItem)
AbstractTransportRequest[]
createExportRequests(AbstractTransport transport, File exportFile, AbstractFormat.TransferMode transferMode)
AbstractFormatPanel
createSetupPanel()
protected File
getAttachmentDirectory(long objectId, EstateAttachmentImpl attachment, File workDirectory)
String
getMessageCodeTranslation(String code, Locale locale)
String
getName()
String[]
getSupportedMimeTypes()
Liefert die von der Export-Schnittstelle fest vorgeschriebenen MIME-Types.AbstractFormat.TransferMode[]
getSupportedTransferModes()
AbstractTransport[]
getSupportedTransports()
String
getTitle()
String
getVersion()
void
initDefaults()
boolean
prepareObjectForExport(long estateId, EstateImpl estate)
File
writeToDisk(File workDir, TransferImpl transfer, ExportContext context)
-
Methods inherited from class com.openindex.openestate.tool.agency.export.AbstractFormat
canPublishAttachment, canPublishLink, createExportProcess, equals, getAgentId, getAgentMail, getAttachmentImageScaleHeight, getAttachmentImageScaleWidth, getAttachmentMimeTypes, getAttachmentMode, getCompressedFileName, getCompression, getFormat, getFormats, getLanguage, getLanguages, getMessageCodeTranslation, getObjectKey, getObjectKey, getPreferredMimeTypes, getPropertyAddressPublication, getPropertyFilePublication, getPropertyImageLimit, getPropertyImageWatermarkAlpha, getPropertyImageWatermarkHeight, getPropertyImageWatermarkMargin, getPropertyImageWatermarkPosition, getPropertyImageWatermarkWidth, getPropertyLinkPublication, getPropertyPrefix, getPropertyPricePublication, getPropertyVideoLimit, hashCode, hasLanguage, isAttachmentImageScale, isFullTransferSupported, isFullTransportWarningShown, isIncrementalTransferSupported, isPropertyAddressHiddenIfUnpublished, isPropertyDescriptionWithEnergyCertificate, isPropertyFileHiddenIfUnpublished, isPropertyImageWatermark, isPropertyLinkHiddenIfUnpublished, isPropertyPriceHiddenIfUnpublished, isPropertyPublicId, listAvailableExports, setAgentId, setAgentMail, setAttachmentImageScale, setAttachmentImageScaleHeight, setAttachmentImageScaleWidth, setAttachmentMimeTypes, setAttachmentMode, setCompression, setLanguage, setLanguages, setPropertyAddressHiddenIfUnpublished, setPropertyAddressPublication, setPropertyDescriptionWithEnergyCertificate, setPropertyFileHiddenIfUnpublished, setPropertyFilePublication, setPropertyImageLimit, setPropertyImageWatermark, setPropertyImageWatermarkAlpha, setPropertyImageWatermarkHeight, setPropertyImageWatermarkMargin, setPropertyImageWatermarkPosition, setPropertyImageWatermarkWidth, setPropertyLinkHiddenIfUnpublished, setPropertyLinkPublication, setPropertyPrefix, setPropertyPriceHiddenIfUnpublished, setPropertyPricePublication, setPropertyPublicId, setPropertyVideoLimit
-
Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
Methods inherited from class java.util.AbstractMap
toString
-
-
-
-
Field Detail
-
GEODB
public static final String GEODB
- See Also:
- Constant Field Values
-
-
Method Detail
-
buildWriter
protected Is24RestWriter buildWriter()
-
calculateHashForObject
public String calculateHashForObject(long estateId, EstateImpl estateItem) throws AbstractFormat.NotExportableException, AbstractFormat.HashCalculationException
- Overrides:
calculateHashForObject
in classAbstractFormat
- Throws:
AbstractFormat.NotExportableException
AbstractFormat.HashCalculationException
-
createExportRequests
public AbstractTransportRequest[] createExportRequests(AbstractTransport transport, File exportFile, AbstractFormat.TransferMode transferMode)
- Overrides:
createExportRequests
in classAbstractFormat
-
createSetupPanel
public AbstractFormatPanel createSetupPanel()
- Specified by:
createSetupPanel
in classAbstractFormat
-
getAttachmentDirectory
protected File getAttachmentDirectory(long objectId, EstateAttachmentImpl attachment, File workDirectory)
- Overrides:
getAttachmentDirectory
in classAbstractFormat
-
getMessageCodeTranslation
public String getMessageCodeTranslation(String code, Locale locale)
- Overrides:
getMessageCodeTranslation
in classAbstractFormat
-
getName
public String getName()
- Specified by:
getName
in classAbstractFormat
-
getSupportedMimeTypes
public String[] getSupportedMimeTypes()
Description copied from class:AbstractFormat
Liefert die von der Export-Schnittstelle fest vorgeschriebenen MIME-Types.- Overrides:
getSupportedMimeTypes
in classAbstractFormat
- Returns:
- Liste der fest vorgeschriebenen MIME-Types, oder null wenn keine Vorgaben existieren.
public String[] getRequiredMimeTypes() { return null; }
-
getSupportedTransferModes
public AbstractFormat.TransferMode[] getSupportedTransferModes()
- Specified by:
getSupportedTransferModes
in classAbstractFormat
-
getSupportedTransports
public AbstractTransport[] getSupportedTransports()
- Specified by:
getSupportedTransports
in classAbstractFormat
-
getTitle
public String getTitle()
- Specified by:
getTitle
in classAbstractFormat
-
getVersion
public String getVersion()
- Overrides:
getVersion
in classAbstractFormat
-
initDefaults
public void initDefaults()
- Overrides:
initDefaults
in classAbstractFormat
-
prepareObjectForExport
public boolean prepareObjectForExport(long estateId, EstateImpl estate)
- Overrides:
prepareObjectForExport
in classAbstractFormat
-
writeToDisk
public File writeToDisk(File workDir, TransferImpl transfer, ExportContext context) throws IOException
- Specified by:
writeToDisk
in classAbstractFormat
- Throws:
IOException
-
-