Package org.bedework.calfacade.base
Class BwOwnedDbentity<T>
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>
- Type Parameters:
T-
- All Implemented Interfaces:
Serializable,Comparable<T>,OwnedEntity,org.bedework.util.logging.Logged
- Direct Known Subclasses:
BwAlarm,BwPreferences,BwShareableDbentity
Base class for database entities with an owner.
- Version:
- 1.0
- Author:
- Mike Douglass
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bedework.calfacade.base.DumpEntity
DumpEntity.DumpType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcopyTo(BwOwnedDbentity<?> val) Copy this objects fields into the parametervoidsetOwnerHref(String val) Set the ownervoidsetPublick(Boolean val) voidshallowCopyTo(BwOwnedDbentity<?> val) Copy this objects fields into the parameter.protected voidtoStringSegment(org.bedework.util.misc.ToString ts) Add our stuff to the ToString objectMethods 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
clone, compareTo, equals, getHref, getId, hashCode, 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, toString, 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
-
Constructor Details
-
BwOwnedDbentity
public BwOwnedDbentity()No-arg constructor
-
-
Method Details
-
setOwnerHref
Description copied from interface:OwnedEntitySet the owner- Specified by:
setOwnerHrefin interfaceOwnedEntity- Parameters:
val- String owner path of the entity e.g. /principals/users/jim
-
getOwnerHref
- Specified by:
getOwnerHrefin interfaceOwnedEntity- Returns:
- String owner of the entity
-
setPublick
- Specified by:
setPublickin interfaceOwnedEntity- Parameters:
val- public/not public
-
getPublick
- Specified by:
getPublickin interfaceOwnedEntity- Returns:
- Boolean true for public
-
toStringSegment
protected void toStringSegment(org.bedework.util.misc.ToString ts) Add our stuff to the ToString object- Overrides:
toStringSegmentin classBwUnversionedDbentity<T>- Parameters:
ts- ToString for result
-
shallowCopyTo
Copy this objects fields into the parameter. Don't clone many of the referenced objects- Parameters:
val- to copy to
-
copyTo
Copy this objects fields into the parameter- Parameters:
val- to copy to
-