Tabnine Logo
BwEvent.addCategory
Code IndexAdd Tabnine to your IDE (free)

How to use
addCategory
method
in
org.bedework.calfacade.BwEvent

Best Java code snippets using org.bedework.calfacade.BwEvent.addCategory (Showing top 2 results out of 315)

origin: org.bedework.caleng/bw-calendar-engine-facade

public boolean addCategory(BwCategory val) {
 return entity.addCategory(val);
}
origin: org.bedework.caleng/bw-calendar-engine-ical

private static boolean checkCategory(final IcalCallback cb,
                   final ChangeTable chg,
                   final BwEvent ev,
                   final String lang,
                   final String val) throws CalFacadeException {
 final BwString sval = new BwString(lang, val);
 final BwCategory cat = cb.findCategory(sval);
 if (cat == null) {
  return false;
 }
 final Set<BwCategory> cats = ev.getCategories();
 if (cats != null) {
  for (final BwCategory c : cats) {
   if (c.getWord().equals(sval)) {
    // Already present
    return true;
   }
  }
 }
 ev.addCategory(cat);
 chg.addValue(PropertyIndex.PropertyInfoIndex.CATEGORIES,
        cat);
 return true;
}
org.bedework.calfacadeBwEventaddCategory

Popular methods of BwEvent

  • addAttendee
  • addAvailableUid
    Add as available uid
  • addComment
  • addContact
  • addFreeBusyPeriod
    Add a free/busy component
  • addPollItem
    Add vpoll item
  • addRdate
  • addVvoter
    Add vpoll vvoter
  • clearPollItems
    Clear the vpoll items
  • clearVvoters
    Clear the vpoll voters
  • compare
  • findDescription
  • compare,
  • findDescription,
  • findSummary,
  • getAlarms,
  • getAttachments,
  • getAttendees,
  • getBusyType,
  • getCategories,
  • getClassification

Popular in Java

  • Creating JSON documents from java classes using gson
  • setRequestProperty (URLConnection)
  • runOnUiThread (Activity)
  • putExtra (Intent)
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • From CI to AI: The AI layer in your organization
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now