|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbiweekly.util.ListMultimap<String,String>
biweekly.parameter.ICalParameters
public class ICalParameters
Contains the list of parameters that belong to a property.
Field Summary | |
---|---|
static String |
ALTREP
|
static String |
CN
|
static String |
CUTYPE
|
static String |
DELEGATED_FROM
|
static String |
DELEGATED_TO
|
static String |
DIR
|
static String |
ENCODING
|
static String |
FBTYPE
|
static String |
FMTTYPE
|
static String |
LANGUAGE
|
static String |
MEMBER
|
static String |
PARTSTAT
|
static String |
RANGE
|
static String |
RELATED
|
static String |
RELTYPE
|
static String |
ROLE
|
static String |
RSVP
|
static String |
SENT_BY
|
static String |
TZID
|
static String |
VALUE
|
Constructor Summary | |
---|---|
ICalParameters()
Creates a parameters list. |
|
ICalParameters(ICalParameters parameters)
Copies an existing parameters list. |
Method Summary | |
---|---|
void |
addDelegatedFrom(String uri)
Adds a person who has delegated his or her responsibility to an attendee. |
void |
addDelegatedTo(String uri)
Adds a person to which an attendee has delegated his or her responsibility. |
void |
addMember(String uri)
Adds a group that an attendee is a member of. |
String |
getAltRepresentation()
Gets a URI pointing to additional information about the entity represented by the property. |
CalendarUserType |
getCalendarUserType()
Gets the type of user an attendee is (for example, an "individual" or a "room"). |
String |
getCommonName()
Gets the display name of a person. |
List<String> |
getDelegatedFrom()
Gets the people who have delegated their responsibility to an attendee. |
List<String> |
getDelegatedTo()
Gets the people to which an attendee has delegated his or her responsibility. |
String |
getDirectoryEntry()
Gets a URI that contains additional information about the person. |
Encoding |
getEncoding()
Gets the encoding of the property value (for example, "base64"). |
String |
getFormatType()
Gets the content-type of the property's value. |
FreeBusyType |
getFreeBusyType()
Gets the person's status over the time periods that are specified in a FreeBusy property (for example, "free" or "busy"). |
String |
getLanguage()
Gets the language that the property value is written in. |
List<String> |
getMembers()
Gets the groups that an attendee is a member of. |
ParticipationStatus |
getParticipationStatus()
Gets an attendee's level of participation. |
Range |
getRange()
Gets the effective range of recurrence instances from the instance specified by a RecurrenceId property. |
Related |
getRelated()
Gets the date-time field that the duration in a Trigger property
is relative to. |
RelationshipType |
getRelationshipType()
Gets the relationship type of a RelatedTo property. |
Role |
getRole()
Gets an attendee's role (for example, "chair" or "required participant"). |
Boolean |
getRsvp()
Gets whether the organizer requests a response from an attendee. |
String |
getSentBy()
Gets a person that is acting on behalf of the person defined in the property. |
String |
getTimezoneId()
Gets the timezone identifier. |
ICalDataType |
getValue()
Gets the data type of the property's value (for example, "text" or "datetime"). |
void |
removeDelegatedFrom()
Removes everyone who has delegated his or her responsibility to an attendee. |
void |
removeDelegatedFrom(String uri)
Removes a person who has delegated his or her responsibility to an attendee. |
void |
removeDelegatedTo()
Removes everyone to which an attendee has delegated his or her responsibility. |
void |
removeDelegatedTo(String uri)
Removes a person to which an attendee has delegated his or her responsibility. |
void |
removeMember(String uri)
Removes a group that an attendee is a member of. |
void |
removeMembers()
Removes all groups that an attendee is a member of. |
protected String |
sanitizeKey(String key)
Modifies a given key before it is used to interact with the internal map. |
void |
setAltRepresentation(String uri)
Sets a URI pointing to additional information about the entity represented by the property. |
void |
setCalendarUserType(CalendarUserType cutype)
Sets the type of user an attendee is (for example, an "individual" or a "room"). |
void |
setCommonName(String cn)
Sets the display name of a person. |
void |
setDirectoryEntry(String uri)
Sets a URI that contains additional information about the person. |
void |
setEncoding(Encoding encoding)
Sets the encoding of the property value (for example, "base64"). |
void |
setFormatType(String formatType)
Sets the content-type of the property's value. |
void |
setFreeBusyType(FreeBusyType fbType)
Sets the person's status over the time periods that are specified in a FreeBusy property (for example, "free" or "busy"). |
void |
setLanguage(String language)
Sets the language that the property value is written in. |
void |
setParticipationStatus(ParticipationStatus status)
Sets an attendee's level of participation. |
void |
setRange(Range range)
Sets the effective range of recurrence instances from the instance specified by a RecurrenceId property. |
void |
setRelated(Related related)
Sets the date-time field that the duration in a Trigger property
is relative to. |
void |
setRelationshipType(RelationshipType relationshipType)
Sets the relationship type of a RelatedTo property. |
void |
setRole(Role role)
Sets an attendee's role (for example, "chair" or "required participant"). |
void |
setRsvp(Boolean rsvp)
Sets whether the organizer requests a response from an attendee. |
void |
setSentBy(String uri)
Sets a person that is acting on behalf of the person defined in the property. |
void |
setTimezoneId(String timezoneId)
Sets the timezone identifier. |
void |
setValue(ICalDataType value)
Sets the data type of the property's value (for example, "text" or "datetime"). |
List<String> |
validate()
Checks this parameters list for data consistency problems or deviations from the spec. |
Methods inherited from class biweekly.util.ListMultimap |
---|
clear, containsKey, equals, first, get, getMap, hashCode, isEmpty, iterator, keySet, put, putAll, remove, removeAll, replace, replace, size, toString, values |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String CN
public static final String ALTREP
public static final String CUTYPE
public static final String DELEGATED_FROM
public static final String DELEGATED_TO
public static final String DIR
public static final String ENCODING
public static final String FMTTYPE
public static final String FBTYPE
public static final String LANGUAGE
public static final String MEMBER
public static final String PARTSTAT
public static final String RANGE
public static final String RELATED
public static final String RELTYPE
public static final String ROLE
public static final String RSVP
public static final String SENT_BY
public static final String TZID
public static final String VALUE
Constructor Detail |
---|
public ICalParameters()
public ICalParameters(ICalParameters parameters)
parameters
- the list to copyMethod Detail |
---|
public String getAltRepresentation()
public void setAltRepresentation(String uri)
uri
- the URI or null to removepublic String getCommonName()
public void setCommonName(String cn)
cn
- the display name (e.g. "John Doe") or null to removepublic CalendarUserType getCalendarUserType()
public void setCalendarUserType(CalendarUserType cutype)
cutype
- the calendar user type or null to removepublic List<String> getDelegatedFrom()
public void addDelegatedFrom(String uri)
uri
- the delegator (typically an email URI, e.g.
"mailto:janedoe@example.com")public void removeDelegatedFrom(String uri)
uri
- the delegator to remove (typically an email URI, e.g.
"mailto:janedoe@example.com")public void removeDelegatedFrom()
public List<String> getDelegatedTo()
public void addDelegatedTo(String uri)
uri
- the delegatee (typically an email URI, e.g.
"mailto:janedoe@example.com")public void removeDelegatedTo(String uri)
uri
- the delegatee to remove (typically an email URI, e.g.
"mailto:janedoe@example.com")public void removeDelegatedTo()
public String getDirectoryEntry()
public void setDirectoryEntry(String uri)
uri
- the URI (e.g. an LDAP URI) or null to removepublic Encoding getEncoding()
public void setEncoding(Encoding encoding)
encoding
- the encoding or null to removepublic String getFormatType()
public void setFormatType(String formatType)
formatType
- the content type (e.g. "image/png") or null to removepublic FreeBusyType getFreeBusyType()
FreeBusy
property (for example, "free" or "busy"). If not set,
the user should be considered "busy".
public void setFreeBusyType(FreeBusyType fbType)
FreeBusy
property (for example, "free" or "busy"). If not set,
the user should be considered "busy".
fbType
- the type or null to removepublic String getLanguage()
public void setLanguage(String language)
language
- the language (e.g. "en" for English) or null to removepublic void addMember(String uri)
uri
- the group URI (typically, an email address URI, e.g.
"mailto:mailinglist@example.com")public List<String> getMembers()
public void removeMember(String uri)
uri
- the group URI to remove (typically, an email address URI, e.g.
"mailto:mailinglist@example.com")public void removeMembers()
public ParticipationStatus getParticipationStatus()
public void setParticipationStatus(ParticipationStatus status)
status
- the participation status or null to removepublic Range getRange()
RecurrenceId
property.
public void setRange(Range range)
RecurrenceId
property.
range
- the range or null to removepublic Related getRelated()
Trigger
property
is relative to.
public void setRelated(Related related)
Trigger
property
is relative to.
related
- the field or null to removepublic RelationshipType getRelationshipType()
RelatedTo
property.
public void setRelationshipType(RelationshipType relationshipType)
RelatedTo
property.
relationshipType
- the relationship type (e.g. "child") or null to
removepublic Role getRole()
public void setRole(Role role)
role
- the role or null to removepublic Boolean getRsvp()
IllegalStateException
- if the parameter value is malformed and
cannot be parsedpublic void setRsvp(Boolean rsvp)
rsvp
- true if an RSVP has been requested, false if not, null to
removepublic String getSentBy()
public void setSentBy(String uri)
uri
- a URI representing the person (typically, an email URI, e.g.
"mailto:janedoe@example.com") or null to removepublic String getTimezoneId()
TimezoneId
property of a VTimezone
component, or (b)
specifies a globally-defined timezone (e.g. "America/New_York"). For a
list of globally-defined timezones, see the TZ database.
public void setTimezoneId(String timezoneId)
TimezoneId
property of a VTimezone
component, or (b)
specifies a globally-defined timezone (e.g. "America/New_York"). For a
list of globally-defined timezones, see the TZ database.
timezoneId
- the timezone identifier or null to removepublic ICalDataType getValue()
public void setValue(ICalDataType value)
value
- the data type or null to removepublic List<String> validate()
protected String sanitizeKey(String key)
ListMultimap
sanitizeKey
in class ListMultimap<String,String>
key
- the key
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |