Package org.bedework.calfacade.wrappers
Class BwEventNewWrapper
java.lang.Object
org.bedework.calfacade.base.DumpEntity<T>
org.bedework.calfacade.base.BwUnversionedDbentity<T>
org.bedework.calfacade.base.BwDbentity<T>
org.bedework.calfacade.base.BwOwnedDbentity<T>
org.bedework.calfacade.base.BwShareableDbentity<T>
org.bedework.calfacade.base.BwShareableContainedDbentity<BwEvent>
org.bedework.calfacade.BwEvent
org.bedework.calfacade.wrappers.BwEventNewWrapper
- All Implemented Interfaces:
Serializable,Comparable<BwEvent>,Comparator<BwEvent>,AlarmsEntity,AttachmentsEntity,AttendeesEntity,CategorisedEntity,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 wrapper java source is generated based on annotations in the class files. To change the wrapper, either make changes to the annotations processing or change the annotations in the wrapped class.
- 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 -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidaddAttendee(BwAttendee val) voidaddAvailableUid(String val) Add as available uidbooleanaddCategory(BwCategory val) voidaddComment(String lang, String val) voidaddComment(BwString val) voidaddContact(BwContact val) voidaddDeletedEntity(BwDbentity<?> val) Add a deleted entity - these may appear as a result of updates.voidaddDescription(String lang, String val) voidvoidaddExdate(BwDateTime val) voidvoidAdd a free/busy componentvoidaddPollItem(String val) Add vpoll itemvoidaddRdate(BwDateTime val) voidaddRecipient(String val) voidvoidaddResource(String lang, String val) voidaddResource(BwString val) voidvoidaddSummary(String lang, String val) voidaddSummary(BwString val) voidAdd vpoll votervoidaddXproperty(BwXproperty val) voidCalled after delete from the dbvoidassignGuid(String systemId) Assign a guid to this event.voidCalled when we are about to delete from the dbvoidCalled when we are about to save the object.voidCalled when we are about to update the object.intCalculate a value to be used to limit quotas.voidClear all attachmentsvoidClear the vpoll itemsvoidClear the vpoll votersclone()Make visibleReturn a clone of the SetReturn a clone of the SetReturn a clone of the SetReturn a clone of the SetReturn a clone of the SetReturn a clone of the SetintintReturn a copy of the SetReturn a copy of the SetReturn a copy of the SetReturn a copy of the SetvoidCopy this objects fields into the parameterfindAttendee(String uri) Find an attendee entry for the given uri (calendar address).findDescription(String lang) findPeruserXprop(String userHref, String name) findSummary(String lang) 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 uidsintintGet the calsuite nameGet the categoriesGet the event's classificationGet the object's collection pathGet the commentsTransition method - return first contact if any available.Get the contactsgetCost()Get the event's costBwPrincipal<?>booleanGet the event deleted flagCollection<BwDbentity<?>>Get 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 todointGet the free busy timesgetGeo()Get the event's geogetHref()intgetId()getLink()Get the event's URLorg.bedework.util.logging.BwLoggerlonggetName()Get the event's name.A todo may have no start/end.intintintintintintintintintintintintGet 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 percentCompletegetPeruserTransparency(String userHref) Get the event's transparencyGet the acceptable poll component types in the reponsebooleanGet the event's poll item idGet the vpoll items (candidates)Get the poll modeGet the poll propertiesGet the winning item idGet the events rfc priorityGet the recipientsGet the recurrence idGet the relatedTo propertyGet the requestStatusGet the resourcesintGet the events scheduleMethodintGet the events scheduleStatebooleanintgetSeq()Get the entity seqintGet the events rfc sequenceintgetStag()Get the event's statusGet the summariesbooleanWe are using the status to suppress master events - these are associated with 'detached' instances.Return all timezone ids this event uses.Get the event tombstoned flag.Get the event's transparencygetUid()Get the uidGet the vpoll items (candidates)getXicalProperties(String val) Find x-properties storing the value of the named ical propertygetXproperties(String val) booleanhasCategory(BwCategory val) Check the categories for the same entitybooleanhasContact(BwContact val) Check the contacts for the same entitybooleanTrue if we have exdatesbooleanTrue if we have exrulesinthashCode()booleanTrue if we have rdatesbooleanTrue if we have rrulesbooleanintlength()Size to use for quotas.makeConcept(String val) Return a BwDuration populated from the String duration.Return an object holding just enough for free busy calculationvoidMark this entity as not saved.booleanremoveAlarm(BwAlarm val) booleanbooleanremoveAttendee(BwAttendee val) booleanremoveCategory(BwCategory val) booleanremoveComment(BwString val) booleanremoveContact(BwContact val) booleanbooleanremoveRecipient(String val) booleanbooleanremoveResource(BwString val) booleanremoveSummary(BwString val) intremoveXproperties(String val) Remove all instances of the named property.voidbooleanreplaceXproperty(String name, String val) 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.voidsetAvailableUids(Set<String> val) Set the available uidsvoidsetBusyType(int val) voidsetByteSize(int val) The last calculated byte size should be stored with the entity.voidsetCalSuite(String val) Set the calsuite namevoidsetCategories(Set<BwCategory> val) Set the categories SetvoidsetClassification(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 completedvoidsetContact(BwContact val) Transition method - replace Set with single value.voidsetContacts(Set<BwContact> val) Set the contacts SetvoidSet the event's costvoidsetCreated(String val) voidsetCreatorEnt(BwPrincipal<?> val) Set the creatorvoidsetCreatorHref(String val) Set the creatorvoidSet the change tokenvoidsetDeleted(boolean val) Set the event deleted flagvoidsetDescription(String val) voidsetDescriptions(Set<BwLongString> val) Set the descriptions SetvoidsetDtend(BwDateTime val) Set the end or due date for the entityvoidsetDtstamp(String val) voidsetDtstamps(Timestamp val) Set the dtstamp, lastmod and created if created is not set already.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 IcalDefsvoidSet the event's publish URLvoidsetExdates(Set<BwDateTime> val) voidsetExrules(Set<String> val) voidset the free busy periodsvoidSet the event's geovoidvoidsetId(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 percentCompletesetPeruserTransparency(String userHref, String val) If this is the owner - set the real transparency, otherwise, if it differs add an x-propvoidSet 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) voidsetPublishUrl(String val) Set the event's publish URLvoidsetRdates(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 eventvoidsetSizeChange(int val) Used to track size changes.voidvoidSet the event's status - must be one of CONFIRMED, TENTATIVE, or CANCELLEDvoidsetSummaries(Set<BwString> val) Set the summaries SetvoidsetSummary(String val) voidsetSuppressed(boolean val) We are using the status to suppress master events - these are associated with 'detached' instances.voidsetTombstoned(Boolean val) Set the event tombstoned flag.voidsetTransparency(String val) Set the event's transparencyvoidSet the uidvoidsetXproperties(List<BwXproperty> val) Set the x-propsvoidCopy this objects fields into the parameter.booleanif (getRecurring() == null) { return false; } return getRecurring();toString()booleanunsaved()voidupdateDescriptions(String lang, String val) If description with given lang is present updates the value, otherwise adds it.voidSet the dtstamp for this event.voidSet the last mod for this event.voidupdateSizeChange(int val) Update the size change with the given incrementvoidupdateStag(Timestamp val) Set the stag for this event.voidupdateSummaries(String lang, String val) If summary with given lang is present updates the value, otherwise adds it.Methods inherited from class org.bedework.calfacade.BwEvent
addSuggested, clearChangeset, findXproperty, fromBusyTypeString, getBusyTypeString, getCategoryHrefs, getChangeset, getColor, getContactHrefs, getForceUTC, getLocationHref, getOverrides, getParent, getSignificantChange, getSuggested, getVlocations, getXproperty, hex4, hex4FromNanos, inDateTimeRange, isSchedulingAssistant, setBusyTypeString, setCategoryHrefs, setColor, setContactHrefs, setForceUTC, setLocationHref, setOverrides, setParent, setSignificantChange, toStringSegment, validTransparencyMethods inherited from class org.bedework.calfacade.base.BwShareableContainedDbentity
copyTo, setColPathMethods inherited from class org.bedework.calfacade.base.BwShareableDbentity
copyTo, shallowCopyToMethods inherited from class org.bedework.calfacade.base.BwOwnedDbentity
copyTo, shallowCopyToMethods inherited from class org.bedework.calfacade.base.BwUnversionedDbentity
equalsMethods inherited from class org.bedework.calfacade.base.DumpEntity
dump, dump, 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
-
Method Details
-
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 -
setPublishUrl
Description copied from class:BwEventSet the event's publish URL- Overrides:
setPublishUrlin classBwEvent- Parameters:
val- string URL
-
getPublishUrl
- Overrides:
getPublishUrlin classBwEvent- Returns:
- the event's publish 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
-
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
-
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
-
getNumXproperties
public int getNumXproperties()- Specified by:
getNumXpropertiesin interfaceXpropsEntity- Overrides:
getNumXpropertiesin classBwEvent- Returns:
- int
-
getXproperties
- Specified by:
getXpropertiesin interfaceXpropsEntity- Overrides:
getXpropertiesin classBwEvent- Parameters:
val- - name to match- Returns:
- list of matching properties - never null
-
getXicalProperties
Description copied from class:BwEventFind x-properties storing the value of the named ical property- Specified by:
getXicalPropertiesin interfaceXpropsEntity- Overrides:
getXicalPropertiesin classBwEvent- Parameters:
val- - name to match- Returns:
- list of matching properties - never null
-
removeXproperties
Description copied from class:BwEventRemove all instances of the named property.- Specified by:
removeXpropertiesin interfaceXpropsEntity- Overrides:
removeXpropertiesin classBwEvent- Parameters:
val- - name to match- Returns:
- number of removed proeprties
-
addXproperty
- Specified by:
addXpropertyin interfaceXpropsEntity- Overrides:
addXpropertyin classBwEvent- Parameters:
val- an x-prop
-
removeXproperty
- Specified by:
removeXpropertyin interfaceXpropsEntity- Overrides:
removeXpropertyin classBwEvent- Parameters:
val- x-prop to remove
-
cloneXproperty
- Specified by:
cloneXpropertyin interfaceXpropsEntity- Overrides:
cloneXpropertyin classBwEvent- Returns:
- List of x-properties
-
replaceXproperty
- Overrides:
replaceXpropertyin classBwEvent- Parameters:
name- of propertyval- its value or null to delete- Returns:
- true if something chnaged
-
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
-
getNumRequestStatuses
public int getNumRequestStatuses()- Overrides:
getNumRequestStatusesin classBwEvent- Returns:
- int
-
addRequestStatus
- Overrides:
addRequestStatusin classBwEvent- Parameters:
val- request status
-
removeRequestStatus
- Overrides:
removeRequestStatusin classBwEvent- Parameters:
val- request status- Returns:
- boolean
-
cloneRequestStatuses
Description copied from class:BwEventReturn a clone of the Set- Overrides:
cloneRequestStatusesin classBwEvent- Returns:
- Set of request status
-
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
-
isRecurringEntity
public boolean isRecurringEntity()- Specified by:
isRecurringEntityin interfaceRecurrenceEntity- Overrides:
isRecurringEntityin classBwEvent- Returns:
- true if there is any recurring element.
-
testRecurring
public boolean testRecurring()Description copied from interface:RecurrenceEntityif (getRecurring() == null) { return false; } return getRecurring();- Specified by:
testRecurringin interfaceRecurrenceEntity- Overrides:
testRecurringin classBwEvent- Returns:
- true if this is a recurring entity.
-
hasRrules
public boolean hasRrules()Description copied from interface:RecurrenceEntityTrue if we have rrules- Specified by:
hasRrulesin interfaceRecurrenceEntity- Overrides:
hasRrulesin classBwEvent- Returns:
- boolean
-
addRrule
- Specified by:
addRrulein interfaceRecurrenceEntity- Overrides:
addRrulein classBwEvent
-
hasExrules
public boolean hasExrules()Description copied from interface:RecurrenceEntityTrue if we have exrules- Specified by:
hasExrulesin interfaceRecurrenceEntity- Overrides:
hasExrulesin classBwEvent- Returns:
- boolean
-
addExrule
- Specified by:
addExrulein interfaceRecurrenceEntity- Overrides:
addExrulein classBwEvent
-
hasRdates
public boolean hasRdates()Description copied from interface:RecurrenceEntityTrue if we have rdates- Specified by:
hasRdatesin interfaceRecurrenceEntity- Overrides:
hasRdatesin classBwEvent- Returns:
- boolean
-
addRdate
- Specified by:
addRdatein interfaceRecurrenceEntity- Overrides:
addRdatein classBwEvent
-
hasExdates
public boolean hasExdates()Description copied from interface:RecurrenceEntityTrue if we have exdates- Specified by:
hasExdatesin interfaceRecurrenceEntity- Overrides:
hasExdatesin classBwEvent- Returns:
- boolean
-
addExdate
- Specified by:
addExdatein interfaceRecurrenceEntity- Overrides:
addExdatein classBwEvent
-
setDtstart
Description copied from interface:StartEndComponentSet the start time for the entity- Specified by:
setDtstartin interfaceStartEndComponent- Overrides:
setDtstartin classBwEvent- Parameters:
val- Event's start
-
getDtstart
Description copied from interface:StartEndComponentGet the start time for the entity- Specified by:
getDtstartin interfaceStartEndComponent- Overrides:
getDtstartin classBwEvent- Returns:
- The 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
-
getDtend
Description copied from interface:StartEndComponentGet the event's end- Specified by:
getDtendin interfaceStartEndComponent- Overrides:
getDtendin classBwEvent- Returns:
- The event's 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
-
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
-
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
-
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
-
setEstimatedDuration
Description copied from class:BwEventSet the event's publish URL- Overrides:
setEstimatedDurationin classBwEvent- Parameters:
val- string URL
-
getEstimatedDuration
- Overrides:
getEstimatedDurationin classBwEvent- Returns:
- the event's publish URL
-
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
-
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
-
getNumAlarms
public int getNumAlarms()- Specified by:
getNumAlarmsin interfaceAlarmsEntity- Overrides:
getNumAlarmsin classBwEvent- Returns:
- int number of alarms.
-
addAlarm
- Specified by:
addAlarmin interfaceAlarmsEntity- Overrides:
addAlarmin classBwEvent
-
removeAlarm
- Specified by:
removeAlarmin interfaceAlarmsEntity- Overrides:
removeAlarmin classBwEvent- Returns:
- boolean true if removed.
-
cloneAlarms
Description copied from class:BwEventReturn a clone of the Set- Specified by:
cloneAlarmsin interfaceAlarmsEntity- Overrides:
cloneAlarmsin classBwEvent- Returns:
- Set of BwAlarm
-
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
-
getNumAttachments
public int getNumAttachments()- Specified by:
getNumAttachmentsin interfaceAttachmentsEntity- Overrides:
getNumAttachmentsin classBwEvent- Returns:
- int number of attachments.
-
addAttachment
- Specified by:
addAttachmentin interfaceAttachmentsEntity- Overrides:
addAttachmentin classBwEvent- Parameters:
val- an attachment
-
removeAttachment
- Specified by:
removeAttachmentin interfaceAttachmentsEntity- Overrides:
removeAttachmentin classBwEvent- Parameters:
val- an attachment- Returns:
- boolean true if removed.
-
copyAttachments
Description copied from interface:AttachmentsEntityReturn a copy of the Set- Specified by:
copyAttachmentsin interfaceAttachmentsEntity- Overrides:
copyAttachmentsin classBwEvent- Returns:
- Set of BwAttachment
-
cloneAttachments
Description copied from interface:AttachmentsEntityReturn a clone of the Set- Specified by:
cloneAttachmentsin interfaceAttachmentsEntity- Overrides:
cloneAttachmentsin classBwEvent- Returns:
- Set of BwAttachment
-
clearAttachments
public void clearAttachments()Description copied from interface:AttachmentsEntityClear all attachments- Specified by:
clearAttachmentsin interfaceAttachmentsEntity- Overrides:
clearAttachmentsin classBwEvent
-
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
-
getNumAttendees
public int getNumAttendees()- Specified by:
getNumAttendeesin interfaceAttendeesEntity- Overrides:
getNumAttendeesin classBwEvent- Returns:
- int number of attendees.
-
addAttendee
- Specified by:
addAttendeein interfaceAttendeesEntity- Overrides:
addAttendeein classBwEvent
-
removeAttendee
- Specified by:
removeAttendeein interfaceAttendeesEntity- Overrides:
removeAttendeein classBwEvent- Returns:
- boolean true if removed.
-
copyAttendees
Description copied from interface:AttendeesEntityReturn a copy of the Set- Specified by:
copyAttendeesin interfaceAttendeesEntity- Overrides:
copyAttendeesin classBwEvent- Returns:
- Set of BwAttendee
-
cloneAttendees
Description copied from interface:AttendeesEntityReturn a clone of the Set- Specified by:
cloneAttendeesin interfaceAttendeesEntity- Overrides:
cloneAttendeesin classBwEvent- Returns:
- Set of BwAttendee
-
findAttendee
Description copied from class:BwEventFind an attendee entry for the given uri (calendar address).- Overrides:
findAttendeein classBwEvent- Parameters:
uri- to find- Returns:
- BwAttendee or null if none exists
-
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
-
getNumRecipients
public int getNumRecipients()- Specified by:
getNumRecipientsin interfaceAttendeesEntity- Overrides:
getNumRecipientsin classBwEvent- Returns:
- int number of recipients.
-
addRecipient
- Specified by:
addRecipientin interfaceAttendeesEntity- Overrides:
addRecipientin classBwEvent
-
removeRecipient
- Specified by:
removeRecipientin interfaceAttendeesEntity- Overrides:
removeRecipientin classBwEvent- Returns:
- boolean true if removed.
-
getConcepts
- Specified by:
getConceptsin interfaceConceptEntity- Overrides:
getConceptsin classBwEvent
-
makeConcept
- Specified by:
makeConceptin interfaceConceptEntity- Overrides:
makeConceptin classBwEvent
-
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
-
getNumCategories
public int getNumCategories()- Specified by:
getNumCategoriesin interfaceCategorisedEntity- Overrides:
getNumCategoriesin classBwEvent- Returns:
- int number of categories.
-
addCategory
- Specified by:
addCategoryin interfaceCategorisedEntity- Overrides:
addCategoryin classBwEvent- Parameters:
val- the category to add- Returns:
- boolean true if added.
-
removeCategory
- Specified by:
removeCategoryin interfaceCategorisedEntity- Overrides:
removeCategoryin classBwEvent- Parameters:
val- the category to remove- Returns:
- boolean true if removed.
-
hasCategory
Description copied from interface:CategorisedEntityCheck the categories for the same entity- Specified by:
hasCategoryin interfaceCategorisedEntity- Overrides:
hasCategoryin classBwEvent- Parameters:
val- Category to test- Returns:
- boolean true if the event has a particular category
-
copyCategories
Description copied from interface:CategorisedEntityReturn a copy of the Set- Specified by:
copyCategoriesin interfaceCategorisedEntity- Overrides:
copyCategoriesin classBwEvent- Returns:
- Set of BwCategory
-
cloneCategories
Description copied from interface:CategorisedEntityReturn a clone of the Set- Specified by:
cloneCategoriesin interfaceCategorisedEntity- Overrides:
cloneCategoriesin classBwEvent- Returns:
- Set of BwCategory
-
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
-
getNumComments
public int getNumComments()- Specified by:
getNumCommentsin interfaceCommentedEntity- Overrides:
getNumCommentsin classBwEvent- Returns:
- int number of comments.
-
addComment
- Specified by:
addCommentin interfaceCommentedEntity- Overrides:
addCommentin classBwEvent
-
addComment
- Specified by:
addCommentin interfaceCommentedEntity- Overrides:
addCommentin classBwEvent
-
removeComment
- Specified by:
removeCommentin interfaceCommentedEntity- Overrides:
removeCommentin classBwEvent- Returns:
- boolean true if removed.
-
setContact
Description copied from class:BwEventTransition method - replace Set with single value.- Overrides:
setContactin classBwEvent- Parameters:
val- a contact
-
getContact
Description copied from class:BwEventTransition method - return first contact if any available.- Overrides:
getContactin classBwEvent- Returns:
- BwContact
-
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
-
getNumContacts
public int getNumContacts()- Specified by:
getNumContactsin interfaceContactedEntity- Overrides:
getNumContactsin classBwEvent- Returns:
- int number of contacts.
-
addContact
- Specified by:
addContactin interfaceContactedEntity- Overrides:
addContactin classBwEvent
-
removeContact
- Specified by:
removeContactin interfaceContactedEntity- Overrides:
removeContactin classBwEvent- Returns:
- boolean true if removed.
-
hasContact
Description copied from interface:ContactedEntityCheck the contacts for the same entity- Specified by:
hasContactin interfaceContactedEntity- Overrides:
hasContactin classBwEvent- Parameters:
val- Contact to test- Returns:
- boolean true if the event has a particular contact
-
copyContacts
Description copied from interface:ContactedEntityReturn a copy of the Set- Specified by:
copyContactsin interfaceContactedEntity- Overrides:
copyContactsin classBwEvent- Returns:
- Set of BwContact
-
cloneContacts
Description copied from interface:ContactedEntityReturn a clone of the Set- Specified by:
cloneContactsin interfaceContactedEntity- Overrides:
cloneContactsin classBwEvent- Returns:
- Set of BwContact
-
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
-
getNumDescriptions
public int getNumDescriptions()- Specified by:
getNumDescriptionsin interfaceDescriptionEntity<BwLongString>- Overrides:
getNumDescriptionsin classBwEvent- Returns:
- int number of descriptions.
-
addDescription
- Specified by:
addDescriptionin interfaceDescriptionEntity<BwLongString>- Overrides:
addDescriptionin classBwEvent
-
addDescription
- Specified by:
addDescriptionin interfaceDescriptionEntity<BwLongString>- Overrides:
addDescriptionin classBwEvent
-
removeDescription
- Specified by:
removeDescriptionin interfaceDescriptionEntity<BwLongString>- Overrides:
removeDescriptionin classBwEvent- Returns:
- boolean true if removed.
-
updateDescriptions
Description copied from interface:DescriptionEntityIf description with given lang is present updates the value, otherwise adds it.- Specified by:
updateDescriptionsin interfaceDescriptionEntity<BwLongString>- Overrides:
updateDescriptionsin classBwEvent
-
findDescription
- Specified by:
findDescriptionin interfaceDescriptionEntity<BwLongString>- Overrides:
findDescriptionin classBwEvent- Returns:
- BwString with language code or default
-
setDescription
- Specified by:
setDescriptionin interfaceDescriptionEntity<BwLongString>- Overrides:
setDescriptionin classBwEvent- Parameters:
val- String default
-
getDescription
- Specified by:
getDescriptionin interfaceDescriptionEntity<BwLongString>- Overrides:
getDescriptionin classBwEvent- Returns:
- String default
-
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
-
getNumResources
public int getNumResources()- Specified by:
getNumResourcesin interfaceResourcedEntity- Overrides:
getNumResourcesin classBwEvent- Returns:
- int number of resources.
-
addResource
- Specified by:
addResourcein interfaceResourcedEntity- Overrides:
addResourcein classBwEvent
-
addResource
- Specified by:
addResourcein interfaceResourcedEntity- Overrides:
addResourcein classBwEvent
-
removeResource
- Specified by:
removeResourcein interfaceResourcedEntity- Overrides:
removeResourcein classBwEvent- Returns:
- boolean true if removed.
-
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
-
getNumSummaries
public int getNumSummaries()- Specified by:
getNumSummariesin interfaceSummaryEntity- Overrides:
getNumSummariesin classBwEvent- Returns:
- int number of summaries.
-
addSummary
- Overrides:
addSummaryin classBwEvent
-
addSummary
- Specified by:
addSummaryin interfaceSummaryEntity- Overrides:
addSummaryin classBwEvent
-
removeSummary
- Specified by:
removeSummaryin interfaceSummaryEntity- Overrides:
removeSummaryin classBwEvent- Returns:
- boolean true if removed.
-
updateSummaries
Description copied from interface:SummaryEntityIf summary with given lang is present updates the value, otherwise adds it.- Specified by:
updateSummariesin interfaceSummaryEntity- Overrides:
updateSummariesin classBwEvent
-
findSummary
- Specified by:
findSummaryin interfaceSummaryEntity- Overrides:
findSummaryin classBwEvent- Returns:
- BwString with language code or default
-
setSummary
- Specified by:
setSummaryin interfaceSummaryEntity- Overrides:
setSummaryin classBwEvent- Parameters:
val- String default
-
getSummary
- Specified by:
getSummaryin interfaceSummaryEntity- Overrides:
getSummaryin classBwEvent- Returns:
- String default
-
setFreeBusyPeriods
Description copied from class:BwEventset the free busy periods- Overrides:
setFreeBusyPeriodsin classBwEvent- Parameters:
val- List of BwFreeBusyComponent
-
getFreeBusyPeriods
Description copied from class:BwEventGet the free busy times- Overrides:
getFreeBusyPeriodsin classBwEvent- Returns:
- Set of BwFreeBusyComponent
-
addFreeBusyPeriod
Description copied from class:BwEventAdd a free/busy component- Overrides:
addFreeBusyPeriodin classBwEvent- Parameters:
val- free busy component
-
setCalSuite
Description copied from class:BwEventSet the calsuite name- Overrides:
setCalSuitein classBwEvent- Parameters:
val- name
-
getCalSuite
Description copied from class:BwEventGet the calsuite name- Overrides:
getCalSuitein classBwEvent- Returns:
- String name
-
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
-
getPollItems
Description copied from class:BwEventGet the vpoll items (candidates)- Overrides:
getPollItemsin classBwEvent- Returns:
- Set
candidates
-
clearPollItems
public void clearPollItems()Description copied from class:BwEventClear the vpoll items- Overrides:
clearPollItemsin classBwEvent
-
getVoters
Description copied from class:BwEventGet the vpoll items (candidates) -
clearVoters
public void clearVoters()Description copied from class:BwEventClear the vpoll voters- Overrides:
clearVotersin classBwEvent
-
addVoter
Description copied from class:BwEventAdd vpoll voter -
addPollItem
Description copied from class:BwEventAdd vpoll item- Overrides:
addPollItemin classBwEvent- Parameters:
val- the item
-
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
-
setBusyType
public void setBusyType(int val) - Overrides:
setBusyTypein classBwEvent- Parameters:
val- int busy type
-
getBusyType
public int getBusyType()- Overrides:
getBusyTypein classBwEvent- Returns:
- int type of time
-
setAvailableUids
Description copied from class:BwEventSet the available uids- Overrides:
setAvailableUidsin classBwEvent- Parameters:
val- Set
-
getAvailableUids
Description copied from class:BwEventGet the uids- Overrides:
getAvailableUidsin classBwEvent- Returns:
- Set
uids
-
addAvailableUid
Description copied from class:BwEventAdd as available uid- Overrides:
addAvailableUidin classBwEvent- Parameters:
val- Strign uid
-
setPeruserTransparency
Description copied from class:BwEventIf this is the owner - set the real transparency, otherwise, if it differs add an x-prop- Overrides:
setPeruserTransparencyin classBwEvent- Parameters:
userHref- user in questionval- transp value- Returns:
- non-null if x-prop is added for this user
-
getPeruserTransparency
Description copied from class:BwEventGet the event's transparency- Overrides:
getPeruserTransparencyin classBwEvent- Parameters:
userHref- or null- Returns:
- String the event's transparency
-
findPeruserXprop
- Overrides:
findPeruserXpropin classBwEvent- Parameters:
userHref- of user who owns propertyname- of property- Returns:
- x-prop for this user if found
-
getSchedulingObject
public boolean getSchedulingObject()- Overrides:
getSchedulingObjectin classBwEvent- Returns:
- boolean
-
getHref
-
getEncodedHref
- Overrides:
getEncodedHrefin classBwEvent
-
getTimeZoneIds
Description copied from class:BwEventReturn all timezone ids this event uses. This is used when an event is added by another user to ensure that the target user has a copy of user specific timezones.- Overrides:
getTimeZoneIdsin classBwEvent- Returns:
- Set of timezone ids.
-
updateLastmod
public void updateLastmod()Description copied from class:BwEventSet the last mod for this event.- Overrides:
updateLastmodin classBwEvent
-
updateDtstamp
public void updateDtstamp()Description copied from class:BwEventSet the dtstamp for this event.- Overrides:
updateDtstampin classBwEvent
-
updateStag
Description copied from class:BwEventSet the stag for this event.- Overrides:
updateStagin classBwEvent- Parameters:
val- timestamp
-
setDtstamps
Description copied from class:BwEventSet the dtstamp, lastmod and created if created is not set already.- Overrides:
setDtstampsin classBwEvent- Parameters:
val- timestamp
-
makeFreeBusyEvent
Description copied from class:BwEventReturn an object holding just enough for free busy calculation- Overrides:
makeFreeBusyEventin classBwEvent- Returns:
- BwEvent object.
-
makeDurationBean
Description copied from class:BwEventReturn a BwDuration populated from the String duration.- Overrides:
makeDurationBeanin classBwEvent- Returns:
- BwDuration
-
calculateByteSize
public int calculateByteSize()Description copied from class:BwEventCalculate a value to be used to limit quotas.- Overrides:
calculateByteSizein classBwEvent- Returns:
- int
-
copyTo
Description copied from class:BwEventCopy this objects fields into the parameter -
cloneTombstone
- Overrides:
cloneTombstonein classBwEvent- Returns:
- a copy suitable for tombstoning.
-
setSuppressed
public void setSuppressed(boolean val) Description copied from class:BwEventWe are using the status to suppress master events - these are associated with 'detached' instances.- Overrides:
setSuppressedin classBwEvent- Parameters:
val- true for suppressed
-
getSuppressed
public boolean getSuppressed()Description copied from class:BwEventWe are using the status to suppress master events - these are associated with 'detached' instances.- Overrides:
getSuppressedin classBwEvent- Returns:
- true if suppressed
-
assignGuid
Description copied from class:BwEventAssign a guid to this event. A noop if this event already has a guid.- Overrides:
assignGuidin classBwEvent- Parameters:
systemId- for the system
-
compare
- Specified by:
comparein interfaceComparator<BwEvent>- Overrides:
comparein classBwEvent
-
compareTo
- Specified by:
compareToin interfaceComparable<BwEvent>- Overrides:
compareToin classBwEvent
-
hashCode
public int hashCode() -
toString
-
clone
Description copied from class:BwUnversionedDbentityMake visible -
getMicrosecsVersion
- Overrides:
getMicrosecsVersionin classBwEvent- Returns:
- a version value in microsecords.
- Throws:
CalFacadeException
-
setColPath
Description copied from class:BwShareableContainedDbentitySet the object's collection path- Overrides:
setColPathin classBwShareableContainedDbentity<BwEvent>- Parameters:
val- String path
-
getColPath
Description copied from class:BwShareableContainedDbentityGet the object's collection path- Overrides:
getColPathin classBwShareableContainedDbentity<BwEvent>- Returns:
- String path
-
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
Description copied from interface:ShareableEntitySet the access- Specified by:
setAccessin interfaceShareableEntity- Overrides:
setAccessin classBwShareableDbentity<BwEvent>- Parameters:
val- String access
-
getAccess
Description copied from interface:ShareableEntityGet the access- Specified by:
getAccessin interfaceShareableEntity- Overrides:
getAccessin classBwShareableDbentity<BwEvent>- Returns:
- String access
-
setCreatorEnt
Description copied from interface:ShareableEntitySet the creator- Specified by:
setCreatorEntin interfaceShareableEntity- Overrides:
setCreatorEntin classBwShareableDbentity<BwEvent>- Parameters:
val- BwPrincipal creator of the entity
-
getCreatorEnt
- Specified by:
getCreatorEntin interfaceShareableEntity- Overrides:
getCreatorEntin classBwShareableDbentity<BwEvent>- Returns:
- BwPrincipal creator of the entity
-
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
-
setByteSize
public void setByteSize(int val) Description copied from class:BwDbentityThe last calculated byte size should be stored with the entity. On update call calculateByteSize to get a new value and use the difference to adjust the quota.- Overrides:
setByteSizein classBwDbentity<BwEvent>
-
getByteSize
public int getByteSize()- Overrides:
getByteSizein classBwDbentity<BwEvent>- Returns:
- int last byte size
-
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
-
addDeletedEntity
Description copied from class:BwDbentityAdd a deleted entity - these may appear as a result of updates. A null parameter is a noop.- Overrides:
addDeletedEntityin classBwDbentity<BwEvent>
-
getDeletedEntities
- Overrides:
getDeletedEntitiesin classBwDbentity<BwEvent>- Returns:
- deleted entities or null
-
beforeDeletion
public void beforeDeletion()Description copied from class:BwDbentityCalled when we are about to delete from the db- Overrides:
beforeDeletionin classBwDbentity<BwEvent>
-
afterDeletion
public void afterDeletion()Description copied from class:BwDbentityCalled after delete from the db- Overrides:
afterDeletionin classBwDbentity<BwEvent>
-
beforeUpdate
public void beforeUpdate()Description copied from class:BwDbentityCalled when we are about to update the object.- Overrides:
beforeUpdatein classBwDbentity<BwEvent>
-
beforeSave
public void beforeSave()Description copied from class:BwDbentityCalled when we are about to save the object. Default to calling before update- Overrides:
beforeSavein classBwDbentity<BwEvent>
-
length
public int length()Description copied from class:BwDbentitySize to use for quotas.- Overrides:
lengthin classBwDbentity<BwEvent>- Returns:
- int
-
setId
public void setId(int val) - Overrides:
setIdin classBwUnversionedDbentity<BwEvent>
-
getId
public int getId()- Overrides:
getIdin classBwUnversionedDbentity<BwEvent>- Returns:
- int id
-
unsaved
public boolean unsaved()- Overrides:
unsavedin classBwUnversionedDbentity<BwEvent>- Returns:
- true if this entity is not saved.
-
markUnsaved
public void markUnsaved()Description copied from class:BwUnversionedDbentityMark this entity as not saved.- Overrides:
markUnsavedin classBwUnversionedDbentity<BwEvent>
-
setHref
- Overrides:
setHrefin classBwUnversionedDbentity<BwEvent>- Parameters:
val- the href - may be ignored
-
getLogger
public org.bedework.util.logging.BwLogger getLogger()- Specified by:
getLoggerin interfaceorg.bedework.util.logging.Logged- Overrides:
getLoggerin classDumpEntity<BwEvent>
-
setSizeChange
public void setSizeChange(int val) Used to track size changes.- Parameters:
val-
-
getSizeChange
public int getSizeChange()- Returns:
- int last byte size change
-
updateSizeChange
public void updateSizeChange(int val) Update the size change with the given increment- Parameters:
val-
-