com.openindex.openestate.tool.agency
Class AgencyContact

java.lang.Object
  extended by com.openindex.openestate.impl.AbstractImplItem
      extended by com.openindex.openestate.impl.SimpleAdressImpl
          extended by com.openindex.openestate.impl.PersonAdressImpl
              extended by com.openindex.openestate.impl.AgentContactImpl
                  extended by com.openindex.openestate.tool.agency.AgencyContact
All Implemented Interfaces:
SerializableXmlElement, SerializableXmlType

public class AgencyContact
extends AgentContactImpl

Mitarbeiter-Objekt, basierend auf AgentContactImpl.
$Id: AgencyContact.java 856 2011-04-29 22:30:40Z andy $

Author:
Andreas Rudolph

Nested Class Summary
static class AgencyContact.Row
           
 
Field Summary
static String VALUE_NOTES
           
 
Fields inherited from class com.openindex.openestate.impl.AgentContactImpl
AGENTCONTACT_XML_ELEMENT, XML_ATTRIB_ID
 
Fields inherited from class com.openindex.openestate.impl.PersonAdressImpl
GENDER_FEMALE, GENDER_MALE, PERSONADRESS_XML_ELEMENT, XML_ATTRIB_PERSON_FAX, XML_ATTRIB_PERSON_FIRST_NAME, XML_ATTRIB_PERSON_GENDER, XML_ATTRIB_PERSON_LAST_NAME, XML_ATTRIB_PERSON_MAIL, XML_ATTRIB_PERSON_MIDDLE_NAME, XML_ATTRIB_PERSON_MOBILE_PHONE, XML_ATTRIB_PERSON_PHONE, XML_ATTRIB_PERSON_TITLE
 
Fields inherited from class com.openindex.openestate.impl.SimpleAdressImpl
SIMPLEADRESS_XML_ELEMENT, XML_ATTRIB_CITY, XML_ATTRIB_CITY_PART, XML_ATTRIB_COUNTRY, XML_ATTRIB_LATITUDE, XML_ATTRIB_LONGITUDE, XML_ATTRIB_POSTAL_CODE, XML_ATTRIB_REGION, XML_ATTRIB_STREET, XML_ATTRIB_STREET_2, XML_ATTRIB_STREET_NR
 
Constructor Summary
AgencyContact()
          Erzeugt eine Instanz der Klasse 'AgencyContact'
AgencyContact(AgentContactImpl contact)
           
AgencyContact(org.dom4j.Document doc)
           
 
Method Summary
 AgencyContact.Row createRow()
           
 Long getIdNr()
           
 String getNotes()
           
static AgencyContact loadContact(long id)
           
static AgencyContact loadContact(long id, org.xmldb.api.base.Collection contactCollection)
           
static AgencyContact.Row[] loadContactRows(Long[] ids, String additionalCondition, String orderBy)
           
static AgencyContact.Row[] loadContactRows(Long[] ids, String additionalCondition, String orderBy, org.xmldb.api.base.Collection contactCollection)
           
static Long[] loadEstateIds(long contactId)
           
static Long[] loadEstateIds(long contactId, org.xmldb.api.base.Collection estateCollection)
           
static AgencyEstate.Row[] loadEstateRows(long contactId)
           
static AgencyEstate.Row[] loadEstateRows(long contactId, org.xmldb.api.base.Collection estateCollection)
           
static void removeContact(long id)
           
static void removeContact(long id, org.xmldb.api.base.Collection contactCollection)
           
 void setNotes(String val)
           
 String store()
           
static String storeContact(AgencyContact contact)
           
static String storeContact(AgencyContact contact, org.xmldb.api.base.Collection contactCollection)
           
static String storeContact(AgencyContact contact, org.xmldb.api.base.Collection contactCollection, ImmoToolDb db)
           
 
Methods inherited from class com.openindex.openestate.impl.AgentContactImpl
calculateHash, getId, readFromXml, readFromXml, serializeToXml, serializeToXml, setId
 
Methods inherited from class com.openindex.openestate.impl.PersonAdressImpl
getPersonFax, getPersonFirstName, getPersonGender, getPersonLastName, getPersonMail, getPersonMiddleName, getPersonMobilePhone, getPersonPhone, getPersonTitle, isFemale, isMale, setPersonFax, setPersonFirstName, setPersonGender, setPersonLastName, setPersonMail, setPersonMiddleName, setPersonMobilePhone, setPersonPhone, setPersonTitle, writePersonFullName
 
Methods inherited from class com.openindex.openestate.impl.SimpleAdressImpl
getCity, getCityPart, getCountry, getCustomValues, getLatitude, getLongitude, getPostalCode, getRegion, getStreet, getStreet2, getStreetNr, merge, setCity, setCityPart, setCountry, setCustomValues, setLatitude, setLongitude, setPostalCode, setRegion, setStreet, setStreet2, setStreetNr, writeCountry, writeCountry, writeCountry, writeCountry, writeFullAdress, writeFullAdress, writeFullAdress, writeFullAdress, writePostal, writeStreet
 
Methods inherited from class com.openindex.openestate.impl.AbstractImplItem
getValue, getValue, getValues, putValue, selectAttribute, selectAttribute, selectAttributeAsBoolean, selectAttributeAsBoolean, selectAttributeAsCurrency, selectAttributeAsCurrency, selectAttributeAsDate, selectAttributeAsDate, selectAttributeAsDateTime, selectAttributeAsDateTime, selectAttributeAsDouble, selectAttributeAsDouble, selectAttributeAsFloat, selectAttributeAsFloat, selectAttributeAsURL, selectAttributeAsURL, selectChildElements
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VALUE_NOTES

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

AgencyContact

public AgencyContact()
Erzeugt eine Instanz der Klasse 'AgencyContact'


AgencyContact

public AgencyContact(AgentContactImpl contact)

AgencyContact

public AgencyContact(org.dom4j.Document doc)
              throws org.dom4j.DocumentException
Throws:
org.dom4j.DocumentException
Method Detail

createRow

public AgencyContact.Row createRow()

getIdNr

public Long getIdNr()

getNotes

public String getNotes()

loadContact

public static AgencyContact loadContact(long id)
                                 throws ImmoToolDbException
Throws:
ImmoToolDbException

loadContact

public static AgencyContact loadContact(long id,
                                        org.xmldb.api.base.Collection contactCollection)
                                 throws ImmoToolDbException
Throws:
ImmoToolDbException

loadContactRows

public static AgencyContact.Row[] loadContactRows(Long[] ids,
                                                  String additionalCondition,
                                                  String orderBy)
                                           throws ImmoToolDbException
Throws:
ImmoToolDbException

loadContactRows

public static AgencyContact.Row[] loadContactRows(Long[] ids,
                                                  String additionalCondition,
                                                  String orderBy,
                                                  org.xmldb.api.base.Collection contactCollection)
                                           throws ImmoToolDbException
Throws:
ImmoToolDbException

loadEstateIds

public static Long[] loadEstateIds(long contactId)
                            throws ImmoToolDbException
Throws:
ImmoToolDbException

loadEstateIds

public static Long[] loadEstateIds(long contactId,
                                   org.xmldb.api.base.Collection estateCollection)
                            throws ImmoToolDbException
Throws:
ImmoToolDbException

loadEstateRows

public static AgencyEstate.Row[] loadEstateRows(long contactId)
                                         throws ImmoToolDbException
Throws:
ImmoToolDbException

loadEstateRows

public static AgencyEstate.Row[] loadEstateRows(long contactId,
                                                org.xmldb.api.base.Collection estateCollection)
                                         throws ImmoToolDbException
Throws:
ImmoToolDbException

removeContact

public static void removeContact(long id)
                          throws ImmoToolDbException
Throws:
ImmoToolDbException

removeContact

public static void removeContact(long id,
                                 org.xmldb.api.base.Collection contactCollection)
                          throws ImmoToolDbException
Throws:
ImmoToolDbException

setNotes

public void setNotes(String val)

store

public String store()
             throws ImmoToolDbException
Throws:
ImmoToolDbException

storeContact

public static String storeContact(AgencyContact contact)
                           throws ImmoToolDbException
Throws:
ImmoToolDbException

storeContact

public static String storeContact(AgencyContact contact,
                                  org.xmldb.api.base.Collection contactCollection)
                           throws ImmoToolDbException
Throws:
ImmoToolDbException

storeContact

public static String storeContact(AgencyContact contact,
                                  org.xmldb.api.base.Collection contactCollection,
                                  ImmoToolDb db)
                           throws ImmoToolDbException
Throws:
ImmoToolDbException


Copyright © 2012 OpenEstate. All Rights Reserved.