@NotThreadSafe @Entity public abstract class WebCmsAsset<T extends WebCmsAsset<T>> extends WebCmsObjectInheritanceSuperClass<T>
WebCmsObjectSuperClass.setObjectId(String).
An asset implements the Auditable interface.
Any module can extend this base class to hook into the default asset support.DISCRIMINATOR_COLUMN| Modifier | Constructor and Description |
|---|---|
|
WebCmsAsset() |
protected |
WebCmsAsset(Long id,
Long newEntityId,
String objectId,
String createdBy,
Date createdDate,
String lastModifiedBy,
Date lastModifiedDate,
WebCmsDomain domain,
boolean published,
Date publicationDate,
int sortIndex) |
| Modifier and Type | Method and Description |
|---|---|
abstract WebCmsAssetType |
getAssetType() |
Long |
getId() |
abstract String |
getName() |
void |
setId(Long id) |
void |
setPublicationDate(Date publicationDate) |
String |
toString() |
getObjectTypegetObjectCollectionId, getObjectId, setObjectIdgetCreatedBy, getCreatedDate, getLastModifiedBy, getLastModifiedDate, setCreatedBy, setCreatedDate, setLastModifiedBy, setLastModifiedDateequals, getNewEntityId, hashCode, isNew, setNewEntityId, toDtoclone, finalize, getClass, notify, notifyAll, wait, wait, waitforObjectId, isNewgetDomain, setDomainpublic Long getId()
public void setId(Long id)
setId in class com.foreach.across.modules.hibernate.business.SettableIdBasedEntity<T extends WebCmsAsset<T>>public void setPublicationDate(Date publicationDate)
public abstract String getName()
public abstract WebCmsAssetType getAssetType()
Copyright © 2020. All rights reserved.