public class ComponentForUidAttributePresetPredicate extends java.lang.Object implements java.util.function.BiPredicate<ItemModel,java.lang.String>, java.util.function.Supplier<java.lang.String>
UID qualifier of the AbstractCMSComponentModel component has a preset value
during the deep cloning process.
When the expression evaluates to TRUE, the deep cloning process will detect that a new preset value (e.g.
UID) needs to be generated for the qualifier of the component and the process will call #get() to retrieve
the generated preset value.
| Constructor and Description |
|---|
ComponentForUidAttributePresetPredicate() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
get() |
protected CMSAdminComponentService |
getCmsAdminComponentService() |
void |
setCmsAdminComponentService(CMSAdminComponentService cmsAdminComponentService) |
boolean |
test(ItemModel component,
java.lang.String qualifier) |
public ComponentForUidAttributePresetPredicate()
public boolean test(ItemModel component, java.lang.String qualifier)
test in interface java.util.function.BiPredicate<ItemModel,java.lang.String>public java.lang.String get()
get in interface java.util.function.Supplier<java.lang.String>protected CMSAdminComponentService getCmsAdminComponentService()
public void setCmsAdminComponentService(CMSAdminComponentService cmsAdminComponentService)
Copyright © 2018 SAP SE. All Rights Reserved.