public class RestrictionNameExistsPredicate extends java.lang.Object implements java.util.function.Predicate<AbstractRestrictionData>
Returns TRUE if the restriction exists; FALSE otherwise.
| Constructor and Description |
|---|
RestrictionNameExistsPredicate() |
| Modifier and Type | Method and Description |
|---|---|
protected CMSAdminRestrictionService |
getAdminRestrictionService() |
void |
setAdminRestrictionService(CMSAdminRestrictionService adminRestrictionService) |
boolean |
test(AbstractRestrictionData restrictionData)
Suppress sonar warning (squid:S1166 | Exception handlers should preserve the original exception) : The exception
is correctly handled in the catch clause.
|
public boolean test(AbstractRestrictionData restrictionData)
test in interface java.util.function.Predicate<AbstractRestrictionData>protected CMSAdminRestrictionService getAdminRestrictionService()
public void setAdminRestrictionService(CMSAdminRestrictionService adminRestrictionService)
Copyright © 2017 SAP SE. All Rights Reserved.