com.astroshare.astroonline.soap
Class ClientYearly

java.lang.Object
  extended by com.astroshare.astroonline.soap.ClientYearly

public class ClientYearly
extends java.lang.Object

Gets yearly horoscope from Astro Share soap server.

The yearly horoscopes are automatically cached with it's current year. When the client notes a change of year, the yearly horoscope are automatically refreshed. The date of the server where the client runs, is used to determine the year for the yearly horoscopes.

Yearly horoscopes can only be used with a proper license. The Astro Share soap server checks access based on the server's ip address. If the ip addess is not authorized, an access denied is returned.


Constructor Summary
ClientYearly()
           
 
Method Summary
static java.util.ArrayList<java.lang.Object> yearlyAll(java.lang.String language, int signNumber, int signYear)
           Get yearly horoscopes for a specific sign.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientYearly

public ClientYearly()
Method Detail

yearlyAll

public static java.util.ArrayList<java.lang.Object> yearlyAll(java.lang.String language,
                                                              int signNumber,
                                                              int signYear)

Get yearly horoscopes for a specific sign. This function checks if the current year equals the year for which the yearly horoscopes were cached. If it finds we're in a new year, the cache is updated.

Parameters:
language - Language
signNumber - Sign number
signYear - Year
Returns:
Arraylist containing the interpretation for a yearly horoscope


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