ru.onego.industrial.catalog.util
Interface CatalogAction


public interface CatalogAction

Specifies action which can be performed on the whole catalog.

Version:
1.0
Author:
Lev Levin

Method Summary
 java.lang.String getName()
          Returns name of this action.
 Catalog process(Catalog catalog)
          Method should perform some action on the whole catalog, e.g. deleting some data.
 

Method Detail

getName

java.lang.String getName()
Returns name of this action. Name is shown in the Info pane of the interface dialog.

Returns:
Name of the action

process

Catalog process(Catalog catalog)
                throws UtilException
Method should perform some action on the whole catalog, e.g. deleting some data.

Parameters:
catalog - Catalog to be treated
Returns:
Treated catalog
Throws:
UtilException - Thrown if any error occur while working with catalog