com.openindex.openestate.tool.agency
Class AgencyExportList

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

public class AgencyExportList
extends Object

AgencyExportList.
$Id: AgencyExportList.java 856 2011-04-29 22:30:40Z andy $

Author:
Andreas Rudolph

Field Summary
static String CHANGE_DELETE
           
static String CHANGE_UPDATE
           
static String KEY_ESTATE_ID
           
static String LIST_CHANGED
           
static String LIST_PUBLISHED
           
 
Constructor Summary
protected AgencyExportList()
           
 
Method Summary
static AgencyExportList buildExportList(long interfaceId, String listName)
           
 Set<Long> getEstateIds()
           
 Map<Long,String> getEstateNrMap()
           
 String getEstatePublicId(long id)
           
 String getEstateValue(long id)
           
 Map<Long,String> getEstateValueMap()
           
 long getInterfaceId()
           
 String getName()
           
 boolean hasEstateId(Long id)
           
 void load(Properties p)
           
static AgencyExportList loadExportList(long interfaceId, String listName)
           
static AgencyExportList loadExportList(long interfaceId, String listName, org.xmldb.api.base.Collection exportCollection)
           
static void registerChange(Long estateId, String estatePublicId, String change, Long exportId, org.xmldb.api.base.Collection col)
           
static void registerChanges(AgencyEstate estate, String change)
           
static void registerChanges(AgencyEstate estate, String change, Long[] exportIds)
           
static void registerChanges(Long estateId, String estatePublicId, String change, Long[] exportIds)
           
static void registerSummary(AgencyExportSummary summary)
           
 void save(Properties p)
           
 void setInterfaceId(long val)
           
protected  void setName(String val)
           
static void storeExportList(AgencyExportList exportList)
           
static void storeExportList(AgencyExportList exportList, org.xmldb.api.base.Collection exportCollection)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

KEY_ESTATE_ID

public static final String KEY_ESTATE_ID
See Also:
Constant Field Values

LIST_CHANGED

public static final String LIST_CHANGED
See Also:
Constant Field Values

LIST_PUBLISHED

public static final String LIST_PUBLISHED
See Also:
Constant Field Values

CHANGE_DELETE

public static final String CHANGE_DELETE
See Also:
Constant Field Values

CHANGE_UPDATE

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

AgencyExportList

protected AgencyExportList()
Method Detail

buildExportList

public static AgencyExportList buildExportList(long interfaceId,
                                               String listName)
                                        throws ImmoToolException
Throws:
ImmoToolException

getEstateIds

public Set<Long> getEstateIds()

getEstatePublicId

public String getEstatePublicId(long id)

getEstateValue

public String getEstateValue(long id)

getEstateNrMap

public Map<Long,String> getEstateNrMap()

getEstateValueMap

public Map<Long,String> getEstateValueMap()

getInterfaceId

public long getInterfaceId()

getName

public String getName()

hasEstateId

public boolean hasEstateId(Long id)

load

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

loadExportList

public static AgencyExportList loadExportList(long interfaceId,
                                              String listName)
                                       throws ImmoToolDbException
Throws:
ImmoToolDbException

loadExportList

public static AgencyExportList loadExportList(long interfaceId,
                                              String listName,
                                              org.xmldb.api.base.Collection exportCollection)
                                       throws ImmoToolDbException
Throws:
ImmoToolDbException

registerChanges

public static void registerChanges(AgencyEstate estate,
                                   String change)
                            throws ImmoToolException
Throws:
ImmoToolException

registerChanges

public static void registerChanges(AgencyEstate estate,
                                   String change,
                                   Long[] exportIds)
                            throws ImmoToolException
Throws:
ImmoToolException

registerChanges

public static void registerChanges(Long estateId,
                                   String estatePublicId,
                                   String change,
                                   Long[] exportIds)
                            throws ImmoToolException
Throws:
ImmoToolException

registerChange

public static void registerChange(Long estateId,
                                  String estatePublicId,
                                  String change,
                                  Long exportId,
                                  org.xmldb.api.base.Collection col)
                           throws ImmoToolException
Throws:
ImmoToolException

registerSummary

public static void registerSummary(AgencyExportSummary summary)
                            throws ImmoToolException
Throws:
ImmoToolException

save

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

setInterfaceId

public void setInterfaceId(long val)

setName

protected void setName(String val)

storeExportList

public static void storeExportList(AgencyExportList exportList)
                            throws ImmoToolDbException
Throws:
ImmoToolDbException

storeExportList

public static void storeExportList(AgencyExportList exportList,
                                   org.xmldb.api.base.Collection exportCollection)
                            throws ImmoToolDbException
Throws:
ImmoToolDbException


Copyright © 2012 OpenEstate. All Rights Reserved.