Updated ImExporter for ContentItems of sci-publications to implement new
interfacemaster
parent
9b4f077088
commit
90210b5fdc
|
|
@ -14,7 +14,8 @@ import javax.enterprise.context.RequestScoped;
|
|||
*/
|
||||
@RequestScoped
|
||||
@Processes(ArticleInCollectedVolumeItem.class)
|
||||
public class ArticleInCollectedVolumeItemImExporter extends AbstractContentItemImExporter<ArticleInCollectedVolumeItem> {
|
||||
public class ArticleInCollectedVolumeItemImExporter
|
||||
extends AbstractContentItemImExporter<ArticleInCollectedVolumeItem> {
|
||||
|
||||
@Override
|
||||
protected void initContentItemImExporter() {
|
||||
|
|
@ -26,4 +27,12 @@ public class ArticleInCollectedVolumeItemImExporter extends AbstractContentItemI
|
|||
return ArticleInCollectedVolumeItem.class;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void updateExistingContentItem(
|
||||
final ArticleInCollectedVolumeItem existingItem,
|
||||
final ArticleInCollectedVolumeItem importedItem
|
||||
) {
|
||||
// Nothing to update in ArticleInCollectedVolumeItem
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -27,4 +27,12 @@ public class ArticleInJournalItemImExporter
|
|||
return ArticleInJournalItem.class;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void updateExistingContentItem(
|
||||
final ArticleInJournalItem existingItem,
|
||||
final ArticleInJournalItem importedItem
|
||||
) {
|
||||
// Nothing to update in ArticleInJournalItem
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -27,4 +27,12 @@ public class CollectedVolumeItemImExporter
|
|||
return CollectedVolumeItem.class;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void updateExistingContentItem(
|
||||
final CollectedVolumeItem existingItem,
|
||||
final CollectedVolumeItem importedItem
|
||||
) {
|
||||
// Nothing to update in CollectedVolumeItem
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -27,4 +27,12 @@ public class ExpertiseItemImExporter
|
|||
return ExpertiseItem.class;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void updateExistingContentItem(
|
||||
final ExpertiseItem existingItem,
|
||||
final ExpertiseItem importedItem
|
||||
) {
|
||||
// Nothing to update in ExpertiseItem
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -27,4 +27,12 @@ public class GreyLiteratureItemImExporter
|
|||
return GreyLiteratureItem.class;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void updateExistingContentItem(
|
||||
final GreyLiteratureItem existingItem,
|
||||
final GreyLiteratureItem importedItem
|
||||
) {
|
||||
// Nothing to update in GreyLiteratureItem
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -27,4 +27,12 @@ public class InProceedingsItemImExporter
|
|||
return InProceedingsItem.class;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void updateExistingContentItem(
|
||||
final InProceedingsItem existingItem,
|
||||
final InProceedingsItem importedItem
|
||||
) {
|
||||
// Nothing to update in InProceedingsItem
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -27,4 +27,12 @@ public class InternetArticleItemImExporter
|
|||
return InternetArticleItem.class;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void updateExistingContentItem(
|
||||
final InternetArticleItem existingItem,
|
||||
final InternetArticleItem importedItem
|
||||
) {
|
||||
// Nothing to update in InternetArticleItem
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,7 +3,6 @@ package org.scientificcms.publications.contenttypes;
|
|||
import org.libreccm.imexport.Processes;
|
||||
import org.librecms.contentsection.AbstractContentItemImExporter;
|
||||
import org.scientificcms.publications.Monograph;
|
||||
import org.scientificcms.publications.assets.PublisherAsset;
|
||||
|
||||
import java.util.Set;
|
||||
|
||||
|
|
@ -28,4 +27,12 @@ public class MonographItemImExporter
|
|||
return MonographItem.class;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void updateExistingContentItem(
|
||||
final MonographItem existingItem,
|
||||
final MonographItem importedItem
|
||||
) {
|
||||
// Nothing to update in MonographItem
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -27,4 +27,12 @@ public class ProceedingsItemImExporter
|
|||
return ProceedingsItem.class;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void updateExistingContentItem(
|
||||
final ProceedingsItem existingItem,
|
||||
final ProceedingsItem importedItem
|
||||
) {
|
||||
// Nothing to update in ProceedingsItem
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -27,4 +27,12 @@ public class TalkItemImExporter
|
|||
addRequiredEntities(Set.of(Talk.class));
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void updateExistingContentItem(
|
||||
final TalkItem existingItem,
|
||||
final TalkItem importedItem
|
||||
) {
|
||||
// Nothing to update in TalkItem
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -27,4 +27,12 @@ public class WorkingPaperItemImExporter
|
|||
return WorkingPaperItem.class;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void updateExistingContentItem(
|
||||
final WorkingPaperItem existingItem,
|
||||
final WorkingPaperItem importedItem
|
||||
) {
|
||||
// Nothing to update in WorkingPaperItem
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue