Package org.bedework.calfacade.base
Class BwShareableDbentity<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>
org.bedework.calfacade.base.BwShareableDbentity<T>
- Type Parameters:
T-
- All Implemented Interfaces:
Serializable,Comparable<T>,OwnedEntity,ShareableEntity,org.bedework.util.logging.Logged
- Direct Known Subclasses:
BwShareableContainedDbentity
Base class for shareable database entities.
- 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(BwShareableDbentity<?> val) Copy this objects fields into the parameterGet the accessBwPrincipal<?>voidSet the accessvoidsetCreatorEnt(BwPrincipal<?> val) Set the creatorvoidsetCreatorHref(String val) Set the creatorvoidshallowCopyTo(BwShareableDbentity<?> 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.BwOwnedDbentity
copyTo, getOwnerHref, getPublick, setOwnerHref, setPublick, shallowCopyToMethods 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, warnMethods inherited from interface org.bedework.calfacade.base.OwnedEntity
getOwnerHref, getPublick, setOwnerHref, setPublick
-
Constructor Details
-
BwShareableDbentity
public BwShareableDbentity()No-arg constructor
-
-
Method Details
-
setCreatorHref
Description copied from interface:ShareableEntitySet the creator- Specified by:
setCreatorHrefin interfaceShareableEntity- Parameters:
val- String creator of the entity
-
getCreatorHref
- Specified by:
getCreatorHrefin interfaceShareableEntity- Returns:
- BwUser creator of the entity
-
setAccess
Description copied from interface:ShareableEntitySet the access- Specified by:
setAccessin interfaceShareableEntity- Parameters:
val- String access
-
getAccess
Description copied from interface:ShareableEntityGet the access- Specified by:
getAccessin interfaceShareableEntity- Returns:
- String access
-
setCreatorEnt
Description copied from interface:ShareableEntitySet the creator- Specified by:
setCreatorEntin interfaceShareableEntity- Parameters:
val- BwPrincipal creator of the entity
-
getCreatorEnt
- Specified by:
getCreatorEntin interfaceShareableEntity- Returns:
- BwPrincipal creator of the entity
-
toStringSegment
protected void toStringSegment(org.bedework.util.misc.ToString ts) Add our stuff to the ToString object- Overrides:
toStringSegmentin classBwOwnedDbentity<T>- Parameters:
ts- ToString for result
-