Class CollectionInfo

java.lang.Object
org.bedework.calfacade.CollectionInfo

public class CollectionInfo extends Object
There are limitations on what may be placed in each type of collection, e.g folders cannot hold entities, guids must be unique in calendars etc.

This class allows us to create a list of characteristics for each calendar type.

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    boolean
    Allow annotations
    boolean
    Freebusy allowed
    boolean
    Can be the target of an alias
    boolean
    Children allowed in this collection
    int
    Allows us to use this as a parameter
    boolean
    Objects in here can be indexed
    boolean
    Only calendar entities here
    boolean
    Provision at creation and cehck for them
    boolean
    Scheduling allowed here
    boolean
    Shareable/publishable
    boolean
    Is this 'special', e.g.
    boolean
    Guid + recurrence must be unique
  • Constructor Summary

    Constructors
    Constructor
    Description
    CollectionInfo(int collectionType, boolean special, boolean childrenAllowed, boolean indexable, boolean uniqueKey, boolean allowAnnotations, boolean allowFreeBusy, boolean canAlias, boolean onlyCalEntities, boolean scheduling, boolean shareable, boolean provision)
     
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • collectionType

      public int collectionType
      Allows us to use this as a parameter
    • special

      public boolean special
      Is this 'special', e.g. Trash
    • childrenAllowed

      public boolean childrenAllowed
      Children allowed in this collection
    • indexable

      public boolean indexable
      Objects in here can be indexed
    • uniqueKey

      public boolean uniqueKey
      Guid + recurrence must be unique
    • allowAnnotations

      public boolean allowAnnotations
      Allow annotations
    • allowFreeBusy

      public boolean allowFreeBusy
      Freebusy allowed
    • canAlias

      public boolean canAlias
      Can be the target of an alias
    • onlyCalEntities

      public boolean onlyCalEntities
      Only calendar entities here
    • scheduling

      public boolean scheduling
      Scheduling allowed here
    • shareable

      public boolean shareable
      Shareable/publishable
    • provision

      public boolean provision
      Provision at creation and cehck for them
  • Constructor Details

    • CollectionInfo

      public CollectionInfo(int collectionType, boolean special, boolean childrenAllowed, boolean indexable, boolean uniqueKey, boolean allowAnnotations, boolean allowFreeBusy, boolean canAlias, boolean onlyCalEntities, boolean scheduling, boolean shareable, boolean provision)
      Parameters:
      collectionType - the type
      special - true for special
      childrenAllowed - true/false
      indexable - true/false
      uniqueKey - e.g. false for inbox
      allowAnnotations - can we annotate the entities
      allowFreeBusy - on this collection?
      canAlias - can we symlink it
      onlyCalEntities - one entities in this
      scheduling - a scheduling collection?
      shareable - is it shareable?
      provision - do we provision?