info.magnolia.ui.api.availability
Class IsNotDeletedRule
java.lang.Object
info.magnolia.ui.api.availability.AbstractAvailabilityRule
info.magnolia.ui.api.availability.IsNotDeletedRule
- All Implemented Interfaces:
- AvailabilityRule
public class IsNotDeletedRule
- extends AbstractAvailabilityRule
This rule returns true if the item is not a node, or if it is a node and has NOT the mgnl:deleted mixin type.
Method Summary |
boolean |
isAvailableForItem(javax.jcr.Item item)
This method defines the actual evaluation logic for one item. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IsNotDeletedRule
public IsNotDeletedRule()
isAvailableForItem
public boolean isAvailableForItem(javax.jcr.Item item)
- Description copied from class:
AbstractAvailabilityRule
- This method defines the actual evaluation logic for one item.
- Specified by:
isAvailableForItem
in class AbstractAvailabilityRule
Copyright © 2013 Magnolia International Ltd.. All Rights Reserved.