public class MultipleItemsAllowedRule extends Object implements AvailabilityRule
AvailabilityRule
implementation which returns true if subject should support working with multiple items.Constructor and Description |
---|
MultipleItemsAllowedRule() |
Modifier and Type | Method and Description |
---|---|
boolean |
isAvailable(Collection<?> itemIds)
Returns true if the availability subject (e.g.
|
boolean |
isMultipleItemsAllowed() |
void |
setMultipleItemsAllowed(boolean multipleItemsAllowed) |
public boolean isMultipleItemsAllowed()
public void setMultipleItemsAllowed(boolean multipleItemsAllowed)
public boolean isAvailable(Collection<?> itemIds)
AvailabilityRule
items
(root node is represented by a null
value in the array).isAvailable
in interface AvailabilityRule
Copyright © 2015 Magnolia International Ltd.. All rights reserved.