com.openindex.openestate.tool.agency.addons
Class ContactsEntryEstate

java.lang.Object
  extended by com.openindex.openestate.tool.agency.addons.ContactsEntryEstate

public class ContactsEntryEstate
extends Object

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

Author:
Andreas Rudolph

Field Summary
static String TYPE_CUSTOMER
           
static String TYPE_INTERESTED
           
static String TYPE_OWNER
           
static String VALUE_ESTATE_ID
           
static String VALUE_ESTATE_TEXT
           
static String VALUE_ESTATE_TYPE
           
 
Constructor Summary
ContactsEntryEstate()
           
ContactsEntryEstate(long estateId, ContactsEntry contact, String description, String type)
           
ContactsEntryEstate(long estateId, long contactGroupId, long contactEntryId, String description, String type)
           
 
Method Summary
static ContactsEntryEstate[] getContactEntryEstates(ContactsEntry contact)
           
static ContactsEntryEstate[] getContactEntryEstates(long groupId, long id)
           
static ContactsEntryEstate[] getContactEntryEstates(long groupId, long id, org.xmldb.api.base.Collection groupCollection)
           
static ContactsEntryEstate[] getContactEntryEstates(long groupId, long id, CustomValuesImpl values)
           
 long getContactEntryId()
           
 long getContactGroupId()
           
 String getDescription()
           
 long getEstateId()
           
 String getType()
           
 AgencyEstate loadAgencyEstate()
           
 ContactsEntry loadContactsEntry()
           
 ContactsGroup loadContactsGroup()
           
static ContactsEntryEstate[] loadEntriesForEstate(long estateId)
           
static void setContactEntryEstates(ContactsEntry contact, ContactsEntryEstate[] entries)
           
static void setContactEntryEstates(CustomValuesImpl values, ContactsEntryEstate[] entries)
           
 void setContactEntryId(long val)
           
 void setContactGroupId(long val)
           
 void setDescription(String val)
           
 void setEstateId(long val)
           
 void setType(String val)
           
 String writeType()
           
static String writeType(String type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VALUE_ESTATE_ID

public static final String VALUE_ESTATE_ID
See Also:
Constant Field Values

VALUE_ESTATE_TEXT

public static final String VALUE_ESTATE_TEXT
See Also:
Constant Field Values

VALUE_ESTATE_TYPE

public static final String VALUE_ESTATE_TYPE
See Also:
Constant Field Values

TYPE_OWNER

public static final String TYPE_OWNER
See Also:
Constant Field Values

TYPE_INTERESTED

public static final String TYPE_INTERESTED
See Also:
Constant Field Values

TYPE_CUSTOMER

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

ContactsEntryEstate

public ContactsEntryEstate()

ContactsEntryEstate

public ContactsEntryEstate(long estateId,
                           ContactsEntry contact,
                           String description,
                           String type)

ContactsEntryEstate

public ContactsEntryEstate(long estateId,
                           long contactGroupId,
                           long contactEntryId,
                           String description,
                           String type)
Method Detail

getContactEntryId

public long getContactEntryId()

getContactGroupId

public long getContactGroupId()

getDescription

public String getDescription()

getContactEntryEstates

public static ContactsEntryEstate[] getContactEntryEstates(ContactsEntry contact)

getContactEntryEstates

public static ContactsEntryEstate[] getContactEntryEstates(long groupId,
                                                           long id)
                                                    throws ImmoToolDbException
Throws:
ImmoToolDbException

getContactEntryEstates

public static ContactsEntryEstate[] getContactEntryEstates(long groupId,
                                                           long id,
                                                           org.xmldb.api.base.Collection groupCollection)
                                                    throws ImmoToolDbException
Throws:
ImmoToolDbException

getContactEntryEstates

public static ContactsEntryEstate[] getContactEntryEstates(long groupId,
                                                           long id,
                                                           CustomValuesImpl values)

getEstateId

public long getEstateId()

getType

public String getType()

loadAgencyEstate

public AgencyEstate loadAgencyEstate()
                              throws ImmoToolDbException
Throws:
ImmoToolDbException

loadContactsEntry

public ContactsEntry loadContactsEntry()
                                throws ImmoToolDbException
Throws:
ImmoToolDbException

loadContactsGroup

public ContactsGroup loadContactsGroup()
                                throws ImmoToolDbException
Throws:
ImmoToolDbException

loadEntriesForEstate

public static ContactsEntryEstate[] loadEntriesForEstate(long estateId)
                                                  throws ImmoToolDbException
Throws:
ImmoToolDbException

setContactEntryId

public void setContactEntryId(long val)

setContactEntryEstates

public static void setContactEntryEstates(ContactsEntry contact,
                                          ContactsEntryEstate[] entries)

setContactEntryEstates

public static void setContactEntryEstates(CustomValuesImpl values,
                                          ContactsEntryEstate[] entries)

setContactGroupId

public void setContactGroupId(long val)

setDescription

public void setDescription(String val)

setEstateId

public void setEstateId(long val)

setType

public void setType(String val)

writeType

public String writeType()

writeType

public static String writeType(String type)


Copyright © 2012 OpenEstate. All Rights Reserved.