public class OrphanedPartOfCleanupPrepareInterceptor extends Object implements PrepareInterceptor
| Constructor and Description |
|---|
OrphanedPartOfCleanupPrepareInterceptor() |
public OrphanedPartOfCleanupPrepareInterceptor()
public void onPrepare(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 Set<String> getWritablePartOfAttributes(InterceptorContext ctx, String itemType)
protected void registerForRemovalIfNecessary(InterceptorContext ctx, Object currentValue, Object originalValue)
protected boolean isModifiedItemUsingSLD(Object object, InterceptorContext ctx)
protected void registerForRemoval(Collection items, InterceptorContext ctx)
protected Collection collectItemsToRemove(Object originalValue, Object currentValue)
protected Object getOriginalValue(AbstractItemModel model, String partOfQualifier)
protected Object getOriginalValue(AbstractItemModel model, String partOfQualifier, Locale loc)
protected Object getAttributeValue(InterceptorContext ctx, AbstractItemModel model, String qualifier)
protected Object getAttributeValue(InterceptorContext ctx, AbstractItemModel model, String qualifier, Locale loc)
public void setTypeService(TypeService typeService)
Copyright © 2017 SAP SE. All Rights Reserved.