Package org.bedework.convert.ical
Class VAlarmUtil
java.lang.Object
org.bedework.convert.ical.IcalUtil
org.bedework.convert.ical.VAlarmUtil
Class to provide utility methods for handline VAlarm ical4j classes
- Author:
- Mike Douglass douglm rpi.edu
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.bedework.util.misc.response.ResponseprocessAlarm(IcalCallback cb, net.fortuna.ical4j.model.Component val, net.fortuna.ical4j.model.component.VAlarm va, BwEvent ev, String currentPrincipal, ChangeTable chg) If there are any alarms for this component add them to the events alarm collectionstatic voidprocessEventAlarm(BwEvent ev, net.fortuna.ical4j.model.Component comp, String currentPrincipal) Process any alarms.Methods inherited from class org.bedework.convert.ical.IcalUtil
addParameter, addProperty, addXproperty, getAltRep, getAttachment, getAttendee, getDurationRepeat, getLang, getOptStr, getOptStr, getOrganizer, getParameter, getParameterVal, getProperties, getProperty, getReqStr, getReqStrs, getTrigger, getVlocations, getVoter, getXcomp, initAttendeeVoter, makeDateTime, makeDateTimes, makeDtEnd, makeDtEnd, makeDue, makeXparlist, parseParticipants, parseVpollCandidates, parseVpollVoters, setAttachment, setAttendee, setDates, setOrganizer, setVoter, toVlocation, xpropertiesToIcal
-
Constructor Details
-
VAlarmUtil
public VAlarmUtil()
-
-
Method Details
-
processAlarm
public static org.bedework.util.misc.response.Response processAlarm(IcalCallback cb, net.fortuna.ical4j.model.Component val, net.fortuna.ical4j.model.component.VAlarm va, BwEvent ev, String currentPrincipal, ChangeTable chg) If there are any alarms for this component add them to the events alarm collection- Parameters:
cb- IcalCallback objectval- the parent componentva- the alarmev- bedework event objectcurrentPrincipal- - href for current authenticated userchg- change table- Throws:
CalFacadeException- on fatal error
-
processEventAlarm
public static void processEventAlarm(BwEvent ev, net.fortuna.ical4j.model.Component comp, String currentPrincipal) throws CalFacadeException Process any alarms.- Parameters:
ev- the eventcomp- representing the eventcurrentPrincipal- - href for current authenticated user- Throws:
CalFacadeException- on fatal error
-