@Deprecated public abstract class AbstractAvailabilityRule extends Object implements AvailabilityRule
Constructor and Description |
---|
AbstractAvailabilityRule()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isAvailable(Collection<?> itemIds)
Deprecated.
Returns true if the availability subject (e.g. action) is available for the specified
items (root node is represented by a null value in the array). |
protected abstract boolean |
isAvailableForItem(Object itemId)
Deprecated.
This method defines the actual evaluation logic for one item.
|
public boolean isAvailable(Collection<?> itemIds)
AvailabilityRule
items
(root node is represented by a null
value in the array).isAvailable
in interface AvailabilityRule
protected abstract boolean isAvailableForItem(Object itemId)
itemId
- Copyright © 2020 Magnolia International Ltd.. All rights reserved.