public class ObjectTemplates4ContentSlotFilter extends AbstractObjectTypeFilter<ObjectTemplate,ContentSlotNameModel>
ObjectTypeFilter that filters ObjectTemplates that are valid in the context of
given ContentSlotNameModel.| Constructor and Description |
|---|
ObjectTemplates4ContentSlotFilter() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
isValidForComponentTypeGroup(ContentSlotNameModel contentSlotName,
TypeModel typeModel) |
protected boolean |
isValidForValidComponentTypes(ContentSlotNameModel contentSlotName,
TypeModel typeModel)
Deprecated.
- checking valid component types via
ContentSlotNameModel.getValidComponentTypes() will be
removed. |
boolean |
isValidType(ObjectTemplate template,
ContentSlotNameModel contentSlotName) |
void |
setTypeService(TypeService typeService) |
filterObjectTypespublic boolean isValidType(ObjectTemplate template, ContentSlotNameModel contentSlotName)
isValidType in class AbstractObjectTypeFilter<ObjectTemplate,ContentSlotNameModel>@Deprecated protected boolean isValidForValidComponentTypes(ContentSlotNameModel contentSlotName, TypeModel typeModel)
ContentSlotNameModel.getValidComponentTypes() will be
removed.protected boolean isValidForComponentTypeGroup(ContentSlotNameModel contentSlotName, TypeModel typeModel)
public void setTypeService(TypeService typeService)
Copyright © 2017 SAP SE. All Rights Reserved.