Class GenericTypePredicate<T extends ItemModel>
java.lang.Object
de.hybris.platform.cms2.common.predicates.GenericTypePredicate<T>
- All Implemented Interfaces:
Predicate<T>
- Direct Known Subclasses:
AbstractPageTypePredicate,CategoryPageTypePredicate,CMSComponentTypePredicate,CMSItemTypePredicate,CMSWorkflowCommentPredicate,ContentPageTypePredicate,ContentSlotForPagePredicate,ContentSlotPredicate,ProductCarouselComponentTypePredicate,ProductPageTypePredicate,RestrictionPredicate,SimpleCMSComponentTypePredicate
Generic predicate to identify if the provided item model is an instance of provided type code.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Stringprotected TypeServicevoidsetTypeCode(String typeCode) voidsetTypeService(TypeService typeService) boolean