com.anwrt.anycontent.plugins.core.menu
Class CheckRightOnContentStaticEntry

java.lang.Object
  extended bycom.anwrt.anycontent.extensions.menu.Entry
      extended bycom.anwrt.anycontent.extensions.menu.StaticEntry
          extended bycom.anwrt.anycontent.plugins.core.menu.CheckRightOnContentStaticEntry

public class CheckRightOnContentStaticEntry
extends StaticEntry

This static entry check the right on current content, instead of on contributor space


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
CheckRightOnContentStaticEntry()
           
 
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

CheckRightOnContentStaticEntry

public CheckRightOnContentStaticEntry()
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.