com.openindex.openestate.tool.agency
Class AgencyExportSummary

java.lang.Object
  extended by com.openindex.openestate.tool.agency.AgencyExportSummary

public class AgencyExportSummary
extends Object

Zusammenfassung eines Exportes.
$Id: AgencyExportSummary.java 1829 2012-10-14 14:24:52Z andy $

Author:
Andreas Rudolph

Field Summary
static String KEY_ESTATE_ERROR
           
static String KEY_ESTATE_ID
          Deprecated. 
static String KEY_ESTATE_REMOVED
           
static String KEY_ESTATE_UPDATED
           
static String KEY_FORMAT
           
static String KEY_FULLTRANSFER
           
static String KEY_ID
           
static String KEY_INTERFACE_ID
           
static String KEY_INTERFACE_LIMIT
           
static String KEY_INTERFACE_NAME
           
static String KEY_MESSAGE
           
static String KEY_SUCCESSFUL
           
static String KEY_TIME
           
static String KEY_TRANSPORT
           
 
Constructor Summary
AgencyExportSummary()
           
 
Method Summary
static AgencyExportSummary buildEmptySummary(AgencyExportInterface exportInterface)
           
static AgencyExportSummary buildSummary(AgencyExportInterface exportInterface)
           
static AgencyExportSummary buildSummary(AgencyExportInterface exportInterface, List<AgencyEstate> estates)
           
static AgencyExportSummary buildSummary(long interfaceId)
           
static AgencyExportSummary buildSummary(long interfaceId, List<AgencyEstate> estates)
           
 Set<Long> getErrorEstateIds()
           
 Map<Long,String> getErrorEstateMap()
           
 String getFormat()
           
 long getId()
           
 long getInterfaceId()
           
 long getInterfaceLimit()
           
 String getInterfaceName()
           
 String getMessage()
           
 List<Long> getRemovedEstateIds()
           
 Map<Long,String> getRemovedEstatePublicIds()
           
 Date getTime()
           
 String getTransport()
           
 List<Long> getUpdatedEstateIds()
           
 boolean isFullTransfer()
           
 boolean isSuccessful()
           
 void load(Properties p)
           
static AgencyExportSummary loadExportSummary(long id)
           
static AgencyExportSummary loadExportSummary(long id, org.xmldb.api.base.Collection exportSummaryCollection)
           
static Long[] loadExportSummaryIds()
           
static Long[] loadExportSummaryIds(org.xmldb.api.base.Collection exportSummaryCollection)
           
static Object readResponse(String type, Reader content)
           
static com.openindex.openestate.impl.xml.openimmo.OpenimmoFeedback readResponseForOpenImmo(Reader content)
           
 void save(Properties p)
           
 void setFormat(String val)
           
 void setFullTransfer(boolean val)
           
 void setId(long val)
           
 void setInterfaceId(long val)
           
 void setInterfaceLimit(long val)
           
 void setInterfaceName(String val)
           
 void setMessage(String val)
           
 void setSuccessful(boolean val)
           
 void setTime(Date val)
           
 void setTransport(String val)
           
static void storeExportSummary(AgencyExportSummary exportSummary)
           
static void storeExportSummary(AgencyExportSummary exportSummary, org.xmldb.api.base.Collection exportSummaryCollection)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

KEY_INTERFACE_ID

public static final String KEY_INTERFACE_ID
See Also:
Constant Field Values

KEY_INTERFACE_LIMIT

public static final String KEY_INTERFACE_LIMIT
See Also:
Constant Field Values

KEY_INTERFACE_NAME

public static final String KEY_INTERFACE_NAME
See Also:
Constant Field Values

KEY_ESTATE_ID

@Deprecated
public static final String KEY_ESTATE_ID
Deprecated. 
See Also:
Constant Field Values

KEY_ESTATE_UPDATED

public static final String KEY_ESTATE_UPDATED
See Also:
Constant Field Values

KEY_ESTATE_REMOVED

public static final String KEY_ESTATE_REMOVED
See Also:
Constant Field Values

KEY_ESTATE_ERROR

public static final String KEY_ESTATE_ERROR
See Also:
Constant Field Values

KEY_FULLTRANSFER

public static final String KEY_FULLTRANSFER
See Also:
Constant Field Values

KEY_ID

public static final String KEY_ID
See Also:
Constant Field Values

KEY_MESSAGE

public static final String KEY_MESSAGE
See Also:
Constant Field Values

KEY_SUCCESSFUL

public static final String KEY_SUCCESSFUL
See Also:
Constant Field Values

KEY_TIME

public static final String KEY_TIME
See Also:
Constant Field Values

KEY_FORMAT

public static final String KEY_FORMAT
See Also:
Constant Field Values

KEY_TRANSPORT

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

AgencyExportSummary

public AgencyExportSummary()
Method Detail

buildEmptySummary

public static AgencyExportSummary buildEmptySummary(AgencyExportInterface exportInterface)
                                             throws ImmoToolException
Throws:
ImmoToolException

buildSummary

public static AgencyExportSummary buildSummary(long interfaceId)
                                        throws ImmoToolException
Throws:
ImmoToolException

buildSummary

public static AgencyExportSummary buildSummary(AgencyExportInterface exportInterface)
                                        throws ImmoToolException
Throws:
ImmoToolException

buildSummary

public static AgencyExportSummary buildSummary(long interfaceId,
                                               List<AgencyEstate> estates)
                                        throws ImmoToolException
Throws:
ImmoToolException

buildSummary

public static AgencyExportSummary buildSummary(AgencyExportInterface exportInterface,
                                               List<AgencyEstate> estates)
                                        throws ImmoToolException
Throws:
ImmoToolException

getErrorEstateIds

public Set<Long> getErrorEstateIds()

getErrorEstateMap

public Map<Long,String> getErrorEstateMap()

getFormat

public String getFormat()

getId

public long getId()

getInterfaceId

public long getInterfaceId()

getInterfaceLimit

public long getInterfaceLimit()

getInterfaceName

public String getInterfaceName()

getMessage

public String getMessage()

getRemovedEstateIds

public List<Long> getRemovedEstateIds()

getRemovedEstatePublicIds

public Map<Long,String> getRemovedEstatePublicIds()

getTime

public Date getTime()

getTransport

public String getTransport()

getUpdatedEstateIds

public List<Long> getUpdatedEstateIds()

isFullTransfer

public boolean isFullTransfer()

isSuccessful

public boolean isSuccessful()

load

public void load(Properties p)
          throws ImmoToolException
Throws:
ImmoToolException

loadExportSummary

public static AgencyExportSummary loadExportSummary(long id)
                                             throws ImmoToolDbException
Throws:
ImmoToolDbException

loadExportSummary

public static AgencyExportSummary loadExportSummary(long id,
                                                    org.xmldb.api.base.Collection exportSummaryCollection)
                                             throws ImmoToolDbException
Throws:
ImmoToolDbException

loadExportSummaryIds

public static Long[] loadExportSummaryIds()
                                   throws ImmoToolDbException
Throws:
ImmoToolDbException

loadExportSummaryIds

public static Long[] loadExportSummaryIds(org.xmldb.api.base.Collection exportSummaryCollection)
                                   throws ImmoToolDbException
Throws:
ImmoToolDbException

readResponse

public static Object readResponse(String type,
                                  Reader content)
                           throws ImmoToolException
Throws:
ImmoToolException

readResponseForOpenImmo

public static com.openindex.openestate.impl.xml.openimmo.OpenimmoFeedback readResponseForOpenImmo(Reader content)
                                                                                           throws IOException,
                                                                                                  JAXBException
Throws:
IOException
JAXBException

save

public void save(Properties p)
          throws ImmoToolException
Throws:
ImmoToolException

setFormat

public void setFormat(String val)

setFullTransfer

public void setFullTransfer(boolean val)

setId

public void setId(long val)

setInterfaceId

public void setInterfaceId(long val)

setInterfaceLimit

public void setInterfaceLimit(long val)

setInterfaceName

public void setInterfaceName(String val)

setMessage

public void setMessage(String val)

setSuccessful

public void setSuccessful(boolean val)

setTime

public void setTime(Date val)

setTransport

public void setTransport(String val)

storeExportSummary

public static void storeExportSummary(AgencyExportSummary exportSummary)
                               throws ImmoToolDbException
Throws:
ImmoToolDbException

storeExportSummary

public static void storeExportSummary(AgencyExportSummary exportSummary,
                                      org.xmldb.api.base.Collection exportSummaryCollection)
                               throws ImmoToolDbException
Throws:
ImmoToolDbException


Copyright © 2012 OpenEstate. All Rights Reserved.