Added missing dependencies for LifecycleDefitionImExporter
parent
35403e3e9c
commit
b59987ba97
|
|
@ -22,7 +22,6 @@ import org.libreccm.imexport.AbstractEntityImExporter;
|
|||
import org.libreccm.imexport.Exportable;
|
||||
import org.libreccm.imexport.Processes;
|
||||
|
||||
import java.util.Collections;
|
||||
import java.util.Objects;
|
||||
import java.util.Set;
|
||||
|
||||
|
|
@ -48,10 +47,9 @@ public class LifecycleDefinitionImExporter
|
|||
|
||||
@Override
|
||||
protected Set<Class<? extends Exportable>> getRequiredEntities() {
|
||||
// return Set.of(
|
||||
// Lifecycle.class
|
||||
// );
|
||||
return Collections.emptySet();
|
||||
return Set.of(
|
||||
PhaseDefinition.class
|
||||
);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
|
|
@ -20,6 +20,7 @@ package org.librecms.lifecycle;
|
|||
|
||||
import com.fasterxml.jackson.annotation.JsonIdentityInfo;
|
||||
import com.fasterxml.jackson.annotation.ObjectIdGenerators;
|
||||
import org.libreccm.imexport.Exportable;
|
||||
import org.libreccm.l10n.LocalizedString;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
|
@ -58,7 +59,7 @@ import static org.librecms.CmsConstants.*;
|
|||
resolver = PhaseDefinitionIdResolver.class,
|
||||
property = "uuid"
|
||||
)
|
||||
public class PhaseDefinition implements Serializable {
|
||||
public class PhaseDefinition implements Exportable, Serializable {
|
||||
|
||||
private static final long serialVersionUID = -7718926310758794075L;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue