info.magnolia.module.forum.app.availability
Class ValidatableRule

java.lang.Object
  extended by info.magnolia.module.forum.app.availability.ValidatableRule
All Implemented Interfaces:
info.magnolia.ui.api.availability.AvailabilityRule
Direct Known Subclasses:
InvalidatableRule

public class ValidatableRule
extends Object
implements info.magnolia.ui.api.availability.AvailabilityRule

This AvailabilityRule checks whether an Item - a forum-message - can be validated.


Constructor Summary
ValidatableRule()
           
 
Method Summary
protected  boolean allow(javax.jcr.Property property)
           
 boolean isAvailable(Collection<?> itemIds)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValidatableRule

public ValidatableRule()
Method Detail

isAvailable

public boolean isAvailable(Collection<?> itemIds)
Specified by:
isAvailable in interface info.magnolia.ui.api.availability.AvailabilityRule

allow

protected boolean allow(javax.jcr.Property property)
                 throws javax.jcr.RepositoryException
Throws:
javax.jcr.RepositoryException


Copyright © 2014 Magnolia International Ltd.. All Rights Reserved.