|
![]() |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.nitido.nimx.nuggets.wcap.Attendee
public class Attendee
The data object for storing information of an Attendee.
The iPlanet Calendar Server implementation of Attendee follows closely the RFC 2445 section 4.8.4.1.
Field Summary | |
---|---|
protected static java.lang.String |
MAILTO
|
protected static int |
MAILTO_LEN
|
Constructor Summary | |
---|---|
Attendee(ParticipateStatus parStat,
boolean rsvp,
java.lang.String calId,
java.lang.String email)
Default constructor. |
|
Attendee(java.lang.String parStatStr,
java.lang.String rsvpStr,
java.lang.String target)
Constructor used by the WcapNugget to create an instance of Attendee based on the XML results from the Calendar server. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object inObj)
Override the default java.lang.Object's equal command. |
java.lang.String |
getCalId()
Get calId field. |
java.lang.String |
getEmail()
Get email field. |
ParticipateStatus |
getParticipateStatus()
Get PariticpateStatus field. |
boolean |
getRSVP()
Get rsvp field. |
void |
setParticipateStatus(ParticipateStatus parStat)
Set PariticpateStatus field. |
void |
setRSVP(boolean newRSVP)
Set rsvp field. |
void |
setTarget(java.lang.String calId,
java.lang.String email)
Set the target of the attendee. |
java.lang.String |
toWcapQuery(WcapNugget nugget)
Convert the component into a string that is used for constructing a WCAP query. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final java.lang.String MAILTO
protected static final int MAILTO_LEN
Constructor Detail |
---|
public Attendee(ParticipateStatus parStat, boolean rsvp, java.lang.String calId, java.lang.String email) throws InvalidParameterException
One way to notify an attendee is through his/her calendar on the same server. If the attendees have set up the preference correctly for their own calendar, the iPlanet Calender server will notify them through email. Another way to notify an attendee is to directly specify the email address.
However, you may be able to specify only one of the calendar Id and the email address for each attendee entry. If you want to specify both calendar Id and email address, they should be put into two separate Attendee objects.
parStat
- the ParticipateStatus object that indicates whether the attendee
has accepted, declined or no-action-required.
rsvp
- a boolean value that indicates whether the attendee need to
reply/confirm the invitation.
calId
- a String that indicates the attendee's calendar Id. If this
value is non-null, the parameter "email" will be ignored.
email
- a String that indicates the email address of the attendee. It
will be ignored if the parameter "calId" is not null.
InvalidParameterException
public Attendee(java.lang.String parStatStr, java.lang.String rsvpStr, java.lang.String target) throws InvalidParameterException
InvalidParameterException
Method Detail |
---|
public ParticipateStatus getParticipateStatus()
public void setParticipateStatus(ParticipateStatus parStat) throws InvalidParameterException
InvalidParameterException
public boolean getRSVP()
public void setRSVP(boolean newRSVP)
public java.lang.String getCalId()
public java.lang.String getEmail()
public void setTarget(java.lang.String calId, java.lang.String email) throws InvalidParameterException
InvalidParameterException
public java.lang.String toWcapQuery(WcapNugget nugget) throws WcapException
WcapException
public boolean equals(java.lang.Object inObj)
equals
in class java.lang.Object
|
Nitido NiM 2.5 Java API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1999-2009 Nitido Inc. Proprietary and Confidential. All Rights Reserved.