Package org.bedework.calfacade
Class CollectionInfo
java.lang.Object
org.bedework.calfacade.CollectionInfo
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
FieldsModifier and TypeFieldDescriptionbooleanAllow annotationsbooleanFreebusy allowedbooleanCan be the target of an aliasbooleanChildren allowed in this collectionintAllows us to use this as a parameterbooleanObjects in here can be indexedbooleanOnly calendar entities herebooleanProvision at creation and cehck for thembooleanScheduling allowed herebooleanShareable/publishablebooleanIs this 'special', e.g.booleanGuid + recurrence must be unique -
Constructor Summary
ConstructorsConstructorDescriptionCollectionInfo(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
-
Field Details
-
collectionType
public int collectionTypeAllows us to use this as a parameter -
special
public boolean specialIs this 'special', e.g. Trash -
childrenAllowed
public boolean childrenAllowedChildren allowed in this collection -
indexable
public boolean indexableObjects in here can be indexed -
uniqueKey
public boolean uniqueKeyGuid + recurrence must be unique -
allowAnnotations
public boolean allowAnnotationsAllow annotations -
allowFreeBusy
public boolean allowFreeBusyFreebusy allowed -
canAlias
public boolean canAliasCan be the target of an alias -
onlyCalEntities
public boolean onlyCalEntitiesOnly calendar entities here -
scheduling
public boolean schedulingScheduling allowed here -
provision
public boolean provisionProvision 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 typespecial- true for specialchildrenAllowed- true/falseindexable- true/falseuniqueKey- e.g. false for inboxallowAnnotations- can we annotate the entitiesallowFreeBusy- on this collection?canAlias- can we symlink itonlyCalEntities- one entities in thisscheduling- a scheduling collection?shareable- is it shareable?provision- do we provision?
-