com.kenshoo.pl.entity.DeletionOfOther Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of persistence-layer Show documentation
Show all versions of persistence-layer Show documentation
A Java persistence layer based on JOOQ for high performance and business flow support.
package com.kenshoo.pl.entity;
import com.kenshoo.pl.entity.internal.MissingChildrenSupplier;
import java.util.Optional;
public class DeletionOfOther> implements MissingChildrenSupplier {
private final E childType;
public DeletionOfOther(E childType) {
this.childType = childType;
}
public Optional> supplyNewCommand(Identifier id) {
return Optional.of(new DeleteEntityCommand(childType, id).setCascade());
}
@Override
public E getChildType() {
return childType;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy