T - public abstract class DbEntity<T> extends UnversionedDbentity<T> implements org.bedework.webdav.servlet.access.SharedEntity
DumpEntity.DumpType| Constructor and Description |
|---|
DbEntity()
No-arg constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
addDeletedEntity(DbEntity<?> val)
Add a deleted entity - these may appear as a result of updates.
|
void |
afterDeletion()
Called after delete from the db
|
void |
beforeDeletion()
Called when we are about to delete from the db
|
void |
beforeSave()
Called when we are about to save the object.
|
void |
beforeUpdate()
Called when we are about to update the object.
|
String |
getAccess() |
int |
getByteSize() |
String |
getCreated() |
String |
getCreatorHref() |
Collection<DbEntity<?>> |
getDeletedEntities() |
String |
getOwnerHref() |
String |
getParentPath() |
Integer |
getSeq()
Get the entity seq
|
int |
length()
Size to use for quotas.
|
void |
setAccess(String val) |
void |
setByteSize(int val)
The last calculated byte size should be stored with the entity.
|
void |
setCreated(String val) |
void |
setCreatorHref(String val) |
void |
setOwnerHref(String val) |
void |
setParentPath(String val) |
void |
setSeq(Integer val)
Set the seq for this entity
|
void |
toStringSegment(StringBuilder sb)
Add our stuff to the StringBuilder
|
clone, compareTo, equals, getId, hashCode, setId, unsaveddump, dump, error, getLog, hasDumpValuepublic void setByteSize(int val)
val - public int getByteSize()
public void setSeq(Integer val)
val - int seqpublic Integer getSeq()
public void setOwnerHref(String val)
setOwnerHref in interface org.bedework.webdav.servlet.access.SharedEntityval - public String getOwnerHref()
getOwnerHref in interface org.bedework.webdav.servlet.access.SharedEntitypublic void setCreatorHref(String val)
val - public String getCreatorHref()
public void setAccess(String val)
setAccess in interface org.bedework.webdav.servlet.access.SharedEntityval - public String getAccess()
getAccess in interface org.bedework.webdav.servlet.access.SharedEntitypublic void setParentPath(String val)
setParentPath in interface org.bedework.webdav.servlet.access.SharedEntityval - public String getParentPath()
getParentPath in interface org.bedework.webdav.servlet.access.SharedEntitypublic void setCreated(String val)
val - public String getCreated()
public void addDeletedEntity(DbEntity<?> val)
val - public Collection<DbEntity<?>> getDeletedEntities()
public void beforeDeletion()
public void afterDeletion()
public void beforeUpdate()
public void beforeSave()
public int length()
public void toStringSegment(StringBuilder sb)
UnversionedDbentitytoStringSegment in class UnversionedDbentity<T>sb - Copyright © 2018 Bedework. All rights reserved.