info.magnolia.security.app.action.availability
Class IsNotCurrentUserRule

java.lang.Object
  extended by info.magnolia.ui.api.availability.AbstractAvailabilityRule
      extended by info.magnolia.security.app.action.availability.IsNotCurrentUserRule
All Implemented Interfaces:
info.magnolia.ui.api.availability.AvailabilityRule

public class IsNotCurrentUserRule
extends info.magnolia.ui.api.availability.AbstractAvailabilityRule

The rule to verify that the item does not represent the current user.


Constructor Summary
IsNotCurrentUserRule()
           
 
Method Summary
protected  boolean isAvailableForItem(Object itemId)
           
 
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
 

Constructor Detail

IsNotCurrentUserRule

public IsNotCurrentUserRule()
Method Detail

isAvailableForItem

protected boolean isAvailableForItem(Object itemId)
Specified by:
isAvailableForItem in class info.magnolia.ui.api.availability.AbstractAvailabilityRule


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