com.openindex.openestate.tool.agency.export
Class ImmoXmlExport

java.lang.Object
  extended by com.openindex.openestate.tool.agency.export.AbstractExport
      extended by com.openindex.openestate.tool.agency.export.AbstractXmlExport
          extended by com.openindex.openestate.tool.agency.export.ImmoXmlExport
Direct Known Subclasses:
ImmoPoolExport

public class ImmoXmlExport
extends AbstractXmlExport

Konfiguration eines Exportes im ImmoXML-Format.
$Id: ImmoXmlExport.java 1548 2012-05-28 16:29:41Z andy $

Author:
Andreas Rudolph

Field Summary
static String ATTACHMENT_LOCATION_EXTERN
           
static String ATTACHMENT_LOCATION_INTERN
           
static String KEY_AGENT_ID
           
static String KEY_ATTACHMENT_LOCATION
           
static String KEY_IMMOXML_AGENT_ID
           
static String KEY_PRICE_PUBLISHING
           
static String KEY_PUBLIC_ID_SUBMITTED
           
static String KEY_TECHN_MAIL
           
static String NAME
           
 
Fields inherited from class com.openindex.openestate.tool.agency.export.AbstractXmlExport
KEY_LINEBREAK, LINEBREAK_HTML, LINEBREAK_NATIVE, LINEBREAK_XHTML
 
Fields inherited from class com.openindex.openestate.tool.agency.export.AbstractExport
IMAGEMODE_BASE64, IMAGEMODE_DISABLED, IMAGEMODE_FILE, KEY_ID_PREFIX, KEY_IMAGE_ALL, KEY_IMAGE_COUNT, KEY_IMAGE_SCALE, KEY_IMAGE_SCALE_HEIGHT, KEY_IMAGE_SCALE_WIDTH, KEY_IMAGE_WATERMARK, KEY_IMAGE_WATERMARK_ALPHA, KEY_IMAGE_WATERMARK_HEIGHT, KEY_IMAGE_WATERMARK_POSITION, KEY_IMAGE_WATERMARK_WIDTH, KEY_IMAGEMODE, KEY_INCREMENTAL, KEY_LANGUAGE, KEY_MIME_TYPES, KEY_UNPUBLISHED_ADDRESS_HIDDEN, KEY_VIDEO_COUNT, KEY_ZIPPED, POSITION_BOTTOM_CENTER, POSITION_BOTTOM_LEFT, POSITION_BOTTOM_RIGHT, POSITION_CENTER_CENTER, POSITION_CENTER_LEFT, POSITION_CENTER_RIGHT, POSITION_TOP_CENTER, POSITION_TOP_LEFT, POSITION_TOP_RIGHT
 
Constructor Summary
ImmoXmlExport()
           
 
Method Summary
 AbstractExportPanel createSetupPanel()
           
 Object doConvert(AgencyExportSummary summary, SerializableXmlElement element, boolean incremental, Map<String,String> errors)
           
protected  void doWrite(Object obj, Writer w)
           
 String getAgentId()
           
 String getAttachmentLocation()
           
protected  boolean getEstateForUpdate(AgencyEstate estate)
          Vorbereitung einer Immobilie, bevor diese in den Transfer aufgenommen wird.
 String getImmoxmlAgentId()
           
 String getName()
           
 String getPricePublishing()
           
 String getTechnMail()
           
 String getTitle()
           
 boolean isPublicIdSubmitted()
           
 void load(Properties props)
           
 void save(Properties props)
           
 void setAgentId(String id)
           
 void setAttachmentLocation(String val)
           
 void setImmoxmlAgentId(String id)
           
 void setLanguage(Locale val)
           
 void setPricePublishing(String pricePublishing)
           
 void setPublicIdSubmitted(boolean val)
           
 void setTechnMail(String val)
           
 boolean supportsIncrementalUpdate()
           
 
Methods inherited from class com.openindex.openestate.tool.agency.export.AbstractXmlExport
buildFileList, doExport, getLineBreak, getXmlFileName, handleAttachments, setLineBreak
 
Methods inherited from class com.openindex.openestate.tool.agency.export.AbstractExport
buildTransfer, canExportAttachment, canTransportAttachment, convertImage, convertImage, doFinishExport, doFinishFtpTransport, doPrepareFtpTransport, getAddressPublishing, getAttachmentDirectory, getEstateIdForRemoval, getExportDirectory, getIdPrefix, getImageCount, getImageMode, getLocale, getMimeTypes, getPositions, getRequiredMimeTypes, getScaleImageHeight, getScaleImageWidth, getVideoCount, getWatermarkAlpha, getWatermarkHeight, getWatermarkPosition, getWatermarkWidth, getZipFileName, handleAttachmentsAsBase64, handleAttachmentsAsFiles, handleErrors, initWatermarkLogo, isAllImagesExported, isFullTransportWarningShown, isImageModeBase64, isImageModeDisabled, isImageModeFile, isIncremental, isScaleImages, isUnpublishedAddressHidden, isWatermark, isZipped, listAvailableExports, loadAgent, loadAgentContact, loadEstate, loadEstateAttachment, loadEstateCollection, loadEstateIds, setAddressPublishing, setAllImagesExported, setFullTransportWarningShown, setIdPrefix, setImageCount, setImageMode, setIncremental, setScaleImageHeight, setScaleImages, setScaleImageWidth, setUnpublishedAddressHidden, setVideoCount, setWatermark, setWatermarkAlpha, setWatermarkHeight, setWatermarkPosition, setWatermarkWidth, setZipped, supportsEstateType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

public static final String NAME
See Also:
Constant Field Values

KEY_AGENT_ID

public static final String KEY_AGENT_ID
See Also:
Constant Field Values

KEY_TECHN_MAIL

public static final String KEY_TECHN_MAIL
See Also:
Constant Field Values

KEY_IMMOXML_AGENT_ID

public static final String KEY_IMMOXML_AGENT_ID
See Also:
Constant Field Values

KEY_PUBLIC_ID_SUBMITTED

public static final String KEY_PUBLIC_ID_SUBMITTED
See Also:
Constant Field Values

KEY_PRICE_PUBLISHING

public static final String KEY_PRICE_PUBLISHING
See Also:
Constant Field Values

KEY_ATTACHMENT_LOCATION

public static final String KEY_ATTACHMENT_LOCATION
See Also:
Constant Field Values

ATTACHMENT_LOCATION_EXTERN

public static final String ATTACHMENT_LOCATION_EXTERN
See Also:
Constant Field Values

ATTACHMENT_LOCATION_INTERN

public static final String ATTACHMENT_LOCATION_INTERN
See Also:
Constant Field Values
Constructor Detail

ImmoXmlExport

public ImmoXmlExport()
Method Detail

createSetupPanel

public AbstractExportPanel createSetupPanel()
Specified by:
createSetupPanel in class AbstractExport

doConvert

public Object doConvert(AgencyExportSummary summary,
                        SerializableXmlElement element,
                        boolean incremental,
                        Map<String,String> errors)
Overrides:
doConvert in class AbstractXmlExport

doWrite

protected void doWrite(Object obj,
                       Writer w)
                throws IOException
Specified by:
doWrite in class AbstractXmlExport
Throws:
IOException

getAgentId

public String getAgentId()

getAttachmentLocation

public String getAttachmentLocation()

getEstateForUpdate

protected boolean getEstateForUpdate(AgencyEstate estate)
Description copied from class: AbstractExport
Vorbereitung einer Immobilie, bevor diese in den Transfer aufgenommen wird.

Overrides:
getEstateForUpdate in class AbstractExport
Parameters:
estate - zu transferierende Immobilie
Returns:
true, wenn die Immobilie in den Transfer aufgenommen werden kann.

getImmoxmlAgentId

public String getImmoxmlAgentId()

getName

public String getName()
Specified by:
getName in class AbstractExport

getPricePublishing

public String getPricePublishing()

getTechnMail

public String getTechnMail()

getTitle

public String getTitle()
Specified by:
getTitle in class AbstractExport

isPublicIdSubmitted

public boolean isPublicIdSubmitted()

load

public void load(Properties props)
Overrides:
load in class AbstractExport

save

public void save(Properties props)
Overrides:
save in class AbstractExport

setAgentId

public void setAgentId(String id)

setAttachmentLocation

public void setAttachmentLocation(String val)

setImmoxmlAgentId

public void setImmoxmlAgentId(String id)

setLanguage

public void setLanguage(Locale val)
Overrides:
setLanguage in class AbstractExport

setPricePublishing

public void setPricePublishing(String pricePublishing)

setPublicIdSubmitted

public void setPublicIdSubmitted(boolean val)

setTechnMail

public void setTechnMail(String val)

supportsIncrementalUpdate

public final boolean supportsIncrementalUpdate()
Specified by:
supportsIncrementalUpdate in class AbstractExport


Copyright © 2012 OpenEstate. All Rights Reserved.