public class SyncItemsSearchResultAction extends SearchResultAction
SynchronizeCatalogVersionWizard
instance.FLEXIBLESEARCH_PARAMETERS, FLEXIBLESEARCH_QUERY, GENERIC_QUERY, ITEM_TYPE, SEARCH_CONTEXT, SELECTED_ITEMS, USE_SELECTED_ONLY| Constructor and Description |
|---|
SyncItemsSearchResultAction() |
| Modifier and Type | Method and Description |
|---|---|
protected Collection<Item> |
checkCatalogItems(Collection<Item> items)
Checks each item whether it actually is a catalog item and whether it owns a catalog version which is
synchronized.
|
CatalogVersion |
getCatalogVersion(CatalogManager catalogManager,
Item item)
Reads the owning catalog version of a catalog item.
|
protected List<Item> |
getItems(ActionEvent event) |
boolean |
isActive(ActionEvent actionEvent)
A sync item action is active for catalog item types only.
|
boolean |
isVisible(ActionEvent actionEvent)
This action is visible for catalog item types only!
|
protected void |
openWizard(Collection items,
ActionEvent event) |
ActionResult |
perform(ActionEvent event)
This action requires Map of parameters in ActionEvent data.
|
createDialogChip, getAllItems, getConfirmationMessage, getFlexibleSearchParameters, getFlexibleSearchQuery, getGenericQuery, getHMCContext, getItemType, getNodeParams, getSelectedItems, getUseSelectedOnly, hasDialogChip, initialize, needConfirmation, searchpublic boolean isActive(ActionEvent actionEvent)
isActive in interface HMCStatefulActionisActive in class SearchResultActionpublic boolean isVisible(ActionEvent actionEvent)
isVisible in interface HMCStatefulActionisVisible in class SearchResultActionpublic ActionResult perform(ActionEvent event) throws JaloBusinessException
SearchResultActionperform in interface HMCActionperform in class SearchResultActionevent - ActionEvent contains input data for the actionJaloBusinessExceptionSearchResultAction.ITEM_TYPE,
SearchResultAction.FLEXIBLESEARCH_QUERY,
SearchResultAction.FLEXIBLESEARCH_PARAMETERS,
SearchResultAction.SELECTED_ITEMS,
SearchResultAction.USE_SELECTED_ONLYprotected List<Item> getItems(ActionEvent event)
protected void openWizard(Collection items, ActionEvent event) throws JaloSecurityException
JaloSecurityExceptionprotected Collection<Item> checkCatalogItems(Collection<Item> items)
items - the items to checkpublic CatalogVersion getCatalogVersion(CatalogManager catalogManager, Item item)
item - the item to get the owning catalog version fromIllegalArgumentException - if the item is no catalog itemCopyright © 2017 SAP SE. All Rights Reserved.