CentraSite Documentation : CentraSite Developer's Guide : Pluggable Architecture : Customizing Content Pages : Extension Points : Bulk Command for Items
Bulk Command for Items
Usage
Add a command to a menu in which bulk actions are permitted.
Attributes
*point="com.centrasite.control.itemBulkCommand"
*id (default: name of implementing class)
*class
Interface
ExtensionCommand
*boolean appliesTo (Item)
*String getName()
*String getImageURL()
*int getCategory()
(used for grouping of commands)
*abstract void execute(ActionContext actionContext)
Abstract base class
AbstractExtensionCommand
Processing
*When a list of commands for a menu item is retrieved (for example, for context menu or toolbar), the following steps are performed for each known extension:
*create an instance of class and invoke appliesTo(Item).
*If true is returned, the command is added to the list.
Provided by
CentraSite Control
Example
<extension point="com.centrasite.control.itemBulkCommand"
id="test"
class="com.centrasite.control.extpt.junit.
DisplayRegObjKeyCommand">
</extension>
Copyright © 2005-2015 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback