com.anwrt.anycontent.plugins.web.menu
Class CheckRightOnPageStaticEntry

java.lang.Object
  extended bycom.anwrt.anycontent.extensions.menu.Entry
      extended bycom.anwrt.anycontent.extensions.menu.StaticEntry
          extended bycom.anwrt.anycontent.plugins.web.menu.CheckRightOnPageStaticEntry

public class CheckRightOnPageStaticEntry
extends StaticEntry

This static entry add a configuration element "page-right" that checks the rights on the current page


Nested Class Summary
 
Nested classes inherited from class com.anwrt.anycontent.extensions.menu.Entry
Entry.Item, Entry.Menu, Entry.Separator
 
Field Summary
 
Fields inherited from class com.anwrt.anycontent.extensions.menu.StaticEntry
_item, _itemParams
 
Fields inherited from class com.anwrt.anycontent.extensions.menu.Entry
_logger, PARAMETER_AREANAME, PARAMETER_WORKFLOW
 
Constructor Summary
CheckRightOnPageStaticEntry()
           
 
Method Summary
 void configure(Configuration configuration)
          At initialization time, this method is called to allow the class to configure
 boolean isEmpty(java.lang.String location, java.util.Map objectModel, ServiceManager manager, java.util.Map parameters)
          Determines if the dynamic entry will return nothing.
 
Methods inherited from class com.anwrt.anycontent.extensions.menu.StaticEntry
getEntries, initialize, isStaticEntry, setLink, setLink
 
Methods inherited from class com.anwrt.anycontent.extensions.menu.Entry
_toSAX, getPluginId, getPluginName, setInformation, toSAX
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CheckRightOnPageStaticEntry

public CheckRightOnPageStaticEntry()
Method Detail

configure

public void configure(Configuration configuration)
               throws ConfigurationException
Description copied from class: Entry
At initialization time, this method is called to allow the class to configure

Overrides:
configure in class StaticEntry
Throws:
ConfigurationException

isEmpty

public boolean isEmpty(java.lang.String location,
                       java.util.Map objectModel,
                       ServiceManager manager,
                       java.util.Map parameters)
Description copied from class: Entry
Determines if the dynamic entry will return nothing.
This method determines if getEntries will be called;
Carefull, return false means an entry will exist! if not separators may appears at unwanted places.

Overrides:
isEmpty in class StaticEntry


Copyright © 2006 Anyware Technologies. All Rights Reserved.