Package org.bedework.calfacade
Class BwXproperty
java.lang.Object
- All Implemented Interfaces:
Serializable,Comparable<BwXproperty>,BwCloneable,org.bedework.util.logging.Logged
Save xproperty values. In general we cannot process these.
- Author:
- Mike Douglass
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classNested classes/interfaces inherited from class org.bedework.calfacade.base.DumpEntity
DumpEntity.DumpType -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final StringPath of alias (topical area)static final Stringstatic final Stringstatic final StringChanges made to an event.static final StringMaintain our coststatic final StringHolds a text DAV propertystatic final StringThe deleted flagstatic final StringDisplay name parameterstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringHolds a text icalendar valuestatic final StringHolds a text icalendar property - first (or only) parameter is always "PNAME" and its value is the real property namestatic final Stringname of that parameterstatic final Stringstatic final Stringstatic final Stringalias target parameterstatic final Stringalias path parameterstatic final StringHolds a participant objectstatic final Stringstatic final StringHolds an encoded array of related to - until schema gets updatedstatic final Stringstatic final StringPath of scheduling object in users calendar collectionsstatic final StringSet on inbox entity to flag a new meetingstatic final StringSet on inbox entity to flag a trivial update (organizer update after attendee reply)static final StringSet on inbox entity to flag a rescheduled meetingstatic final StringUsed only in web submission processstatic final StringUsed only in web submission processstatic final StringUsed only in web submission processstatic final Stringstatic final StringUsed only in web submission processstatic final StringHold state and href of group in the form state:href where: state = "A" - accepted, "R" - rejected, "P" - pendingstatic final Stringstatic final Stringstatic final StringDeprecated.static final StringUsed to save a timezone - to avoid having to parse the tz spec we prepend the value with the semicolon escaped tzidstatic final Stringstatic final StringFlags instances which only exist for peruser data.static final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringUsed for location, etc -
Constructor Summary
ConstructorsConstructorDescriptionConstructorBwXproperty(String name, String pars, String value) Create an x-property by specifying all its fields -
Method Summary
Modifier and TypeMethodDescriptionclone()Make visibleintcompareTo(BwXproperty that) static StringescapeName(String val) Replace space with underscore.static StringescapeSemi(String val) Replace semicolon with escape semicolon.static StringgetBwFromJsCal(String jscalName) getName()Get the namegetPars()Get the parsbooleangetSkip()booleangetValue()Get the valuestatic BwXproperty.XpropInfogetXpropInfo(String name) inthashCode()static voidstatic BwXpropertymakeBwAlias(String displayName, String aliasUri, String aliasPath, String topicalAreaPath) Make an xproperty to hold a bedework aliasstatic BwXpropertymakeDavProperty(String name, String value) Make an xproperty to hold a dav propertystatic BwXpropertymakeIcalProperty(String name, String pars, String value) Make an xproperty to hold an unknown ical propertystatic intReturn the position of the next unescaped semicolonstatic List<BwXproperty.Xpar>parseParameters(String val) voidSet the namevoidSet the parsvoidSet the valuetoString()protected voidtoStringSegment(org.bedework.util.misc.ToString ts) Add our stuff to the ToString objectstatic StringunescapeSemi(String val) Replace escaped semicolon with semicolon.Methods inherited from class org.bedework.calfacade.base.BwDbentity
addDeletedEntity, afterDeletion, beforeDeletion, beforeSave, beforeUpdate, getByteSize, getDeletedEntities, getSeq, length, setByteSize, setSeqMethods inherited from class org.bedework.calfacade.base.BwUnversionedDbentity
equals, getHref, getId, markUnsaved, setHref, setId, 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 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, warn
-
Field Details
-
bedeworkOrganizerSchedulingObject
- See Also:
-
bedeworkAttendeeSchedulingObject
- See Also:
-
bedeworkSubmitComment
Used only in web submission process- See Also:
-
bedeworkSubmitStatus
Used only in web submission process- See Also:
-
bedeworkSubmitAlias
Used only in web submission process- See Also:
-
bedeworkSubmitterEmail
Used only in web submission process- See Also:
-
bedeworkSubmitterClaimant
- See Also:
-
bedeworkAlias
Path of alias (topical area)- See Also:
-
bedeworkDisplayName
Display name parameter- See Also:
-
bedeworkParamPath
alias path parameter- See Also:
-
bedeworkParamAliasPath
alias target parameter- See Also:
-
bedeworkSchedulingEntityPath
Path of scheduling object in users calendar collections- See Also:
-
bedeworkSchedulingNew
Set on inbox entity to flag a new meeting- See Also:
-
bedeworkSchedulingReschedule
Set on inbox entity to flag a rescheduled meeting- See Also:
-
bedeworkSchedulingReplyUpdate
Set on inbox entity to flag a trivial update (organizer update after attendee reply)- See Also:
-
bedeworkDavProp
Holds a text DAV property- See Also:
-
bedeworkIcal
Holds a text icalendar value- See Also:
-
bedeworkIcalProp
Holds a text icalendar property - first (or only) parameter is always "PNAME" and its value is the real property name- See Also:
-
bedeworkIcalPropPname
name of that parameter- See Also:
-
xparUid
Used for location, etc- See Also:
-
bedeworkCost
Maintain our cost- See Also:
-
bedeworkDeleted
The deleted flag- See Also:
-
bedeworkRelatedTo
Holds an encoded array of related to - until schema gets updated- See Also:
-
bedeworkParticipant
Holds a participant object- See Also:
-
bedeworkExsynchEndtzid
- See Also:
-
bedeworkExsynchLastmod
- See Also:
-
bedeworkExsynchOrganizer
- See Also:
-
bedeworkExsynchStarttzid
- See Also:
-
bedeworkSuggestedTo
Hold state and href of group in the form state:href where: state = "A" - accepted, "R" - rejected, "P" - pending- See Also:
-
bedeworkEventRegMaxTickets
- See Also:
-
bedeworkEventRegMaxTicketsPerUser
- See Also:
-
bedeworkEventRegStart
- See Also:
-
bedeworkEventRegEnd
- See Also:
-
bedeworkEventRegForm
- See Also:
-
bedeworkEventRegWaitListLimit
- See Also:
-
bedeworkEventRegInternal
- See Also:
-
bedeworkEventRegExternal
- See Also:
-
bedeworkPublishUrl
- See Also:
-
peruserPropTransp
- See Also:
-
peruserOwnerParam
- See Also:
-
peruserInstance
Flags instances which only exist for peruser data.- See Also:
-
estimatedDuration
- See Also:
-
pollItemId
- See Also:
-
pollWinner
- See Also:
-
pollAccceptResponse
- See Also:
-
pollMode
- See Also:
-
pollProperties
- See Also:
-
pollItem
- See Also:
-
pollVoter
- See Also:
-
pollCandidate
- See Also:
-
xBedeworkCategories
- See Also:
-
xBedeworkLocation
- See Also:
-
xBedeworkLocationKeyName
- See Also:
-
xBedeworkContact
- See Also:
-
xBedeworkVLocation
- See Also:
-
xBedeworkLocationAddr
- See Also:
-
xBedeworkLocationRoom
- See Also:
-
xBedeworkLocationAccessible
- See Also:
-
xBedeworkLocationSfield1
- See Also:
-
xBedeworkLocationSfield2
- See Also:
-
xBedeworkLocationGeo
- See Also:
-
xBedeworkLocationStreet
- See Also:
-
xBedeworkLocationCity
- See Also:
-
xBedeworkLocationState
- See Also:
-
xBedeworkLocationZip
- See Also:
-
xBedeworkLocationLink
- See Also:
-
bedeworkTag
- See Also:
-
bedeworkCalsuite
- See Also:
-
bedeworkSchedAssist
- See Also:
-
bedeworkImage
- See Also:
-
bedeworkThumbImage
- See Also:
-
bedeworkXTimezone
Used to save a timezone - to avoid having to parse the tz spec we prepend the value with the semicolon escaped tzid- See Also:
-
bedeworkTimezonePrefix
Deprecated.Pref + name didn't work too well.- See Also:
-
bedeworkChanges
Changes made to an event. A semicolon separated list. Elements are- dtstamp
- action: one of CREATE, UPDATE, CANCEL, REPLY
- MASTER - optional
- RID=
- 0 or more - property name: 0 or more
For example 20100728T16:12:00Z;UPDATE;SUMMARY 20100728T16:12:00Z;UPDATE;MASTER;SUMMARY
- See Also:
-
appleNeedsReply
- See Also:
-
appleDefaultAlarm
- See Also:
-
-
Constructor Details
-
BwXproperty
public BwXproperty()Constructor -
BwXproperty
Create an x-property by specifying all its fields- Parameters:
name- String namepars- String parametersvalue- String value
-
-
Method Details
-
getXpropInfo
-
getBwFromJsCal
-
makeIcalProperty
Make an xproperty to hold an unknown ical property- Parameters:
name- - name of the ical propertypars- - ical parsvalue- - the property value- Returns:
- an xproperty
-
makeBwAlias
public static BwXproperty makeBwAlias(String displayName, String aliasUri, String aliasPath, String topicalAreaPath) Make an xproperty to hold a bedework alias- Parameters:
displayName- - topical area display namealiasUri- - uri without leading "bwcal://"aliasPath- - targettopicalAreaPath- - path of topical area- Returns:
- an xproperty
-
makeDavProperty
Make an xproperty to hold a dav property- Parameters:
name- - name of the dav propertyvalue- of property- Returns:
- an xproperty
-
setName
Set the name- Parameters:
val- String name
-
getName
Get the name- Returns:
- String name
-
setPars
Set the pars- Parameters:
val- String pars
-
getPars
Get the pars- Returns:
- String pars
-
setValue
Set the value- Parameters:
val- String value
-
getValue
Get the value- Returns:
- String value
-
getParameters
- Returns:
- List of parameters split out at the delimiter
-
getParam
- Parameters:
name- of parameter- Returns:
- Value of named parameter or null
-
parseParameters
- Parameters:
val- to parse- Returns:
- List
- Throws:
RuntimeException- on fatal error
-
escapeName
Replace space with underscore.- Parameters:
val- to process- Returns:
- escaped name
-
escapeSemi
Replace semicolon with escape semicolon.- Parameters:
val- to process- Returns:
- escaped name
-
unescapeSemi
Replace escaped semicolon with semicolon.- Parameters:
val- to process- Returns:
- escaped name
-
nextSemi
Return the position of the next unescaped semicolon- Parameters:
val- to searchstart- of search- Returns:
- int position of semicolon or -1 for no semicolon
-
compareTo
- Specified by:
compareToin interfaceComparable<BwXproperty>- Overrides:
compareToin classBwUnversionedDbentity<BwXproperty>
-
hashCode
public int hashCode()- Overrides:
hashCodein classBwUnversionedDbentity<BwXproperty>
-
toStringSegment
protected void toStringSegment(org.bedework.util.misc.ToString ts) Description copied from class:BwUnversionedDbentityAdd our stuff to the ToString object- Overrides:
toStringSegmentin classBwUnversionedDbentity<BwXproperty>- Parameters:
ts- ToString for result
-
toString
-
clone
Description copied from class:BwUnversionedDbentityMake visible- Specified by:
clonein interfaceBwCloneable- Overrides:
clonein classBwUnversionedDbentity<BwXproperty>- Returns:
- Object of class T
-
getSkip
public boolean getSkip()- Returns:
- true if this property should be skipped in ical generation
-
getSkipJsp
public boolean getSkipJsp()- Returns:
- true if this property should be skipped in jsp generation
-
main
- Parameters:
args- ignored
-