com.openindex.openestate.tool.agency
Class AgencyAgent

java.lang.Object
  extended by com.openindex.openestate.impl.AbstractImplItem
      extended by com.openindex.openestate.impl.AgentImpl
          extended by com.openindex.openestate.tool.agency.AgencyAgent
All Implemented Interfaces:
SerializableXmlElement, SerializableXmlType

public class AgencyAgent
extends AgentImpl

Anbieter-Objekt, basierend auf AgentImpl.
$Id: AgencyAgent.java 1829 2012-10-14 14:24:52Z andy $

Author:
Andreas Rudolph

Field Summary
static String VALUE_AUFSICHT
          Custom-Values
static String VALUE_GEWERBE
           
static String VALUE_HANDELSREGISTER
           
static String VALUE_USTID
           
static String VALUE_VERTRETUNG
           
 
Fields inherited from class com.openindex.openestate.impl.AgentImpl
XML_ELEMENT, XML_ELEMENT_VALUES
 
Constructor Summary
AgencyAgent()
          Erzeugt eine Instanz der Klasse 'AgencyAgent'
AgencyAgent(AgentImpl agent)
           
AgencyAgent(org.dom4j.Document doc)
           
 
Method Summary
static void createDefaultAgent(ImmoToolDb db, org.xmldb.api.base.Collection col, ImmoToolProject project)
           
 String getAufsichtsBehoerde()
           
 String getGewerbeErlaubnis()
           
 String getHandelsRegister()
           
 String getUstId()
           
 String getVertretung()
           
static AgencyAgent loadAgent()
           
static AgencyAgent loadAgent(org.xmldb.api.base.Collection pluginCollection)
           
static BufferedImage loadLogo()
           
static BufferedImage loadLogo(org.xmldb.api.base.Collection pluginCollection)
           
static InputStream loadLogoAsStream()
           
static InputStream loadLogoAsStream(org.xmldb.api.base.Collection pluginCollection)
           
 void setAufsichtsBehoerde(String val)
           
 void setGewerbeErlaubnis(String val)
           
 void setHandelsRegister(String val)
           
 void setUstId(String val)
           
 void setVertretung(String val)
           
static String storeAgent(AgencyAgent agent)
           
static String storeAgent(AgencyAgent agent, org.xmldb.api.base.Collection pluginCollection)
           
static void storeLogo(File logo)
           
static void storeLogo(File logo, org.xmldb.api.base.Collection pluginCollection)
           
 
Methods inherited from class com.openindex.openestate.impl.AgentImpl
getCompany, getCustomValues, getId, getTerms, getTerms, getTerms, merge, readFromXml, readFromXml, serializeToXml, serializeToXml, setCompany, setCustomValues, setId, setTerms, setTerms, setTerms
 
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_AUFSICHT

public static final String VALUE_AUFSICHT
Custom-Values

See Also:
Constant Field Values

VALUE_GEWERBE

public static final String VALUE_GEWERBE
See Also:
Constant Field Values

VALUE_HANDELSREGISTER

public static final String VALUE_HANDELSREGISTER
See Also:
Constant Field Values

VALUE_USTID

public static final String VALUE_USTID
See Also:
Constant Field Values

VALUE_VERTRETUNG

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

AgencyAgent

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


AgencyAgent

public AgencyAgent(AgentImpl agent)

AgencyAgent

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

createDefaultAgent

public static void createDefaultAgent(ImmoToolDb db,
                                      org.xmldb.api.base.Collection col,
                                      ImmoToolProject project)
                               throws ImmoToolDbException,
                                      IOException,
                                      org.dom4j.DocumentException,
                                      org.xmldb.api.base.XMLDBException
Throws:
ImmoToolDbException
IOException
org.dom4j.DocumentException
org.xmldb.api.base.XMLDBException

getAufsichtsBehoerde

public String getAufsichtsBehoerde()

getGewerbeErlaubnis

public String getGewerbeErlaubnis()

getHandelsRegister

public String getHandelsRegister()

getUstId

public String getUstId()

getVertretung

public String getVertretung()

loadAgent

public static AgencyAgent loadAgent()
                             throws ImmoToolDbException
Throws:
ImmoToolDbException

loadAgent

public static AgencyAgent loadAgent(org.xmldb.api.base.Collection pluginCollection)
                             throws ImmoToolDbException
Throws:
ImmoToolDbException

loadLogo

public static BufferedImage loadLogo()
                              throws ImmoToolDbException,
                                     IOException
Throws:
ImmoToolDbException
IOException

loadLogo

public static BufferedImage loadLogo(org.xmldb.api.base.Collection pluginCollection)
                              throws ImmoToolDbException,
                                     IOException
Throws:
ImmoToolDbException
IOException

loadLogoAsStream

public static InputStream loadLogoAsStream()
                                    throws ImmoToolDbException
Throws:
ImmoToolDbException

loadLogoAsStream

public static InputStream loadLogoAsStream(org.xmldb.api.base.Collection pluginCollection)
                                    throws ImmoToolDbException
Throws:
ImmoToolDbException

setAufsichtsBehoerde

public void setAufsichtsBehoerde(String val)

setGewerbeErlaubnis

public void setGewerbeErlaubnis(String val)

setHandelsRegister

public void setHandelsRegister(String val)

setUstId

public void setUstId(String val)

setVertretung

public void setVertretung(String val)

storeAgent

public static String storeAgent(AgencyAgent agent)
                         throws ImmoToolDbException
Throws:
ImmoToolDbException

storeAgent

public static String storeAgent(AgencyAgent agent,
                                org.xmldb.api.base.Collection pluginCollection)
                         throws ImmoToolDbException
Throws:
ImmoToolDbException

storeLogo

public static void storeLogo(File logo)
                      throws ImmoToolDbException
Throws:
ImmoToolDbException

storeLogo

public static void storeLogo(File logo,
                             org.xmldb.api.base.Collection pluginCollection)
                      throws ImmoToolDbException
Throws:
ImmoToolDbException


Copyright © 2012 OpenEstate. All Rights Reserved.