Class BwEventProxy
- All Implemented Interfaces:
Serializable,Comparable<BwEvent>,Comparator<BwEvent>,AlarmsEntity,AttachmentsEntity,AttendeesEntity,CategorisedEntity,ChangeFlag,CommentedEntity,ConceptEntity,ContactedEntity,DescriptionEntity<BwLongString>,EventEntity,OwnedEntity,RecurrenceEntity,ResourcedEntity,ShareableEntity,StartEndComponent,SummaryEntity,XpropsEntity,org.bedework.util.logging.Logged
DO NOT EDIT THE GENERATED JAVA.
The proxy java source is generated based on annotations in the event file. To change the proxy, either make changes to the annotations processing or change the annotations in the event class.
An event proxy in Bedework.If an event is an alias or reference to another event, this class holds links to both. The referring event will hold user changes, which override the values in the target.
For any collection we need to copy the entire collection into the referring event if a change is made. We need a flag to indicate such changes.
We cannot just look at the values in the two objects becuase we have to call the getXXX method to allow the persistance engine to retrieve the collection.
We could also remove the current mode, that of creating an empty collection in the get methods when none exists.
XXX Incomplete. Some fields we can handle easily (String mostly). Problems still arise with fields like locations and recurrence stuff.
- Version:
- 1.0
- Author:
- Mike Douglass
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bedework.calfacade.BwEvent
BwEvent.ProxiedFieldIndex, BwEvent.SuggestedToNested classes/interfaces inherited from class org.bedework.calfacade.base.DumpEntity
DumpEntity.DumpType -
Field Summary
Fields inherited from class org.bedework.calfacade.BwEvent
busyTypeBusy, busyTypeBusyTentative, busyTypeBusyUnavailable, busyTypeStrings, scheduleStateExternalDone, scheduleStateNotProcessed, scheduleStateProcessed, statusCancelled, statusComplete, statusConfirmed, statusDraft, statusFinal, statusInProcess, statusMasterSuppressed, statusNeedsAction, statusTentative, statusUnavailableFields inherited from interface org.bedework.calfacade.base.StartEndComponent
endTypeDate, endTypeDuration, endTypeNone -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Make visibleWhen cloning a proxy we generally need to point the cloned annotation at a new target and master.Get the accessGet the attendeesGet the attendeesGet the attendeesNOTE: these have the NoProxy annotation as we treat them specially in the proxy until we get a schema update (4.0)Get the categoriesbooleanSee if the event has changed.Get the event's classificationGet the object's collection pathGet the commentsGet the contactsgetCost()Get the event's costbooleanGet the event deleted flagGet the descriptionsgetDtend()Get the event's endGet the start time for the entityGet the duration for the entity if an event or todo, or the requested duration for a free/busy object.charget the endType flag for an event or todointgetGeo()Get the event's geointgetId()getLink()Get the event's URLlonggetName()Get the event's name.A todo may have no start/end.Get the organizerNOTE: these have the NoProxy annotation as we treat them specially in the proxy until we get a schema update (4.0)Get the event's originatorGet the percentCompleteGet the acceptable poll component types in the reponsebooleanGet the event's poll item idGet the poll modeGet the poll propertiesGet the winning item idGet the events rfc priorityGet the recipientsGet the recurrence idgetRef()Get referenced eventGet the relatedTo propertyGet the requestStatusGet the resourcesintGet the events scheduleMethodintGet the events scheduleStatebooleanintgetSeq()Get the entity seqintGet the events rfc sequencegetStag()Get the event's statusGet the summariesGet the target from the refGet the event tombstoned flag.Get the event's transparencygetUid()Get the uidbooleanTrue if we have exrulesbooleanTrue if we have rrulesstatic voidinitAnnotation(BwEventAnnotation ann, BwEvent ev, String ownerHref, boolean forInstance) Initialise an annotation object from the given event.static BwEventProxymakeAnnotation(BwEvent ev, String ownerHref, boolean forInstance) Creates an annotation object for the given event then returns a proxy object to handle it.Return a BwDuration populated from the String duration.voidSet the accessvoidSet the attendees SetvoidsetAttachments(Set<BwAttachment> val) Set the attendees SetvoidsetAttendees(Set<BwAttendee> val) Set the attendees SetvoidTrue if this is a valid attendee scheduling object.voidsetCategories(Set<BwCategory> val) Set the categories SetvoidsetChangeFlag(boolean val) Set the event change flag.voidsetClassification(String val) Set the event's classificationvoidsetColPath(String val) Set the object's collection pathvoidsetComments(Set<BwString> val) Set the comments SetvoidsetCompleted(String val) todo only - UTC time completedvoidsetContacts(Set<BwContact> val) Set the contacts SetvoidSet the event's costvoidsetCreated(String val) voidsetCreatorHref(String val) Set the creatorvoidSet the change tokenvoidsetDeleted(boolean val) Set the event deleted flagvoidsetDescriptions(Set<BwLongString> val) Set the descriptions SetvoidsetDtend(BwDateTime val) Set the end or due date for the entityvoidsetDtstamp(String val) voidsetDtstart(BwDateTime val) Set the start time for the entityvoidsetDuration(String val) Set the duration for the entity if an event or todo, or the requested duration for a free/busy object.voidsetEndType(char val) Set the endType flag for an event or todovoidsetEntityType(int val) Set entity type defined in IcalDefsvoidsetExdates(Set<BwDateTime> val) voidsetExrules(Set<String> val) voidSet the event's geovoidsetId(int val) voidsetLastmod(String val) voidSet the event's URLvoidsetLocation(BwLocation val) voidSet the event's namevoidsetNoStart(Boolean val) A todo may have no start/end.voidsetOrganizer(BwOrganizer val) Set the organizervoidTrue if this is a valid organizer scheduling object.voidsetOriginator(String val) Set the event's originatorvoidsetOwnerHref(String val) Set the ownervoidtodo only - Set the percentCompletevoidSet the acceptable poll component types in the reponsevoidsetPollCandidate(boolean val) voidsetPollItemId(Integer val) voidsetPollMode(String val) Set the poll modevoidsetPollProperties(String val) Set the poll propertiesvoidsetPollWinner(Integer val) The poll winnervoidsetPriority(Integer val) Set the rfc priority for this eventvoidsetPublick(Boolean val) voidsetRdates(Set<BwDateTime> val) voidsetRecipients(Set<String> val) Set the recipients SetvoidsetRecurrenceId(String val) Set the recurrence idvoidsetRecurring(Boolean val) voidsetRelatedTo(BwRelatedTo val) Set the relatedTo propertyvoidSet the requestStatusvoidsetResources(Set<BwString> val) Set the resources SetvoidXXX Wrong - it should be a listvoidsetScheduleMethod(int val) Set the scheduleMethod for this event.voidsetScheduleState(int val) Set the scheduleState for this eventvoidsetSeq(int val) Set the seq for this entityvoidsetSequence(int val) Set the rfc sequence for this eventvoidvoidSet the event's status - must be one of CONFIRMED, TENTATIVE, or CANCELLEDvoidsetSummaries(Set<BwString> val) Set the summaries SetvoidsetTombstoned(Boolean val) Set the event tombstoned flag.voidsetTransparency(String val) Set the event's transparencyvoidSet the uidvoidsetXproperties(List<BwXproperty> val) Set the x-propstoString()voidSet the dtstamp for this event.voidSet the last mod for this event.Methods inherited from class org.bedework.calfacade.BwEvent
addAlarm, addAttachment, addAttendee, addAvailableUid, addCategory, addComment, addComment, addContact, addDescription, addDescription, addExdate, addExrule, addFreeBusyPeriod, addPollItem, addRdate, addRecipient, addRequestStatus, addResource, addResource, addRrule, addSuggested, addSummary, addSummary, addVoter, addXproperty, assignGuid, calculateByteSize, clearAttachments, clearChangeset, clearPollItems, clearVoters, cloneAlarms, cloneAttachments, cloneAttendees, cloneCategories, cloneContacts, cloneRequestStatuses, cloneTombstone, cloneXproperty, compare, compareTo, copyAttachments, copyAttendees, copyCategories, copyContacts, copyTo, findAttendee, findDescription, findPeruserXprop, findSummary, findXproperty, fromBusyTypeString, getAvailableUids, getBusyType, getBusyTypeString, getCalSuite, getCategoryHrefs, getChangeset, getColor, getConcepts, getContact, getContactHrefs, getDescription, getEncodedHref, getEstimatedDuration, getForceUTC, getFreeBusyPeriods, getHref, getLocationHref, getNumAlarms, getNumAttachments, getNumAttendees, getNumCategories, getNumComments, getNumContacts, getNumDescriptions, getNumRecipients, getNumRequestStatuses, getNumResources, getNumSummaries, getNumXproperties, getOverrides, getParent, getPeruserTransparency, getPollItems, getPublishUrl, getSignificantChange, getSuggested, getSummary, getSuppressed, getTimeZoneIds, getVlocations, getVoters, getXicalProperties, getXproperties, getXproperty, hasCategory, hasContact, hasExdates, hashCode, hasRdates, hex4, hex4FromNanos, inDateTimeRange, isRecurringEntity, isSchedulingAssistant, makeConcept, makeFreeBusyEvent, removeAlarm, removeAttachment, removeAttendee, removeCategory, removeComment, removeContact, removeDescription, removeRecipient, removeRequestStatus, removeResource, removeSummary, removeXproperties, removeXproperty, replaceXproperty, setAvailableUids, setBusyType, setBusyTypeString, setCalSuite, setCategoryHrefs, setColor, setContact, setContactHrefs, setDescription, setDtstamps, setEstimatedDuration, setForceUTC, setFreeBusyPeriods, setLocationHref, setOverrides, setParent, setPeruserTransparency, setPublishUrl, setSignificantChange, setSummary, setSuppressed, testRecurring, toStringSegment, updateDescriptions, updateStag, updateSummaries, validTransparencyMethods inherited from class org.bedework.calfacade.base.BwShareableContainedDbentity
copyTo, setColPath, shallowCopyToMethods inherited from class org.bedework.calfacade.base.BwShareableDbentity
copyTo, getCreatorEnt, setCreatorEnt, shallowCopyToMethods inherited from class org.bedework.calfacade.base.BwOwnedDbentity
copyTo, shallowCopyToMethods inherited from class org.bedework.calfacade.base.BwDbentity
addDeletedEntity, afterDeletion, beforeDeletion, beforeSave, beforeUpdate, getByteSize, getDeletedEntities, length, setByteSizeMethods inherited from class org.bedework.calfacade.base.BwUnversionedDbentity
equals, markUnsaved, setHref, unsavedMethods inherited from class org.bedework.calfacade.base.DumpEntity
dump, dump, getLogger, hasDumpValueMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongMethods inherited from interface org.bedework.util.logging.Logged
audit, debug, debug, debug, enableAuditLogger, enableErrorLogger, enableMetricsLogger, error, error, error, getLogLevel, info, isAuditLoggerEnabled, isErrorLoggerEnabled, isMetricsDebugEnabled, isMetricsLoggerEnabled, metrics, setLoggerClass, setLoggerClass, trace, trace, trace, warnMethods inherited from interface org.bedework.calfacade.base.XpropsEntity
getXnonskipProperties
-
Constructor Details
-
BwEventProxy
Constructor- Parameters:
ref-
-
-
Method Details
-
getRef
Get referenced event- Returns:
- BwEventAnnotation
-
setChangeFlag
public void setChangeFlag(boolean val) Set the event change flag.- Specified by:
setChangeFlagin interfaceChangeFlag- Parameters:
val- boolean true if event changed.
-
getChangeFlag
public boolean getChangeFlag()See if the event has changed.- Specified by:
getChangeFlagin interfaceChangeFlag- Returns:
- boolean true if event changed.
-
getTarget
Get the target from the ref- Returns:
- BwEvent target of reference
-
setId
public void setId(int val) - Overrides:
setIdin classBwUnversionedDbentity<BwEvent>
-
getId
public int getId()- Overrides:
getIdin classBwUnversionedDbentity<BwEvent>- Returns:
- int id
-
setSeq
public void setSeq(int val) Description copied from class:BwDbentitySet the seq for this entity- Overrides:
setSeqin classBwDbentity<BwEvent>- Parameters:
val- int seq
-
getSeq
public int getSeq()Description copied from class:BwDbentityGet the entity seq- Overrides:
getSeqin classBwDbentity<BwEvent>- Returns:
- int the entity seq
-
setOwnerHref
Description copied from interface:OwnedEntitySet the owner- Specified by:
setOwnerHrefin interfaceOwnedEntity- Overrides:
setOwnerHrefin classBwOwnedDbentity<BwEvent>- Parameters:
val- String owner path of the entity e.g. /principals/users/jim
-
getOwnerHref
- Specified by:
getOwnerHrefin interfaceOwnedEntity- Overrides:
getOwnerHrefin classBwOwnedDbentity<BwEvent>- Returns:
- String owner of the entity
-
setPublick
- Specified by:
setPublickin interfaceOwnedEntity- Overrides:
setPublickin classBwOwnedDbentity<BwEvent>- Parameters:
val- public/not public
-
getPublick
- Specified by:
getPublickin interfaceOwnedEntity- Overrides:
getPublickin classBwOwnedDbentity<BwEvent>- Returns:
- Boolean true for public
-
setCreatorHref
Description copied from interface:ShareableEntitySet the creator- Specified by:
setCreatorHrefin interfaceShareableEntity- Overrides:
setCreatorHrefin classBwShareableDbentity<BwEvent>- Parameters:
val- String creator of the entity
-
getCreatorHref
- Specified by:
getCreatorHrefin interfaceShareableEntity- Overrides:
getCreatorHrefin classBwShareableDbentity<BwEvent>- Returns:
- BwUser creator of the entity
-
setAccess
Set the access- Specified by:
setAccessin interfaceShareableEntity- Overrides:
setAccessin classBwShareableDbentity<BwEvent>- Parameters:
val- String access
-
getAccess
Get the access- Specified by:
getAccessin interfaceShareableEntity- Overrides:
getAccessin classBwShareableDbentity<BwEvent>- Returns:
- String access
-
setColPath
Set the object's collection path- Overrides:
setColPathin classBwShareableContainedDbentity<BwEvent>- Parameters:
val- String path
-
getColPath
Get the object's collection path- Overrides:
getColPathin classBwShareableContainedDbentity<BwEvent>- Returns:
- String path
-
setDtstart
Description copied from interface:StartEndComponentSet the start time for the entity- Specified by:
setDtstartin interfaceStartEndComponent- Overrides:
setDtstartin classBwEvent- Parameters:
val- Event's start
-
setDtend
Description copied from interface:StartEndComponentSet the end or due date for the entity- Specified by:
setDtendin interfaceStartEndComponent- Overrides:
setDtendin classBwEvent- Parameters:
val- end
-
setEndType
public void setEndType(char val) Description copied from interface:StartEndComponentSet the endType flag for an event or todo- Specified by:
setEndTypein interfaceStartEndComponent- Overrides:
setEndTypein classBwEvent- Parameters:
val- char endType
-
setDuration
Description copied from interface:StartEndComponentSet the duration for the entity if an event or todo, or the requested duration for a free/busy object.- Specified by:
setDurationin interfaceStartEndComponent- Overrides:
setDurationin classBwEvent- Parameters:
val- string duration
-
setNoStart
Description copied from interface:StartEndComponentA todo may have no start/end. If so it always appears in the current day until completed.- Specified by:
setNoStartin interfaceStartEndComponent- Overrides:
setNoStartin classBwEvent
-
setOrganizerSchedulingObject
Description copied from class:BwEventTrue if this is a valid organizer scheduling object. (See CalDAV scheduling specification). This can be set false (and will be on copy) to suppress sending of invitations, e.g. for a draft.When the event is added this flag will be set true if the appropriate conditions are satisfied. NOTE: these have the NoProxy annotation as we treat them specially in the proxy until we get a schema update (4.0)
- Overrides:
setOrganizerSchedulingObjectin classBwEvent- Parameters:
val- Boolean True if this is a valid organizer scheduling object
-
getOrganizerSchedulingObject
Description copied from class:BwEventNOTE: these have the NoProxy annotation as we treat them specially in the proxy until we get a schema update (4.0)- Overrides:
getOrganizerSchedulingObjectin classBwEvent- Returns:
- Boolean
-
setAttendeeSchedulingObject
Description copied from class:BwEventTrue if this is a valid attendee scheduling object. (See CalDAV scheduling specification) NOTE: these have the NoProxy annotation as we treat them specially in the proxy until we get a schema update (4.0)- Overrides:
setAttendeeSchedulingObjectin classBwEvent- Parameters:
val- Boolean True if this is a valid attendee scheduling object
-
getAttendeeSchedulingObject
Description copied from class:BwEventNOTE: these have the NoProxy annotation as we treat them specially in the proxy until we get a schema update (4.0)- Overrides:
getAttendeeSchedulingObjectin classBwEvent- Returns:
- Boolean
-
setEntityType
public void setEntityType(int val) Description copied from class:BwEventSet entity type defined in IcalDefs- Overrides:
setEntityTypein classBwEvent- Parameters:
val- entity type
-
getEntityType
public int getEntityType()- Overrides:
getEntityTypein classBwEvent- Returns:
- entity type defined in IcalDefs
-
setName
Description copied from class:BwEventSet the event's name -
getName
Description copied from class:BwEventGet the event's name. -
setClassification
Description copied from class:BwEventSet the event's classification- Overrides:
setClassificationin classBwEvent- Parameters:
val- String event's description
-
getClassification
Description copied from class:BwEventGet the event's classification- Overrides:
getClassificationin classBwEvent- Returns:
- String event's classification
-
setLink
Description copied from class:BwEventSet the event's URL -
getLink
Description copied from class:BwEventGet the event's URL -
setGeo
Description copied from class:BwEventSet the event's geo -
getGeo
Description copied from class:BwEventGet the event's geo -
setDeleted
public void setDeleted(boolean val) Description copied from class:BwEventSet the event deleted flag- Overrides:
setDeletedin classBwEvent- Parameters:
val- boolean true if the event is deleted
-
getDeleted
public boolean getDeleted()Description copied from class:BwEventGet the event deleted flag- Overrides:
getDeletedin classBwEvent- Returns:
- boolean true if the event is deleted
-
setTombstoned
Description copied from class:BwEventSet the event tombstoned flag. This is distinct from the deleted flag which is a user settable flag. This flag indicated the event really is deleted but we want to retain information for synchronization purposes.Unsetting this flag may cause some odd effects
- Overrides:
setTombstonedin classBwEvent- Parameters:
val- boolean true if the event is tombstoned
-
getTombstoned
Description copied from class:BwEventGet the event tombstoned flag. This is distinct from the deleted flag which is a user settable flag. This flag indicated the event really is deleted but we want to retain information for synchronization purposes.- Overrides:
getTombstonedin classBwEvent- Returns:
- boolean true if the event is tombstoned
-
setStatus
Description copied from class:BwEventSet the event's status - must be one of CONFIRMED, TENTATIVE, or CANCELLED -
getStatus
Description copied from class:BwEventGet the event's status -
setCost
Description copied from class:BwEventSet the event's cost -
getCost
Description copied from class:BwEventGet the event's cost -
setOrganizer
Description copied from class:BwEventSet the organizer- Overrides:
setOrganizerin classBwEvent- Parameters:
val- BwOrganizer organizer
-
getOrganizer
Description copied from class:BwEventGet the organizer- Overrides:
getOrganizerin classBwEvent- Returns:
- BwOrganizer the organizer
-
setDtstamp
- Overrides:
setDtstampin classBwEvent- Parameters:
val- dtstamp
-
getDtstamp
- Overrides:
getDtstampin classBwEvent- Returns:
- String datestamp
-
setLastmod
- Overrides:
setLastmodin classBwEvent- Parameters:
val- last modified
-
getLastmod
- Overrides:
getLastmodin classBwEvent- Returns:
- String lastmod
-
setCreated
- Overrides:
setCreatedin classBwEvent- Parameters:
val- created
-
getCreated
- Overrides:
getCreatedin classBwEvent- Returns:
- String created
-
setStag
-
getStag
-
setPriority
Description copied from class:BwEventSet the rfc priority for this event- Overrides:
setPriorityin classBwEvent- Parameters:
val- rfc priority number
-
getPriority
Description copied from class:BwEventGet the events rfc priority- Overrides:
getPriorityin classBwEvent- Returns:
- Integer the events rfc priority
-
setSequence
public void setSequence(int val) Description copied from class:BwEventSet the rfc sequence for this event- Overrides:
setSequencein classBwEvent- Parameters:
val- rfc sequence number
-
getSequence
public int getSequence()Description copied from class:BwEventGet the events rfc sequence- Overrides:
getSequencein classBwEvent- Returns:
- int the events rfc sequence
-
setLocation
- Overrides:
setLocationin classBwEvent- Parameters:
val- a BwLocation object
-
getLocation
- Overrides:
getLocationin classBwEvent- Returns:
- BwLocation or null
-
setUid
Description copied from class:BwEventSet the uid -
getUid
Description copied from class:BwEventGet the uid -
setTransparency
Description copied from class:BwEventSet the event's transparency- Overrides:
setTransparencyin classBwEvent- Parameters:
val- String event's transparency
-
getTransparency
Description copied from class:BwEventGet the event's transparency- Overrides:
getTransparencyin classBwEvent- Returns:
- String the event's transparency
-
setPercentComplete
Description copied from class:BwEventtodo only - Set the percentComplete- Overrides:
setPercentCompletein classBwEvent- Parameters:
val- percentComplete
-
getPercentComplete
Description copied from class:BwEventGet the percentComplete- Overrides:
getPercentCompletein classBwEvent- Returns:
- Integer percentComplete
-
setCompleted
Description copied from class:BwEventtodo only - UTC time completed- Overrides:
setCompletedin classBwEvent- Parameters:
val- UTC completed time
-
getCompleted
- Overrides:
getCompletedin classBwEvent- Returns:
- String completed
-
setScheduleMethod
public void setScheduleMethod(int val) Description copied from class:BwEventSet the scheduleMethod for this event. Takes methodType values defined in Icalendar- Overrides:
setScheduleMethodin classBwEvent- Parameters:
val- scheduleMethod
-
getScheduleMethod
public int getScheduleMethod()Description copied from class:BwEventGet the events scheduleMethod- Overrides:
getScheduleMethodin classBwEvent- Returns:
- int the events scheduleMethod
-
setOriginator
Description copied from class:BwEventSet the event's originator- Overrides:
setOriginatorin classBwEvent- Parameters:
val- String event's originator
-
getOriginator
Description copied from class:BwEventGet the event's originator- Overrides:
getOriginatorin classBwEvent- Returns:
- String the event's originator
-
setScheduleState
public void setScheduleState(int val) Description copied from class:BwEventSet the scheduleState for this event- Overrides:
setScheduleStatein classBwEvent- Parameters:
val- scheduleState
-
getScheduleState
public int getScheduleState()Description copied from class:BwEventGet the events scheduleState- Overrides:
getScheduleStatein classBwEvent- Returns:
- int the events scheduleState
-
setRelatedTo
Description copied from class:BwEventSet the relatedTo property- Overrides:
setRelatedToin classBwEvent- Parameters:
val- BwRelatedTo relatedTo property
-
getRelatedTo
Description copied from class:BwEventGet the relatedTo property- Overrides:
getRelatedToin classBwEvent- Returns:
- BwRequestStatus the relatedTo property
-
setXproperties
Description copied from interface:XpropsEntitySet the x-props- Specified by:
setXpropertiesin interfaceXpropsEntity- Overrides:
setXpropertiesin classBwEvent- Parameters:
val- x-properties
-
getXproperties
- Specified by:
getXpropertiesin interfaceXpropsEntity- Overrides:
getXpropertiesin classBwEvent- Returns:
- List
-
setRequestStatuses
Description copied from class:BwEventSet the requestStatus- Overrides:
setRequestStatusesin classBwEvent- Parameters:
val- BwRequestStatus requestStatus
-
getRequestStatuses
Description copied from class:BwEventGet the requestStatus- Overrides:
getRequestStatusesin classBwEvent- Returns:
- Set of BwRequestStatus the requestStatus
-
setCtoken
Description copied from class:BwEventSet the change token -
getCtoken
-
setRecurring
- Specified by:
setRecurringin interfaceRecurrenceEntity- Overrides:
setRecurringin classBwEvent
-
getRecurring
- Specified by:
getRecurringin interfaceRecurrenceEntity- Overrides:
getRecurringin classBwEvent- Returns:
- Boolean true if a recurring event - only relevant for master event.
-
setRecurrenceId
Description copied from interface:RecurrenceEntitySet the recurrence id- Specified by:
setRecurrenceIdin interfaceRecurrenceEntity- Overrides:
setRecurrenceIdin classBwEvent- Parameters:
val- recurrence id
-
getRecurrenceId
Description copied from interface:RecurrenceEntityGet the recurrence id- Specified by:
getRecurrenceIdin interfaceRecurrenceEntity- Overrides:
getRecurrenceIdin classBwEvent- Returns:
- the event's recurrence id
-
setRrules
Description copied from interface:RecurrenceEntityXXX Wrong - it should be a list- Specified by:
setRrulesin interfaceRecurrenceEntity- Overrides:
setRrulesin classBwEvent
-
getRrules
- Specified by:
getRrulesin interfaceRecurrenceEntity- Overrides:
getRrulesin classBwEvent- Returns:
- Set of String
-
setExrules
- Specified by:
setExrulesin interfaceRecurrenceEntity- Overrides:
setExrulesin classBwEvent
-
getExrules
- Specified by:
getExrulesin interfaceRecurrenceEntity- Overrides:
getExrulesin classBwEvent- Returns:
- Set of String
-
setRdates
- Specified by:
setRdatesin interfaceRecurrenceEntity- Overrides:
setRdatesin classBwEvent
-
getRdates
- Specified by:
getRdatesin interfaceRecurrenceEntity- Overrides:
getRdatesin classBwEvent- Returns:
- Set of String
-
setExdates
- Specified by:
setExdatesin interfaceRecurrenceEntity- Overrides:
setExdatesin classBwEvent
-
getExdates
- Specified by:
getExdatesin interfaceRecurrenceEntity- Overrides:
getExdatesin classBwEvent- Returns:
- Set of String
-
getDtstart
Description copied from interface:StartEndComponentGet the start time for the entity- Specified by:
getDtstartin interfaceStartEndComponent- Overrides:
getDtstartin classBwEvent- Returns:
- The start
-
getDtend
Description copied from interface:StartEndComponentGet the event's end- Specified by:
getDtendin interfaceStartEndComponent- Overrides:
getDtendin classBwEvent- Returns:
- The event's end
-
getEndType
public char getEndType()Description copied from interface:StartEndComponentget the endType flag for an event or todo- Specified by:
getEndTypein interfaceStartEndComponent- Overrides:
getEndTypein classBwEvent- Returns:
- char end Type
-
getDuration
Description copied from interface:StartEndComponentGet the duration for the entity if an event or todo, or the requested duration for a free/busy object.- Specified by:
getDurationin interfaceStartEndComponent- Overrides:
getDurationin classBwEvent- Returns:
- the event's duration
-
getNoStart
Description copied from interface:StartEndComponentA todo may have no start/end. If so it always appears in the current day until completed.- Specified by:
getNoStartin interfaceStartEndComponent- Overrides:
getNoStartin classBwEvent- Returns:
- true for no start/end
-
setAlarms
Description copied from interface:AlarmsEntitySet the attendees Set- Specified by:
setAlarmsin interfaceAlarmsEntity- Overrides:
setAlarmsin classBwEvent- Parameters:
val- Set of alarms
-
getAlarms
Description copied from interface:AlarmsEntityGet the attendees- Specified by:
getAlarmsin interfaceAlarmsEntity- Overrides:
getAlarmsin classBwEvent- Returns:
- Set alarms list
-
setAttachments
Description copied from interface:AttachmentsEntitySet the attendees Set- Specified by:
setAttachmentsin interfaceAttachmentsEntity- Overrides:
setAttachmentsin classBwEvent- Parameters:
val- Set of attachments
-
getAttachments
Description copied from interface:AttachmentsEntityGet the attendees- Specified by:
getAttachmentsin interfaceAttachmentsEntity- Overrides:
getAttachmentsin classBwEvent- Returns:
- Set attachments list
-
setAttendees
Description copied from interface:AttendeesEntitySet the attendees Set- Specified by:
setAttendeesin interfaceAttendeesEntity- Overrides:
setAttendeesin classBwEvent- Parameters:
val- Set of attendees
-
getAttendees
Description copied from interface:AttendeesEntityGet the attendees- Specified by:
getAttendeesin interfaceAttendeesEntity- Overrides:
getAttendeesin classBwEvent- Returns:
- Set attendees list
-
setRecipients
Description copied from interface:AttendeesEntitySet the recipients Set- Specified by:
setRecipientsin interfaceAttendeesEntity- Overrides:
setRecipientsin classBwEvent- Parameters:
val- Set of (String)recipients
-
getRecipients
Description copied from interface:AttendeesEntityGet the recipients- Specified by:
getRecipientsin interfaceAttendeesEntity- Overrides:
getRecipientsin classBwEvent- Returns:
- Set recipients set
-
setCategories
Description copied from interface:CategorisedEntitySet the categories Set- Specified by:
setCategoriesin interfaceCategorisedEntity- Overrides:
setCategoriesin classBwEvent- Parameters:
val- Set of categories
-
getCategories
Description copied from interface:CategorisedEntityGet the categories- Specified by:
getCategoriesin interfaceCategorisedEntity- Overrides:
getCategoriesin classBwEvent- Returns:
- Set of categories
-
setComments
Description copied from interface:CommentedEntitySet the comments Set- Specified by:
setCommentsin interfaceCommentedEntity- Overrides:
setCommentsin classBwEvent- Parameters:
val- Set of (BwString)comments
-
getComments
Description copied from interface:CommentedEntityGet the comments- Specified by:
getCommentsin interfaceCommentedEntity- Overrides:
getCommentsin classBwEvent- Returns:
- Set comments set
-
setContacts
Description copied from interface:ContactedEntitySet the contacts Set- Specified by:
setContactsin interfaceContactedEntity- Overrides:
setContactsin classBwEvent- Parameters:
val- Set of contacts
-
getContacts
Description copied from interface:ContactedEntityGet the contacts- Specified by:
getContactsin interfaceContactedEntity- Overrides:
getContactsin classBwEvent- Returns:
- Set of contacts
-
setDescriptions
Description copied from interface:DescriptionEntitySet the descriptions Set- Specified by:
setDescriptionsin interfaceDescriptionEntity<BwLongString>- Overrides:
setDescriptionsin classBwEvent- Parameters:
val- Set of (BwString)descriptions
-
getDescriptions
Description copied from interface:DescriptionEntityGet the descriptions- Specified by:
getDescriptionsin interfaceDescriptionEntity<BwLongString>- Overrides:
getDescriptionsin classBwEvent- Returns:
- Set descriptions set
-
setResources
Description copied from interface:ResourcedEntitySet the resources Set- Specified by:
setResourcesin interfaceResourcedEntity- Overrides:
setResourcesin classBwEvent- Parameters:
val- Set of (BwString)resources
-
getResources
Description copied from interface:ResourcedEntityGet the resources- Specified by:
getResourcesin interfaceResourcedEntity- Overrides:
getResourcesin classBwEvent- Returns:
- Set resources set
-
setSummaries
Description copied from interface:SummaryEntitySet the summaries Set- Specified by:
setSummariesin interfaceSummaryEntity- Overrides:
setSummariesin classBwEvent- Parameters:
val- Set of (BwString)summaries
-
getSummaries
Description copied from interface:SummaryEntityGet the summaries- Specified by:
getSummariesin interfaceSummaryEntity- Overrides:
getSummariesin classBwEvent- Returns:
- Set summaries set
-
setPollWinner
Description copied from class:BwEventThe poll winner- Overrides:
setPollWinnerin classBwEvent- Parameters:
val- Integer id
-
getPollWinner
Description copied from class:BwEventGet the winning item id- Overrides:
getPollWinnerin classBwEvent- Returns:
- Integer item id
-
setPollItemId
- Overrides:
setPollItemIdin classBwEvent
-
getPollItemId
Description copied from class:BwEventGet the event's poll item id- Overrides:
getPollItemIdin classBwEvent- Returns:
- Integer event's poll item id
-
setPollMode
Description copied from class:BwEventSet the poll mode- Overrides:
setPollModein classBwEvent- Parameters:
val- the mode
-
getPollMode
Description copied from class:BwEventGet the poll mode- Overrides:
getPollModein classBwEvent- Returns:
- String poll mode
-
setPollProperties
Description copied from class:BwEventSet the poll properties- Overrides:
setPollPropertiesin classBwEvent- Parameters:
val- list of interesting properties
-
getPollProperties
Description copied from class:BwEventGet the poll properties- Overrides:
getPollPropertiesin classBwEvent- Returns:
- String list of interesting properties
-
setPollAcceptResponse
Description copied from class:BwEventSet the acceptable poll component types in the reponse- Overrides:
setPollAcceptResponsein classBwEvent- Parameters:
val- list of acceptable poll component types in the reponse
-
getPollAcceptResponse
Description copied from class:BwEventGet the acceptable poll component types in the reponse- Overrides:
getPollAcceptResponsein classBwEvent- Returns:
- String list of acceptable poll component types in the reponse
-
setPollCandidate
public void setPollCandidate(boolean val) - Overrides:
setPollCandidatein classBwEvent- Parameters:
val- true for a poll candidate
-
getPollCandidate
public boolean getPollCandidate()- Overrides:
getPollCandidatein classBwEvent- Returns:
- true for a poll candidate
-
getSchedulingObject
public boolean getSchedulingObject()- Overrides:
getSchedulingObjectin classBwEvent- Returns:
- boolean
-
getMicrosecsVersion
- Overrides:
getMicrosecsVersionin classBwEvent- Returns:
- a version value in microsecords.
- Throws:
CalFacadeException
-
hasRrules
public boolean hasRrules()Description copied from interface:RecurrenceEntityTrue if we have rrules- Specified by:
hasRrulesin interfaceRecurrenceEntity- Overrides:
hasRrulesin classBwEvent- Returns:
- boolean
-
hasExrules
public boolean hasExrules()Description copied from interface:RecurrenceEntityTrue if we have exrules- Specified by:
hasExrulesin interfaceRecurrenceEntity- Overrides:
hasExrulesin classBwEvent- Returns:
- boolean
-
updateLastmod
public void updateLastmod()Set the last mod for this event.- Overrides:
updateLastmodin classBwEvent
-
updateDtstamp
public void updateDtstamp()Set the dtstamp for this event.- Overrides:
updateDtstampin classBwEvent
-
makeAnnotation
Creates an annotation object for the given event then returns a proxy object to handle it.- Parameters:
ev- BwEvent object to annotateownerHref-forInstance- true if this is an overrride or a recurrence instance- Returns:
- BwEventProxy object
-
initAnnotation
public static void initAnnotation(BwEventAnnotation ann, BwEvent ev, String ownerHref, boolean forInstance) Initialise an annotation object from the given event.- Parameters:
ann- The annotation objectev- BwEvent object to annotateownerHref- if null event owner is usedforInstance- true if this is an overrride or a recurrence instance
-
makeDurationBean
Description copied from class:BwEventReturn a BwDuration populated from the String duration.- Overrides:
makeDurationBeanin classBwEvent- Returns:
- BwDuration
-
toString
-
clone
When cloning a proxy we generally need to point the cloned annotation at a new target and master.- Parameters:
master-target-- Returns:
- cloned proxy.
-
clone
Description copied from class:BwUnversionedDbentityMake visible
-