com.aol.acc
Class AccAlert

java.lang.Object
  extended by com.aol.acc.AccBase
      extended by com.aol.acc.AccAlert

public class AccAlert
extends AccBase

The IAccAlert encapsulates an AIM alert.


Method Summary
 java.lang.String getAddress()
          Email address this alert is in reference to
 java.lang.String getContent()
          The content for this "rendered" alert
 java.lang.String getCookie()
          Unique ID for this particular alert
 java.lang.String getDescription()
          Description of this "rendered" alert
 int getDisplayTime()
          Time when this alert should be displayed
 boolean getDuplicate()
          Checks if this is a duplicate alert
 int getDuration()
          Duration to display this alert for
 boolean getGotMail()
          Is there new mail for this user?
 boolean getGotPics()
          Checks if there are new pictures for the user
 java.lang.String getImageUrl()
          The URL for displaying an image for a specific alert
 java.lang.String getMoreInfoUrl()
          The URL for more info on a specific alert
 int getNotifyPrefs()
          Indicates how this alert should be displayed
 int getNumMails()
          Number of new emails in the user's inbox
 int getNumVoicemails()
          Number of new voicemails in the user's inbox
 java.lang.String getReadUrl()
          URL to be used for reading mail
 java.util.Date getTimestamp()
          Time the alert was sent
 AccAlertType getType()
          Get the type of alert.

 java.lang.String getUuid()
          UUID (type) of the alert
 
Methods inherited from class com.aol.acc.AccBase
compareHandle, equals
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getType

public AccAlertType getType()
                     throws AccException
Get the type of alert.

Throws:
AccException

getUuid

public java.lang.String getUuid()
                         throws AccException
UUID (type) of the alert

Throws:
AccException

getCookie

public java.lang.String getCookie()
                           throws AccException
Unique ID for this particular alert

Throws:
AccException

getTimestamp

public java.util.Date getTimestamp()
                            throws AccException
Time the alert was sent

Throws:
AccException

getGotMail

public boolean getGotMail()
                   throws AccException
Is there new mail for this user?

Throws:
AccException

getNumMails

public int getNumMails()
                throws AccException
Number of new emails in the user's inbox

Throws:
AccException

getNumVoicemails

public int getNumVoicemails()
                     throws AccException
Number of new voicemails in the user's inbox

Throws:
AccException

getAddress

public java.lang.String getAddress()
                            throws AccException
Email address this alert is in reference to

Throws:
AccException

getReadUrl

public java.lang.String getReadUrl()
                            throws AccException
URL to be used for reading mail

Throws:
AccException

getGotPics

public boolean getGotPics()
                   throws AccException
Checks if there are new pictures for the user

Throws:
AccException

getDescription

public java.lang.String getDescription()
                                throws AccException
Description of this "rendered" alert

Throws:
AccException

getContent

public java.lang.String getContent()
                            throws AccException
The content for this "rendered" alert

Throws:
AccException

getImageUrl

public java.lang.String getImageUrl()
                             throws AccException
The URL for displaying an image for a specific alert

Throws:
AccException

getMoreInfoUrl

public java.lang.String getMoreInfoUrl()
                                throws AccException
The URL for more info on a specific alert

Throws:
AccException

getDuplicate

public boolean getDuplicate()
                     throws AccException
Checks if this is a duplicate alert

Throws:
AccException

getDisplayTime

public int getDisplayTime()
                   throws AccException
Time when this alert should be displayed

Throws:
AccException

getDuration

public int getDuration()
                throws AccException
Duration to display this alert for

Throws:
AccException

getNotifyPrefs

public int getNotifyPrefs()
                   throws AccException
Indicates how this alert should be displayed

Throws:
AccException