public abstract class ExtendableEntity extends Object
Modifier and Type | Field and Description |
---|---|
protected List<ExtendedFieldValue> |
extendedFieldValues
List of extended Fields.
|
Modifier | Constructor and Description |
---|---|
protected |
ExtendableEntity(javax.inject.Provider<ExtendedFieldDAO> extendedFieldDAO) |
Modifier and Type | Method and Description |
---|---|
void |
addExtendedFieldValue(ExtendedFieldValue aValue)
adds a Value to the ExtendedFieldValue List.
|
protected void |
addExtendedFieldValues(javax.inject.Provider<ExtendedFieldDAO> extendedFieldDAOProvider)
Adds Defaultvalues for all extended fields of this entity.
|
protected abstract int |
getExtendedFieldType()
abstract method for receiving the ExtendedFieldType for concret class which inherits ExtendableEntity
|
ExtendedFieldValue |
getExtendedFieldValue(Long aExtendedFieldId)
gets a extendedFieldValue by extendedField ID.
|
List<ExtendedFieldValue> |
getExtendedFieldValues() |
void |
setExtendedFieldValues(List<ExtendedFieldValue> aList)
sets a List of extendedFieldValues.
|
void |
updateExtendedFieldValue(Long aExtendedFieldId,
String aContent)
updates a extendedFieldValue by extendedField Id.
|
protected List<ExtendedFieldValue> extendedFieldValues
protected ExtendableEntity(javax.inject.Provider<ExtendedFieldDAO> extendedFieldDAO)
public List<ExtendedFieldValue> getExtendedFieldValues()
public void setExtendedFieldValues(List<ExtendedFieldValue> aList)
aList
- List of extended Field objectspublic void addExtendedFieldValue(ExtendedFieldValue aValue)
aValue
- Valueobject of the extended Fieldpublic ExtendedFieldValue getExtendedFieldValue(Long aExtendedFieldId)
aExtendedFieldId
- id of the extendedfieldpublic void updateExtendedFieldValue(Long aExtendedFieldId, String aContent)
aExtendedFieldId
- id of the extendedfieldaContent
- id content to setprotected void addExtendedFieldValues(javax.inject.Provider<ExtendedFieldDAO> extendedFieldDAOProvider)
protected abstract int getExtendedFieldType()
Copyright © 2005–2015 The Royal Danish Library, the Danish State and University Library, the National Library of France and the Austrian National Library.. All rights reserved.