Class VAlarmUtil

java.lang.Object
org.bedework.convert.ical.IcalUtil
org.bedework.convert.ical.VAlarmUtil

public class VAlarmUtil extends IcalUtil
Class to provide utility methods for handline VAlarm ical4j classes
Author:
Mike Douglass douglm rpi.edu
  • 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 object
      val - the parent component
      va - the alarm
      ev - bedework event object
      currentPrincipal - - href for current authenticated user
      chg - 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 event
      comp - representing the event
      currentPrincipal - - href for current authenticated user
      Throws:
      CalFacadeException - on fatal error