UnmappedAttributeCascadeDeleter
public class UnmappedCollectionAttributeCascadeDeleter extends AbstractUnmappedAttributeCascadeDeleter
attributeName, attributeValuePath, cascadeDeleteElement, elementEntityClass, elementIdAttributeName, EMPTY
Constructor | Description |
---|---|
UnmappedCollectionAttributeCascadeDeleter(EntityViewManagerImpl evm,
java.lang.String attributeName,
com.blazebit.persistence.spi.ExtendedAttribute<?,?> attribute,
java.lang.Class<?> ownerEntityClass,
java.lang.String ownerIdAttributeName,
boolean disallowCycle) |
Modifier and Type | Method | Description |
---|---|---|
UnmappedAttributeCascadeDeleter |
createFlusherWiseDeleter() |
|
void |
removeById(UpdateContext context,
java.lang.Object id) |
|
void |
removeByOwnerId(UpdateContext context,
java.lang.Object ownerId) |
|
boolean |
requiresDeleteCascadeAfterRemove() |
getAttributeValuePath
public UnmappedCollectionAttributeCascadeDeleter(EntityViewManagerImpl evm, java.lang.String attributeName, com.blazebit.persistence.spi.ExtendedAttribute<?,?> attribute, java.lang.Class<?> ownerEntityClass, java.lang.String ownerIdAttributeName, boolean disallowCycle)
public boolean requiresDeleteCascadeAfterRemove()
public void removeById(UpdateContext context, java.lang.Object id)
public void removeByOwnerId(UpdateContext context, java.lang.Object ownerId)
public UnmappedAttributeCascadeDeleter createFlusherWiseDeleter()
Copyright © 2014–2018 Blazebit. All rights reserved.