biz.janux.geography
Interface PostalAddressDao

All Superinterfaces:
DataAccessObject

Deprecated. use PostalAddressDaoGeneric

public interface PostalAddressDao
extends DataAccessObject

Data Access Class used to access and manage PostalAddress entities

Since:
2008-03-27
Author:
Philippe Paravicini

Method Summary
 int countByCountryAsString()
          Deprecated. Counts PostalAddress entities where the address.getCountryAsString is not null, that is, where the Country is not stored as a reference; this is mostly meant as a utility method used to clean up or convert data
 int countByCountryAsString(String country)
          Deprecated. Count PostalAddress entities where the address.getCountryAsString field matches the country string passed; this is mostly meant as a utility method that can be used to clean up or convert data
 List<PostalAddress> findByCountryAsString()
          Deprecated. Retrieves PostalAddress entities where address.getCountryAsString is not null; this is mostly meant as a utility method that can be used to clean up or convert data
 List<PostalAddress> findByCountryAsString(Integer numRecords, Integer offset)
          Deprecated. Retrieves PostalAddress entities where address.getCountryAsString is not null; this is mostly meant as a utility method that can be used to clean up or convert data
 List<PostalAddress> findByCountryAsString(String country)
          Deprecated. Retrieves PostalAddress entities where the address.getCountryAsString field matches the country string passed; this is mostly meant as a utility method that can be used to clean up or convert data
 List<PostalAddress> findByCountryAsString(String country, Integer numRecords, Integer offset)
          Deprecated. Retrieves PostalAddress entities where the address.getCountryAsString field matches the country string passed; this is mostly meant as a utility method that can be used to clean up or convert data
 PostalAddress load(Integer id)
          Deprecated. Loads a PostalAddress object from persistence using its id
 
Methods inherited from interface org.janux.bus.persistence.DataAccessObject
delete, merge, refresh, save, saveOrUpdate, update
 

Method Detail

load

PostalAddress load(Integer id)
                   throws EntityNotFoundException
Deprecated. 
Loads a PostalAddress object from persistence using its id

Parameters:
id - the internal identifier of the PostalAddress
Throws:
EntityNotFoundException - if a PostalAddress object with that id is not found

countByCountryAsString

int countByCountryAsString()
Deprecated. 
Counts PostalAddress entities where the address.getCountryAsString is not null, that is, where the Country is not stored as a reference; this is mostly meant as a utility method used to clean up or convert data

See Also:
PostalAddress.getCountryAsString(), GeographyService.setCityStateCountry(biz.janux.geography.PostalAddress)

findByCountryAsString

List<PostalAddress> findByCountryAsString()
Deprecated. 
Retrieves PostalAddress entities where address.getCountryAsString is not null; this is mostly meant as a utility method that can be used to clean up or convert data

See Also:
PostalAddress.getCountryAsString(), GeographyService.setCityStateCountry(biz.janux.geography.PostalAddress)

findByCountryAsString

List<PostalAddress> findByCountryAsString(Integer numRecords,
                                          Integer offset)
Deprecated. 
Retrieves PostalAddress entities where address.getCountryAsString is not null; this is mostly meant as a utility method that can be used to clean up or convert data

Parameters:
numRecords - the maximum number of PostalAddresses to return (equivalent to LIMIT modifier in SQL Selects)
offset - when limiting the number of records returned, the
See Also:
PostalAddress.getCountryAsString(), GeographyService.setCityStateCountry(biz.janux.geography.PostalAddress)

countByCountryAsString

int countByCountryAsString(String country)
Deprecated. 
Count PostalAddress entities where the address.getCountryAsString field matches the country string passed; this is mostly meant as a utility method that can be used to clean up or convert data

Parameters:
country - a string used to match against the PostalAddress.getCountryAsString
See Also:
PostalAddress.getCountryAsString(), GeographyService.setCityStateCountry(biz.janux.geography.PostalAddress)

findByCountryAsString

List<PostalAddress> findByCountryAsString(String country)
Deprecated. 
Retrieves PostalAddress entities where the address.getCountryAsString field matches the country string passed; this is mostly meant as a utility method that can be used to clean up or convert data

Parameters:
country - a string used to match against the PostalAddress.getCountryAsString
See Also:
PostalAddress.getCountryAsString(), GeographyService.setCityStateCountry(biz.janux.geography.PostalAddress)

findByCountryAsString

List<PostalAddress> findByCountryAsString(String country,
                                          Integer numRecords,
                                          Integer offset)
Deprecated. 
Retrieves PostalAddress entities where the address.getCountryAsString field matches the country string passed; this is mostly meant as a utility method that can be used to clean up or convert data

Parameters:
country - a string used to match against the PostalAddress.getCountryAsString
numRecords - the maximum number of PostalAddresses to return (equivalent to LIMIT modifier in SQL Selects)
offset - when limiting the number of records returned, the
See Also:
PostalAddress.getCountryAsString(), GeographyService.setCityStateCountry(biz.janux.geography.PostalAddress)


Copyright © 2005-2013 Janux. All Rights Reserved.