@MappedSuperclass public abstract class WebCmsObjectSuperClass<T extends WebCmsObjectSuperClass<T>> extends com.foreach.across.modules.hibernate.business.SettableIdAuditableEntity<T> implements WebCmsObject, WebCmsDomainBound
WebCmsObject entity that ensures that the object id is part of an object collection.
Requires the entity table to have a object_id column with a max length of 100.
This is a base class for single entities, if you want a base class for an inheritance strategy, consider using
the WebCmsObjectInheritanceSuperClass.WebCmsObjectInheritanceSuperClass| Modifier | Constructor and Description |
|---|---|
protected |
WebCmsObjectSuperClass() |
protected |
WebCmsObjectSuperClass(Long id,
Long newEntityId,
String objectId,
String createdBy,
Date createdDate,
String lastModifiedBy,
Date lastModifiedDate,
WebCmsDomain domain) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract String |
getObjectCollectionId() |
String |
getObjectId() |
void |
setObjectId(String objectId)
Manually set the unique object id.
|
getCreatedBy, getCreatedDate, getLastModifiedBy, getLastModifiedDate, setCreatedBy, setCreatedDate, setLastModifiedBy, setLastModifiedDateequals, getNewEntityId, hashCode, isNew, setId, setNewEntityId, toDtoclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitforObjectId, isNewgetDomain, setDomainpublic String getObjectId()
getObjectId in interface WebCmsObjectpublic void setObjectId(String objectId)
getObjectCollectionId(),
it will be prefixed.objectId - to useprotected abstract String getObjectCollectionId()
Copyright © 2020. All rights reserved.