public class OrphanedPartOfCleanupPrepareInterceptor extends java.lang.Object implements PrepareInterceptor
| Constructor and Description |
|---|
OrphanedPartOfCleanupPrepareInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.Collection |
collectItemsToRemove(java.lang.Object originalValue,
java.lang.Object currentValue) |
protected java.lang.Object |
getAttributeValue(InterceptorContext ctx,
AbstractItemModel model,
java.lang.String qualifier) |
protected java.lang.Object |
getAttributeValue(InterceptorContext ctx,
AbstractItemModel model,
java.lang.String qualifier,
java.util.Locale loc) |
protected java.lang.Object |
getOriginalValue(AbstractItemModel model,
java.lang.String partOfQualifier) |
protected java.lang.Object |
getOriginalValue(AbstractItemModel model,
java.lang.String partOfQualifier,
java.util.Locale loc) |
protected java.util.Set<java.lang.String> |
getWritablePartOfAttributes(InterceptorContext ctx,
java.lang.String itemType) |
protected boolean |
isModifiedItemUsingSLD(java.lang.Object object,
InterceptorContext ctx) |
void |
onPrepare(java.lang.Object object,
InterceptorContext ctx)
Called in the
modelService.saveAll() method. |
protected void |
registerForRemoval(java.util.Collection items,
InterceptorContext ctx) |
protected void |
registerForRemovalIfNecessary(InterceptorContext ctx,
java.lang.Object currentValue,
java.lang.Object originalValue) |
void |
setTypeService(TypeService typeService) |
public OrphanedPartOfCleanupPrepareInterceptor()
public void onPrepare(java.lang.Object object,
InterceptorContext ctx)
throws InterceptorException
PrepareInterceptormodelService.saveAll() method. Prepares the values of the given model.onPrepare in interface PrepareInterceptorobject - the model which values has to be preparedctx - the InterceptorContextInterceptorException - if an error occured during the preparationprotected java.util.Set<java.lang.String> getWritablePartOfAttributes(InterceptorContext ctx, java.lang.String itemType)
protected void registerForRemovalIfNecessary(InterceptorContext ctx, java.lang.Object currentValue, java.lang.Object originalValue)
protected boolean isModifiedItemUsingSLD(java.lang.Object object,
InterceptorContext ctx)
protected void registerForRemoval(java.util.Collection items,
InterceptorContext ctx)
protected java.util.Collection collectItemsToRemove(java.lang.Object originalValue,
java.lang.Object currentValue)
protected java.lang.Object getOriginalValue(AbstractItemModel model, java.lang.String partOfQualifier)
protected java.lang.Object getOriginalValue(AbstractItemModel model, java.lang.String partOfQualifier, java.util.Locale loc)
protected java.lang.Object getAttributeValue(InterceptorContext ctx, AbstractItemModel model, java.lang.String qualifier)
protected java.lang.Object getAttributeValue(InterceptorContext ctx, AbstractItemModel model, java.lang.String qualifier, java.util.Locale loc)
public void setTypeService(TypeService typeService)
Copyright © 2018 SAP SE. All Rights Reserved.