| org.sakaiproject.calendar.api.CalendarEventEdit
clearGroupAccess | void clearGroupAccess() throws PermissionException(Code) | | Remove any grouping for this event; the access mode reverts to site and any groups are removed.
throws: PermissionException - if the end user does not have permission to do this. |
setCreator | public void setCreator()(Code) | | Set the event creator (cover for PROP_CREATOR) to current user
|
setDescription | public void setDescription(String description)(Code) | | Set the description property as plain text (cover for PROP_DESCRIPTION).
Parameters: description - The event's description property. |
setDescriptionFormatted | public void setDescriptionFormatted(String description)(Code) | | Set the description property as formatted text (cover for PROP_DESCRIPTION).
Parameters: description - The event's description property. |
setDisplayName | public void setDisplayName(String name)(Code) | | Set the display name property (cover for PROP_DISPLAY_NAME).
Parameters: name - The event's display name property. |
setField | public void setField(String name, String value)(Code) | | Set the value of an "extra" event field.
Parameters: name - The "extra" field name Parameters: value - The value to set, or null to remove the field. |
setGroupAccess | void setGroupAccess(Collection groups, boolean own) throws PermissionException(Code) | | Set these as the event's groups, replacing the access and groups already defined.
Parameters: Collection - groups The colelction of Group objects to use for this event. Parameters: own - boolean flag true if setting access for own event throws: PermissionException - if the end user does not have permission to remove from the groups that would be removed or add to the groups that would be added. |
setLocation | public void setLocation(String location)(Code) | | Set the location (cover for PROP_CALENDAR_LOCATION).
Parameters: location - The event's location property. |
setModifiedBy | public void setModifiedBy()(Code) | | Set the event modifier (cover for PROP_MODIFIED_BY) to current user
|
setRange | public void setRange(TimeRange range)(Code) | | Replace the time range
Parameters: The - new event time range |
setRecurrenceRule | public void setRecurrenceRule(RecurrenceRule rule)(Code) | | Sets the recurrence rule.
Parameters: rule - The recurrence rule, or null to clear out the rule. |
setType | public void setType(String type)(Code) | | Set the type (cover for PROP_CALENDAR_TYPE).
Parameters: type - The event's type property. |
|
|