com.astroshare.astroonline.horoscopes
Class Favorite

java.lang.Object
  extended by com.astroshare.astroonline.horoscopes.Horoscope
      extended by com.astroshare.astroonline.horoscopes.Natal
          extended by com.astroshare.astroonline.horoscopes.Favorite

public class Favorite
extends Natal

Implementation of online horoscope Favorite.

The interpretation of the favorite horoscope is based on the sign in which planet Venus resides. Based on this sign an interpretation is selecting from the database.


Field Summary
protected static org.apache.log4j.Logger log
          init logging
 
Fields inherited from class com.astroshare.astroonline.horoscopes.Natal
visitor
 
Fields inherited from class com.astroshare.astroonline.horoscopes.Horoscope
args, databaseID, horoscopeID, language, startupMode, templateInput, templateOutput
 
Constructor Summary
Favorite()
           
 
Method Summary
protected  java.util.HashMap<java.lang.String,java.lang.Object> getFormText()
           Overwrite method getFormText.
protected  java.util.ArrayList<java.lang.Object> getTextFromDatabaseList(Sql sql, Person prs)
           Overwrite method getTextFromDatabaseList.
 
Methods inherited from class com.astroshare.astroonline.horoscopes.Natal
checkHoroscopeData, getFlashvarsProg, getHoroscopeArguments, getInputMap, getOutputMap
 
Methods inherited from class com.astroshare.astroonline.horoscopes.Horoscope
getHoroscope, getInputPage, getMap, getOutputPage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static org.apache.log4j.Logger log
init logging

Constructor Detail

Favorite

public Favorite()
Method Detail

getTextFromDatabaseList

protected java.util.ArrayList<java.lang.Object> getTextFromDatabaseList(Sql sql,
                                                                        Person prs)

Overwrite method getTextFromDatabaseList. Get interpretation for Venus according to position in which the planet resides.

Overrides:
getTextFromDatabaseList in class Natal
Parameters:
sql - Database connection
prs - Personal information visitor
Returns:
ArrayList Text

getFormText

protected java.util.HashMap<java.lang.String,java.lang.Object> getFormText()

Overwrite method getFormText.

Overrides:
getFormText in class Horoscope
Returns:
Hashmap containging form text


Astro-Online © 2001 − 2008 Astro Share
Documentation generated on: Thursday August 12th 2008 (PS)