org.exoplatform.platform.webui.filter
Class IsNotDriveHomeFilter

java.lang.Object
  extended by org.exoplatform.webui.ext.filter.UIExtensionAbstractFilter
      extended by org.exoplatform.platform.webui.filter.IsNotDriveHomeFilter
All Implemented Interfaces:
org.exoplatform.webui.ext.filter.UIExtensionFilter

public class IsNotDriveHomeFilter
extends org.exoplatform.webui.ext.filter.UIExtensionAbstractFilter

This filter compares current node path with the drive home path. If not equals, it's ok, filter returns TRUE.

Author:
Clement

Field Summary
 
Fields inherited from class org.exoplatform.webui.ext.filter.UIExtensionAbstractFilter
messageKey
 
Constructor Summary
IsNotDriveHomeFilter()
           
IsNotDriveHomeFilter(String messageKey)
           
 
Method Summary
 boolean accept(Map<String,Object> context)
           
 void onDeny(Map<String,Object> context)
           
 
Methods inherited from class org.exoplatform.webui.ext.filter.UIExtensionAbstractFilter
createUIPopupMessages, createUIPopupMessages, createUIPopupMessages, getType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IsNotDriveHomeFilter

public IsNotDriveHomeFilter()

IsNotDriveHomeFilter

public IsNotDriveHomeFilter(String messageKey)
Method Detail

accept

public boolean accept(Map<String,Object> context)
               throws Exception
Throws:
Exception

onDeny

public void onDeny(Map<String,Object> context)
            throws Exception
Throws:
Exception


Copyright © 2013 eXo Platform SAS. All Rights Reserved.