Removed some more final modifiers
parent
c3e90a27e1
commit
f9fe016c3f
|
|
@ -46,9 +46,19 @@ public abstract class AbstractAssetImExporter<T extends Asset>
|
||||||
@Any
|
@Any
|
||||||
private ItemAttachmentImExporter itemAttachmentImExporter;
|
private ItemAttachmentImExporter itemAttachmentImExporter;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Implementation of {@link AbstractEntityImExporter#init()} for
|
||||||
|
* {@link Asset}s.
|
||||||
|
*
|
||||||
|
* !!! Warning: Implementations of this abstract class MUST NEVER override
|
||||||
|
* this method. Instead, they MUST implement {@link #initAssetImExporter()}.
|
||||||
|
*
|
||||||
|
* Unfortunetly, CDI does not support final methods, therefore we can't make
|
||||||
|
* this method final.
|
||||||
|
*/
|
||||||
@PostConstruct
|
@PostConstruct
|
||||||
@Override
|
@Override
|
||||||
protected final void init() {
|
protected void init() {
|
||||||
// ItemAttachmentImExporter requires that all assets to be imported
|
// ItemAttachmentImExporter requires that all assets to be imported
|
||||||
itemAttachmentImExporter.addRequiredEntities(Set.of(getEntityClass()));
|
itemAttachmentImExporter.addRequiredEntities(Set.of(getEntityClass()));
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -65,9 +65,20 @@ public abstract class AbstractContentItemImExporter<T extends ContentItem>
|
||||||
@Processes(RelatedLink.class)
|
@Processes(RelatedLink.class)
|
||||||
private RelatedLinkImExporter relatedLinkImExporter;
|
private RelatedLinkImExporter relatedLinkImExporter;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Implementation of {@link AbstractEntityImExporter#init()} for
|
||||||
|
* {@link ContentItems}s.
|
||||||
|
*
|
||||||
|
* !!! Warning: Implementations of this abstract class MUST NEVER override
|
||||||
|
* this method. Instead, they MUST implement {@link #initContentItemImExporter()
|
||||||
|
* }.
|
||||||
|
*
|
||||||
|
* Unfortunetly, CDI does not support final methods, therefore we can't make
|
||||||
|
* this method final.
|
||||||
|
*/
|
||||||
@PostConstruct
|
@PostConstruct
|
||||||
@Override
|
@Override
|
||||||
protected final void init() {
|
protected void init() {
|
||||||
addRequiredEntities(
|
addRequiredEntities(
|
||||||
Set.of(
|
Set.of(
|
||||||
Category.class,
|
Category.class,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue