Package org.bedework.calfacade.wrappers
Class BwCalendarNewWrapper
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<BwCalendar>
org.bedework.calfacade.BwCalendar
org.bedework.calfacade.wrappers.BwCalendarNewWrapper
- All Implemented Interfaces:
Serializable,Comparable<BwCalendar>,CategorisedEntity,CollatableEntity,OwnedEntity,PropertiesEntity,ShareableEntity,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.base.DumpEntity
DumpEntity.DumpType -
Field Summary
Fields inherited from class org.bedework.calfacade.BwCalendar
calTypeAlias, calTypeAttachments, calTypeBusy, calTypeCalendarCollection, calTypeDeleted, calTypeEventList, calTypeExtSub, calTypeFolder, calTypeInbox, calTypeNotifications, calTypeOutbox, calTypePendingInbox, calTypePoll, calTypeResourceCollection, calTypeTasks, calTypeTrash, calTypeUnknown, entityTypes, internalAliasUriPrefix, minRefreshRateSeconds, tombstonedFilter, tombstonedSuffix -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddCategory(BwCategory val) voidaddDeletedEntity(BwDbentity<?> val) Add a deleted entity - these may appear as a result of updates.voidaddProperty(BwProperty val) voidCalled after delete from the dbvoidCalled 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.clone()Make visibleReturn a clone of the SetUsed to provide a new wrapper for an entityintcompareTo(BwCalendar that) Return a copy of the SetvoidcopyTo(BwShareableContainedDbentity<?> val) Copy this objects fields into the parameterfindProperty(String name) Get the accessbooleanbooleangetAlias()true if this is some sort of aliasintreturn the end of the chain of aliases or this object if not an alias.Get the aliased entityGet the aliased entityGet the alias uriintbooleantrue if this is to 'hold' calendar objectsintGet the typebooleantrue if this can be the target of an aliasGet the categoriesGet the value to collate withgetColor()Get the calendar color propertyGet the object's collection pathBwPrincipal<?>org.bedework.access.CurrentAccessCollection<BwDbentity<?>>Get the descriptionbooleanbooleanGenerate an encoded url referring to this calendar.getEtag()Get the event listgetHref()intgetId()booleanDo we ignore transparency?Return path if this is an alias to an internal calendar.booleanGet the topical area propertyGet the location key propertyorg.bedework.util.logging.BwLoggerGet the mail list idlonggetName()Get the nameintintbooleangetOpen()booleanGet the orgsync public only property propertygetPath()Get the pathgetProperties(String name) getProperty(String name) Get the single valued named propertybooleangetQproperty(QName name) intGet the refresh rate in secondsintgetSeq()Get the entity seqintbooleantrue if this is a special collectionGet the subscriptionId propertyGet the subscription target type propertyGet the summarybooleanGet the admin can create event properties flag for synchbooleanGet the deletions suppressed flag for synchbooleanGet the process categories flag for synchbooleanGet the process contacts and locations flag for synchGet the calendar timezone propertybooleanbooleanhasCategory(BwCategory val) Check the categories for the same entityinthashCode()intlength()Size to use for quotas.voidMark this entity as not saved.booleanremoveCategory(BwCategory val) voidremoveProperties(String name) Remove all with given namebooleanremoveProperty(BwProperty val) voidremoveQproperty(QName name) voidSet the accessvoidsetAffectsFreeBusy(boolean val) voidsetAliasCalType(int val) the aliased entity typevoidsetAliasOrigin(BwCalendar val) Set the collection that was the root of the chain that referred to this collection, e.g.voidsetAliasTarget(BwCalendar val) Set the aliased entity - this is usualy the end of the chain of aliases, e.g.voidsetByteSize(int val) The last calculated byte size should be stored with the entity.voidsetCalType(int val) Set the typevoidsetCategories(Set<BwCategory> val) Set the categories SetvoidsetChildren(Collection<BwCalendar> val) voidSet the calendar color propertyvoidsetColPath(String val) Set the object's collection pathvoidsetCreated(String val) voidsetCreatorEnt(BwPrincipal<?> val) Set the creatorvoidsetCreatorHref(String val) Set the creatorvoidsetCurrentAccess(org.bedework.access.CurrentAccess val) voidsetDescription(String val) Set the descriptionvoidsetDisabled(boolean val) voidsetDisplay(boolean val) voidSet the event list propertyvoidsetFilterExpr(String val) voidvoidsetId(int val) voidsetIgnoreTransparency(boolean val) Set the ignoreTransparency flagvoidsetIsTopicalArea(boolean val) Set the topical area propertyvoidsetLastEtag(String val) voidvoidsetLastRefresh(String val) voidvoidsetLocationKey(String val) Set the location key propertyvoidsetMailListId(String val) Set the mail list idvoidSet the namevoidsetOpen(boolean val) voidSet the orgsync public only propertyvoidsetOwnerHref(String val) Set the ownervoidSet the pathvoidsetProperties(Set<BwProperty> val) voidsetProperty(String name, String val) Set the single valued named propertyvoidsetPublick(Boolean val) voidsetPwNeedsEncrypt(boolean val) voidsetQproperty(QName name, String val) voidsetRefreshRate(int val) Set the refresh rate in secondsvoidsetRemoteId(String val) voidsetRemotePw(String val) voidsetSeq(int val) Set the seq for this entityvoidsetSizeChange(int val) Used to track size changes.voidsetSubscriptionId(String val) Set the subscription idvoidSet the subscription target type propertyvoidsetSummary(String val) Set the summaryvoidsetSupportedComponents(List<String> val) voidsetSynchAdminCreateEprops(boolean val) Set the admin can create event properties flag for synchvoidsetSynchDeleteSuppressed(boolean val) Set the deletions suppressed flag for synchvoidsetSynchXcategories(boolean val) Set the process categories flag for synchvoidsetSynchXlocXcontacts(boolean val) Set the process contacts and locations flag for synchvoidsetTimezone(String val) Set the calendar timezone propertyvoidsetUnremoveable(boolean val) voidsetVirtualPath(String val) voidCopy this objects fields into the parameter.voidMake this thing a tombstoned collection.toString()booleanunsaved()voidupdateLastmod(Timestamp val) Update last mod fieldsvoidupdateSizeChange(int val) Update the size change with the given incrementMethods inherited from class org.bedework.calfacade.BwCalendar
checkName, getAllCollectionInfo, getCategoryHrefs, getCollectionInfo, getExternalSub, getInternalAlias, getPrimaryCollection, getRestoreCallback, getShared, getSharedWritable, getTombstoned, setAliasUri, setCategoryHrefs, setPrimaryCollection, setShared, setSharedWritableMethods inherited from class org.bedework.calfacade.base.BwShareableContainedDbentity
setColPath, toStringSegmentMethods 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 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
-
Method Details
-
setName
Description copied from class:BwCalendarSet the name- Overrides:
setNamein classBwCalendar- Parameters:
val- String name
-
getName
Description copied from class:BwCalendarGet the name- Overrides:
getNamein classBwCalendar- Returns:
- String name
-
setPath
Description copied from class:BwCalendarSet the path- Overrides:
setPathin classBwCalendar- Parameters:
val- String path
-
getPath
Description copied from class:BwCalendarGet the path- Overrides:
getPathin classBwCalendar- Returns:
- String path
-
setSummary
Description copied from class:BwCalendarSet the summary- Overrides:
setSummaryin classBwCalendar- Parameters:
val- String summary
-
getSummary
Description copied from class:BwCalendarGet the summary- Overrides:
getSummaryin classBwCalendar- Returns:
- String summary
-
setDescription
Description copied from class:BwCalendarSet the description- Overrides:
setDescriptionin classBwCalendar- Parameters:
val- description
-
getDescription
Description copied from class:BwCalendarGet the description- Overrides:
getDescriptionin classBwCalendar- Returns:
- String description
-
setMailListId
Description copied from class:BwCalendarSet the mail list id- Overrides:
setMailListIdin classBwCalendar- Parameters:
val- String mail list id
-
getMailListId
Description copied from class:BwCalendarGet the mail list id- Overrides:
getMailListIdin classBwCalendar- Returns:
- String mail list id
-
setCalType
public void setCalType(int val) Description copied from class:BwCalendarSet the type- Overrides:
setCalTypein classBwCalendar- Parameters:
val- type
-
getCalType
public int getCalType()Description copied from class:BwCalendarGet the type- Overrides:
getCalTypein classBwCalendar- Returns:
- int type
-
setCreated
- Overrides:
setCreatedin classBwCalendar- Parameters:
val- - the created date
-
getCreated
- Overrides:
getCreatedin classBwCalendar- Returns:
- String created
-
setLastmod
- Overrides:
setLastmodin classBwCalendar- Parameters:
val- the lastmod
-
getLastmod
- Overrides:
getLastmodin classBwCalendar- Returns:
- BwCollectionLastmod lastmod
-
setFilterExpr
- Overrides:
setFilterExprin classBwCalendar- Parameters:
val- - the filter expression
-
getFilterExpr
- Overrides:
getFilterExprin classBwCalendar- Returns:
- String FilterExpr
-
setRefreshRate
public void setRefreshRate(int val) Description copied from class:BwCalendarSet the refresh rate in seconds- Overrides:
setRefreshRatein classBwCalendar- Parameters:
val- type
-
getRefreshRate
public int getRefreshRate()Description copied from class:BwCalendarGet the refresh rate in seconds- Overrides:
getRefreshRatein classBwCalendar- Returns:
- String description
-
setLastRefresh
- Overrides:
setLastRefreshin classBwCalendar- Parameters:
val- - the value
-
getLastRefresh
- Overrides:
getLastRefreshin classBwCalendar- Returns:
- String lastRefresh
-
setLastRefreshStatus
- Overrides:
setLastRefreshStatusin classBwCalendar- Parameters:
val- HTTP status or other appropriate value
-
getLastRefreshStatus
- Overrides:
getLastRefreshStatusin classBwCalendar- Returns:
- String lastRefreshStatus
-
setLastEtag
- Overrides:
setLastEtagin classBwCalendar- Parameters:
val- - the value
-
getLastEtag
- Overrides:
getLastEtagin classBwCalendar- Returns:
- String lastRefresh
-
setRemoteId
- Overrides:
setRemoteIdin classBwCalendar- Parameters:
val- If non-null we have a remote id and encrypted password
-
getRemoteId
- Overrides:
getRemoteIdin classBwCalendar- Returns:
- String remoteId
-
setRemotePw
- Overrides:
setRemotePwin classBwCalendar- Parameters:
val- If non-null the encrypted password
-
getRemotePw
- Overrides:
getRemotePwin classBwCalendar- Returns:
- String encrypted password
-
setCategories
Description copied from interface:CategorisedEntitySet the categories Set- Specified by:
setCategoriesin interfaceCategorisedEntity- Overrides:
setCategoriesin classBwCalendar- Parameters:
val- Set of categories
-
getCategories
Description copied from interface:CategorisedEntityGet the categories- Specified by:
getCategoriesin interfaceCategorisedEntity- Overrides:
getCategoriesin classBwCalendar- Returns:
- Set of categories
-
getNumCategories
public int getNumCategories()- Specified by:
getNumCategoriesin interfaceCategorisedEntity- Overrides:
getNumCategoriesin classBwCalendar- Returns:
- int number of categories.
-
addCategory
- Specified by:
addCategoryin interfaceCategorisedEntity- Overrides:
addCategoryin classBwCalendar- Parameters:
val- the category to add- Returns:
- boolean true if added.
-
removeCategory
- Specified by:
removeCategoryin interfaceCategorisedEntity- Overrides:
removeCategoryin classBwCalendar- 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 classBwCalendar- 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 classBwCalendar- Returns:
- Set of BwCategory
-
cloneCategories
Description copied from interface:CategorisedEntityReturn a clone of the Set- Specified by:
cloneCategoriesin interfaceCategorisedEntity- Overrides:
cloneCategoriesin classBwCalendar- Returns:
- Set of BwCategory
-
getAliasUri
Description copied from class:BwCalendarGet the alias uri- Overrides:
getAliasUriin classBwCalendar- Returns:
- String uri
-
setPwNeedsEncrypt
public void setPwNeedsEncrypt(boolean val) - Overrides:
setPwNeedsEncryptin classBwCalendar- Parameters:
val- boolean true if the password needs encrypting
-
getPwNeedsEncrypt
public boolean getPwNeedsEncrypt()- Overrides:
getPwNeedsEncryptin classBwCalendar- Returns:
- boolean true if the password needs encrypting
-
setDisplay
public void setDisplay(boolean val) - Overrides:
setDisplayin classBwCalendar- Parameters:
val- boolean true if the calendar is to be displayed
-
getDisplay
public boolean getDisplay()- Overrides:
getDisplayin classBwCalendar- Returns:
- boolean true if the calendar is to be displayed
-
setAffectsFreeBusy
public void setAffectsFreeBusy(boolean val) - Overrides:
setAffectsFreeBusyin classBwCalendar- Parameters:
val- true if the calendar takes part in free/busy calculations
-
getAffectsFreeBusy
public boolean getAffectsFreeBusy()- Overrides:
getAffectsFreeBusyin classBwCalendar- Returns:
- boolean true if the calendar takes part in free/busy calculations
-
setIgnoreTransparency
public void setIgnoreTransparency(boolean val) Description copied from class:BwCalendarSet the ignoreTransparency flag- Overrides:
setIgnoreTransparencyin classBwCalendar- Parameters:
val- true if we ignore tranparency in free/busy calculations
-
getIgnoreTransparency
public boolean getIgnoreTransparency()Description copied from class:BwCalendarDo we ignore transparency?- Overrides:
getIgnoreTransparencyin classBwCalendar- Returns:
- boolean true for ignoreTransparency
-
setUnremoveable
public void setUnremoveable(boolean val) - Overrides:
setUnremoveablein classBwCalendar- Parameters:
val- boolean true if the calendar is unremoveable
-
getUnremoveable
public boolean getUnremoveable()- Overrides:
getUnremoveablein classBwCalendar- Returns:
- boolean true if the calendar is unremoveable
-
setProperties
- Specified by:
setPropertiesin interfacePropertiesEntity- Overrides:
setPropertiesin classBwCalendar
-
getProperties
- Specified by:
getPropertiesin interfacePropertiesEntity- Overrides:
getPropertiesin classBwCalendar- Returns:
- properties
-
getProperties
- Specified by:
getPropertiesin interfacePropertiesEntity- Overrides:
getPropertiesin classBwCalendar- Returns:
- properties with given name
-
removeProperties
Description copied from interface:PropertiesEntityRemove all with given name- Specified by:
removePropertiesin interfacePropertiesEntity- Overrides:
removePropertiesin classBwCalendar
-
getNumProperties
public int getNumProperties()- Specified by:
getNumPropertiesin interfacePropertiesEntity- Overrides:
getNumPropertiesin classBwCalendar- Returns:
- int
-
findProperty
- Specified by:
findPropertyin interfacePropertiesEntity- Overrides:
findPropertyin classBwCalendar- Returns:
- property or null
-
addProperty
- Specified by:
addPropertyin interfacePropertiesEntity- Overrides:
addPropertyin classBwCalendar
-
removeProperty
- Specified by:
removePropertyin interfacePropertiesEntity- Overrides:
removePropertyin classBwCalendar- Returns:
- boolean
-
copyProperties
- Specified by:
copyPropertiesin interfacePropertiesEntity- Overrides:
copyPropertiesin classBwCalendar- Returns:
- BwProperty
-
cloneProperties
- Specified by:
clonePropertiesin interfacePropertiesEntity- Overrides:
clonePropertiesin classBwCalendar- Returns:
- BwProperty
-
setSupportedComponents
- Overrides:
setSupportedComponentsin classBwCalendar- Parameters:
val- the supported component names e.g. "VEVENT", "VTODO" etc.
-
getSupportedComponents
- Overrides:
getSupportedComponentsin classBwCalendar- Returns:
- the supported components
-
getVpollSupportedComponents
- Overrides:
getVpollSupportedComponentsin classBwCalendar- Returns:
- the supported vpoll components
-
setColor
Description copied from class:BwCalendarSet the calendar color property- Overrides:
setColorin classBwCalendar- Parameters:
val- color
-
getColor
Description copied from class:BwCalendarGet the calendar color property- Overrides:
getColorin classBwCalendar- Returns:
- String calendar color
-
setSubscriptionId
Description copied from class:BwCalendarSet the subscription id- Overrides:
setSubscriptionIdin classBwCalendar- Parameters:
val- subscription id
-
getSubscriptionId
Description copied from class:BwCalendarGet the subscriptionId property- Overrides:
getSubscriptionIdin classBwCalendar- Returns:
- String subscriptionId
-
setSynchAdminCreateEprops
public void setSynchAdminCreateEprops(boolean val) Description copied from class:BwCalendarSet the admin can create event properties flag for synch- Overrides:
setSynchAdminCreateEpropsin classBwCalendar- Parameters:
val- if set the admin can create event properties during synch
-
getSynchAdminCreateEprops
public boolean getSynchAdminCreateEprops()Description copied from class:BwCalendarGet the admin can create event properties flag for synch- Overrides:
getSynchAdminCreateEpropsin classBwCalendar- Returns:
- boolean on/off
-
setSynchXlocXcontacts
public void setSynchXlocXcontacts(boolean val) Description copied from class:BwCalendarSet the process contacts and locations flag for synch- Overrides:
setSynchXlocXcontactsin classBwCalendar- Parameters:
val- if we process contacts and locations during synch
-
getSynchXlocXcontacts
public boolean getSynchXlocXcontacts()Description copied from class:BwCalendarGet the process contacts and locations flag for synch- Overrides:
getSynchXlocXcontactsin classBwCalendar- Returns:
- boolean on/off
-
setSynchXcategories
public void setSynchXcategories(boolean val) Description copied from class:BwCalendarSet the process categories flag for synch- Overrides:
setSynchXcategoriesin classBwCalendar- Parameters:
val- if we process categories during synch
-
getSynchXcategories
public boolean getSynchXcategories()Description copied from class:BwCalendarGet the process categories flag for synch- Overrides:
getSynchXcategoriesin classBwCalendar- Returns:
- boolean on/off
-
setSynchDeleteSuppressed
public void setSynchDeleteSuppressed(boolean val) Description copied from class:BwCalendarSet the deletions suppressed flag for synch- Overrides:
setSynchDeleteSuppressedin classBwCalendar- Parameters:
val- true if we suppress deletions during synch
-
getSynchDeleteSuppressed
public boolean getSynchDeleteSuppressed()Description copied from class:BwCalendarGet the deletions suppressed flag for synch- Overrides:
getSynchDeleteSuppressedin classBwCalendar- Returns:
- boolean on/off
-
setTimezone
Description copied from class:BwCalendarSet the calendar timezone property- Overrides:
setTimezonein classBwCalendar- Parameters:
val- calendar timezone property
-
getTimezone
Description copied from class:BwCalendarGet the calendar timezone property- Overrides:
getTimezonein classBwCalendar- Returns:
- String vtimezone spec
-
setSubscriptionTargetType
Description copied from class:BwCalendarSet the subscription target type property- Overrides:
setSubscriptionTargetTypein classBwCalendar- Parameters:
val- subscription target type
-
getSubscriptionTargetType
Description copied from class:BwCalendarGet the subscription target type property- Overrides:
getSubscriptionTargetTypein classBwCalendar- Returns:
- String subscription target type
-
setLocationKey
Description copied from class:BwCalendarSet the location key property- Overrides:
setLocationKeyin classBwCalendar- Parameters:
val- location key
-
getLocationKey
Description copied from class:BwCalendarGet the location key property- Overrides:
getLocationKeyin classBwCalendar- Returns:
- String location key
-
setOrgSyncPublicOnly
Description copied from class:BwCalendarSet the orgsync public only property- Overrides:
setOrgSyncPublicOnlyin classBwCalendar- Parameters:
val- orgsync public only property
-
getOrgSyncPublicOnly
public boolean getOrgSyncPublicOnly()Description copied from class:BwCalendarGet the orgsync public only property property- Overrides:
getOrgSyncPublicOnlyin classBwCalendar- Returns:
- boolean subscription target type
-
setIsTopicalArea
public void setIsTopicalArea(boolean val) Description copied from class:BwCalendarSet the topical area property- Overrides:
setIsTopicalAreain classBwCalendar- Parameters:
val- topical area property
-
getIsTopicalArea
public boolean getIsTopicalArea()Description copied from class:BwCalendarGet the topical area property- Overrides:
getIsTopicalAreain classBwCalendar- Returns:
- boolean on/off
-
setQproperty
- Overrides:
setQpropertyin classBwCalendar- Parameters:
name- QNameval- its value
-
getQproperty
- Overrides:
getQpropertyin classBwCalendar- Parameters:
name- QName- Returns:
- value or null
-
removeQproperty
- Overrides:
removeQpropertyin classBwCalendar- Parameters:
name- QName
-
setEventList
Description copied from class:BwCalendarSet the event list property- Overrides:
setEventListin classBwCalendar- Parameters:
val- event list
-
getEventList
Description copied from class:BwCalendarGet the event list- Overrides:
getEventListin classBwCalendar- Returns:
- event list - never null
-
setHref
- Overrides:
setHrefin classBwCalendar- Parameters:
val- the href - may be ignored
-
getHref
- Overrides:
getHrefin classBwCalendar- Returns:
- non null unique href for the entity
-
getEtag
- Overrides:
getEtagin classBwCalendar- Returns:
- valid quoted etag
-
getMicrosecsVersion
- Overrides:
getMicrosecsVersionin classBwCalendar- Returns:
- a version value in microseconds.
- Throws:
CalFacadeException
-
getCalendarCollection
public boolean getCalendarCollection()Description copied from class:BwCalendartrue if this is to 'hold' calendar objects- Overrides:
getCalendarCollectionin classBwCalendar- Returns:
- boolean true if this is to 'hold' calendar objects
-
getSpecial
public boolean getSpecial()Description copied from class:BwCalendartrue if this is a special collection- Overrides:
getSpecialin classBwCalendar- Returns:
- boolean
-
getCanAlias
public boolean getCanAlias()Description copied from class:BwCalendartrue if this can be the target of an alias- Overrides:
getCanAliasin classBwCalendar- Returns:
- boolean
-
setAliasTarget
Description copied from class:BwCalendarSet the aliased entity - this is usualy the end of the chain of aliases, e.g. in a->b->c this would be c.- Overrides:
setAliasTargetin classBwCalendar- Parameters:
val- BwCalendar object's alias target
-
getAliasTarget
Description copied from class:BwCalendarGet the aliased entity- Overrides:
getAliasTargetin classBwCalendar- Returns:
- BwCalendar the object's alias target
-
setAliasOrigin
Description copied from class:BwCalendarSet the collection that was the root of the chain that referred to this collection, e.g. in a->b->c this would be a.- Overrides:
setAliasOriginin classBwCalendar- Parameters:
val- BwCalendar object's alias target
-
getAliasOrigin
Description copied from class:BwCalendarGet the aliased entity- Overrides:
getAliasOriginin classBwCalendar- Returns:
- BwCalendar the object's alias target
-
setAliasCalType
public void setAliasCalType(int val) Description copied from class:BwCalendarthe aliased entity type- Overrides:
setAliasCalTypein classBwCalendar- Parameters:
val- type
-
getAliasCalType
public int getAliasCalType()- Overrides:
getAliasCalTypein classBwCalendar- Returns:
- the aliased entity type
-
setDisabled
public void setDisabled(boolean val) - Overrides:
setDisabledin classBwCalendar- Parameters:
val- boolean true if the target is unreachable
-
getDisabled
public boolean getDisabled()- Overrides:
getDisabledin classBwCalendar- Returns:
- boolean true if the target is unreachable
-
getAliasedEntity
Description copied from class:BwCalendarreturn the end of the chain of aliases or this object if not an alias. Assumes aliases have been resolved.- Overrides:
getAliasedEntityin classBwCalendar- Returns:
- boolean true if this is some sort of alias.
-
getAlias
public boolean getAlias()Description copied from class:BwCalendartrue if this is some sort of alias- Overrides:
getAliasin classBwCalendar- Returns:
- boolean true if this is some sort of alias.
-
getInternalAliasPath
Description copied from class:BwCalendarReturn path if this is an alias to an internal calendar.- Overrides:
getInternalAliasPathin classBwCalendar- Returns:
- String path if this is an alias to an internal calendar otherwise null.
-
setChildren
- Overrides:
setChildrenin classBwCalendar- Parameters:
val- Collection of children objects
-
getChildren
- Overrides:
getChildrenin classBwCalendar- Returns:
- Collection of children objects
-
getCollectionInfo
- Overrides:
getCollectionInfoin classBwCalendar- Returns:
- CollectionInfo for this entity
-
tombstone
public void tombstone()Description copied from class:BwCalendarMake this thing a tombstoned collection. Non-reversible- Overrides:
tombstonein classBwCalendar
-
getEncodedPath
Description copied from class:BwCalendarGenerate an encoded url referring to this calendar. XXX This should not be here- Overrides:
getEncodedPathin classBwCalendar- Returns:
- String encoded url (or path)
-
updateLastmod
Description copied from class:BwCalendarUpdate last mod fields- Overrides:
updateLastmodin classBwCalendar- Parameters:
val- timestamp
-
setProperty
Description copied from class:BwCalendarSet the single valued named property- Overrides:
setPropertyin classBwCalendar- Parameters:
name- of propertyval- of property
-
getProperty
Description copied from class:BwCalendarGet the single valued named property- Overrides:
getPropertyin classBwCalendar- Parameters:
name- of property- Returns:
- String property value
-
setCurrentAccess
public void setCurrentAccess(org.bedework.access.CurrentAccess val) - Overrides:
setCurrentAccessin classBwCalendar- Parameters:
val- CurrentAccess
-
getCurrentAccess
public org.bedework.access.CurrentAccess getCurrentAccess()- Overrides:
getCurrentAccessin classBwCalendar- Returns:
- CurrentAccess
-
setVirtualPath
- Overrides:
setVirtualPathin classBwCalendar- Parameters:
val- virtual path for searches
-
getVirtualPath
- Overrides:
getVirtualPathin classBwCalendar- Returns:
- virtual path for searches
-
setOpen
public void setOpen(boolean val) - Overrides:
setOpenin classBwCalendar- Parameters:
val- ui open state
-
getOpen
public boolean getOpen()- Overrides:
getOpenin classBwCalendar- Returns:
- ui open state
-
getCollateValue
Description copied from interface:CollatableEntityGet the value to collate with- Specified by:
getCollateValuein interfaceCollatableEntity- Overrides:
getCollateValuein classBwCalendar- Returns:
- String collation value
-
makeTombstoneCopy
- Overrides:
makeTombstoneCopyin classBwCalendar- Returns:
- a copy for tombstoning.
-
compareTo
- Specified by:
compareToin interfaceComparable<BwCalendar>- Overrides:
compareToin classBwCalendar
-
hashCode
public int hashCode()- Overrides:
hashCodein classBwCalendar
-
toString
- Overrides:
toStringin classBwCalendar
-
clone
Description copied from class:BwUnversionedDbentityMake visible- Overrides:
clonein classBwCalendar- Returns:
- Object of class T
-
cloneWrapper
Description copied from class:BwCalendarUsed to provide a new wrapper for an entity- Overrides:
cloneWrapperin classBwCalendar- Returns:
- Same entity with new wrapper
-
shallowClone
- Overrides:
shallowClonein classBwCalendar
-
setColPath
Description copied from class:BwShareableContainedDbentitySet the object's collection path- Overrides:
setColPathin classBwShareableContainedDbentity<BwCalendar>- Parameters:
val- String path
-
getColPath
Description copied from class:BwShareableContainedDbentityGet the object's collection path- Overrides:
getColPathin classBwShareableContainedDbentity<BwCalendar>- Returns:
- String path
-
setCreatorHref
Description copied from interface:ShareableEntitySet the creator- Specified by:
setCreatorHrefin interfaceShareableEntity- Overrides:
setCreatorHrefin classBwShareableDbentity<BwCalendar>- Parameters:
val- String creator of the entity
-
getCreatorHref
- Specified by:
getCreatorHrefin interfaceShareableEntity- Overrides:
getCreatorHrefin classBwShareableDbentity<BwCalendar>- Returns:
- BwUser creator of the entity
-
setAccess
Description copied from interface:ShareableEntitySet the access- Specified by:
setAccessin interfaceShareableEntity- Overrides:
setAccessin classBwShareableDbentity<BwCalendar>- Parameters:
val- String access
-
getAccess
Description copied from interface:ShareableEntityGet the access- Specified by:
getAccessin interfaceShareableEntity- Overrides:
getAccessin classBwShareableDbentity<BwCalendar>- Returns:
- String access
-
setCreatorEnt
Description copied from interface:ShareableEntitySet the creator- Specified by:
setCreatorEntin interfaceShareableEntity- Overrides:
setCreatorEntin classBwShareableDbentity<BwCalendar>- Parameters:
val- BwPrincipal creator of the entity
-
getCreatorEnt
- Specified by:
getCreatorEntin interfaceShareableEntity- Overrides:
getCreatorEntin classBwShareableDbentity<BwCalendar>- Returns:
- BwPrincipal creator of the entity
-
setOwnerHref
Description copied from interface:OwnedEntitySet the owner- Specified by:
setOwnerHrefin interfaceOwnedEntity- Overrides:
setOwnerHrefin classBwOwnedDbentity<BwCalendar>- Parameters:
val- String owner path of the entity e.g. /principals/users/jim
-
getOwnerHref
- Specified by:
getOwnerHrefin interfaceOwnedEntity- Overrides:
getOwnerHrefin classBwOwnedDbentity<BwCalendar>- Returns:
- String owner of the entity
-
setPublick
- Specified by:
setPublickin interfaceOwnedEntity- Overrides:
setPublickin classBwOwnedDbentity<BwCalendar>- Parameters:
val- public/not public
-
getPublick
- Specified by:
getPublickin interfaceOwnedEntity- Overrides:
getPublickin classBwOwnedDbentity<BwCalendar>- 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<BwCalendar>
-
getByteSize
public int getByteSize()- Overrides:
getByteSizein classBwDbentity<BwCalendar>- Returns:
- int last byte size
-
setSeq
public void setSeq(int val) Description copied from class:BwDbentitySet the seq for this entity- Overrides:
setSeqin classBwDbentity<BwCalendar>- Parameters:
val- int seq
-
getSeq
public int getSeq()Description copied from class:BwDbentityGet the entity seq- Overrides:
getSeqin classBwDbentity<BwCalendar>- 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<BwCalendar>
-
getDeletedEntities
- Overrides:
getDeletedEntitiesin classBwDbentity<BwCalendar>- 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<BwCalendar>
-
afterDeletion
public void afterDeletion()Description copied from class:BwDbentityCalled after delete from the db- Overrides:
afterDeletionin classBwDbentity<BwCalendar>
-
beforeUpdate
public void beforeUpdate()Description copied from class:BwDbentityCalled when we are about to update the object.- Overrides:
beforeUpdatein classBwDbentity<BwCalendar>
-
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<BwCalendar>
-
length
public int length()Description copied from class:BwDbentitySize to use for quotas.- Overrides:
lengthin classBwDbentity<BwCalendar>- Returns:
- int
-
setId
public void setId(int val) - Overrides:
setIdin classBwUnversionedDbentity<BwCalendar>
-
getId
public int getId()- Overrides:
getIdin classBwUnversionedDbentity<BwCalendar>- Returns:
- int id
-
unsaved
public boolean unsaved()- Overrides:
unsavedin classBwUnversionedDbentity<BwCalendar>- 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<BwCalendar>
-
getLogger
public org.bedework.util.logging.BwLogger getLogger()- Specified by:
getLoggerin interfaceorg.bedework.util.logging.Logged- Overrides:
getLoggerin classDumpEntity<BwCalendar>
-
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-
-