info.magnolia.ui.workbench.column.definition
Class OnAuthorOrWhenThereIsSubscribersRule

java.lang.Object
  extended by info.magnolia.ui.workbench.column.definition.OnAuthorOrWhenThereIsSubscribersRule
All Implemented Interfaces:
ColumnAvailabilityRule

public class OnAuthorOrWhenThereIsSubscribersRule
extends Object
implements ColumnAvailabilityRule

Rule evaluating to true only in case we're on a author instance or there's active subscribers.


Constructor Summary
OnAuthorOrWhenThereIsSubscribersRule(info.magnolia.cms.beans.config.ServerConfiguration serverConfiguration, info.magnolia.cms.exchange.ActivationManager activationManager)
           
 
Method Summary
 boolean isAvailable()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OnAuthorOrWhenThereIsSubscribersRule

public OnAuthorOrWhenThereIsSubscribersRule(info.magnolia.cms.beans.config.ServerConfiguration serverConfiguration,
                                            info.magnolia.cms.exchange.ActivationManager activationManager)
Method Detail

isAvailable

public boolean isAvailable()
Specified by:
isAvailable in interface ColumnAvailabilityRule
Returns:
true in case the rule decides the column should be enabled.


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