info.magnolia.pages.app.availability
Class PageHasSubpagesRule
java.lang.Object
info.magnolia.ui.api.availability.AbstractAvailabilityRule
info.magnolia.pages.app.availability.PageHasSubpagesRule
- All Implemented Interfaces:
- info.magnolia.ui.api.availability.AvailabilityRule
public class PageHasSubpagesRule
- extends info.magnolia.ui.api.availability.AbstractAvailabilityRule
This rule returns true, if the item is node of the mgnl:page type and has a subnode of the same type.
Methods inherited from class info.magnolia.ui.api.availability.AbstractAvailabilityRule |
isAvailable |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PageHasSubpagesRule
public PageHasSubpagesRule()
isAvailableForItem
public boolean isAvailableForItem(javax.jcr.Item item)
- Specified by:
isAvailableForItem
in class info.magnolia.ui.api.availability.AbstractAvailabilityRule
Copyright © 2014 Magnolia International Ltd.. All Rights Reserved.