public class IsNotDeletedRule extends AbstractResourceAvailabilityRule
true
if the item Resource
is part of JcrResourceOrigin
,
or if it is a node and has NOT the mgnl:deleted
mixin type.Constructor and Description |
---|
IsNotDeletedRule(info.magnolia.resourceloader.ResourceOrigin origin) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
isAvailableFor(info.magnolia.resourceloader.Resource itemId) |
isAvailableForItem
@Inject public IsNotDeletedRule(info.magnolia.resourceloader.ResourceOrigin origin)
protected boolean isAvailableFor(info.magnolia.resourceloader.Resource itemId)
isAvailableFor
in class AbstractResourceAvailabilityRule
Copyright © 2015 Magnolia International Ltd.. All rights reserved.