Class AbstractJobListViewAction
- java.lang.Object
-
- de.hybris.platform.cockpit.components.listview.AbstractListViewAction
-
- de.hybris.platform.importcockpit.components.listview.impl.AbstractJobListViewAction
-
- All Implemented Interfaces:
AdvancedListViewAction,ListViewAction,JobListViewAction
- Direct Known Subclasses:
DefaultDeleteJobAction,DefaultJobMappingAction,DefaultJobStartStopAction
public abstract class AbstractJobListViewAction extends AbstractListViewAction implements JobListViewAction
User: tolik Date: Nov 20, 2009 Time: 5:54:54 PM
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface de.hybris.platform.cockpit.components.listview.ListViewAction
ListViewAction.Context
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.cockpit.components.listview.AbstractListViewAction
alwaysEnabled, IN_EDITOR_AREA_SECTION_PANEL
-
Fields inherited from interface de.hybris.platform.cockpit.components.listview.ListViewAction
AFFECTED_ITEMS_KEY
-
-
Constructor Summary
Constructors Constructor Description AbstractJobListViewAction()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddoCreateContext(ListViewAction.Context context)org.zkoss.zul.MenupopupgetContextPopup(ListViewAction.Context context)Gets the context popup of the action button.protected ImportCockpitCronJobServicegetImportCockpitCronJobService()protected static ImportCockpitCronJobModelgetModel(ListViewAction.Context context)org.zkoss.zul.MenupopupgetPopup(ListViewAction.Context context)Gets the popup of the action button.booleanisRunning(ListViewAction.Context context)voidsetImportCockpitCronJobService(ImportCockpitCronJobService cronJobService)-
Methods inherited from class de.hybris.platform.cockpit.components.listview.AbstractListViewAction
createContext, createContext, getItem, getMultiSelectEventListener, getMultiSelectImageURI, getMultiSelectPopup, getSelectedItems, getStatusCode, isAlwaysEnabled, sendEvent, sendUpdateItemsEvent, setAlwaysEnabled
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.hybris.platform.importcockpit.components.listview.JobListViewAction
isVisible
-
Methods inherited from interface de.hybris.platform.cockpit.components.listview.ListViewAction
getEventListener, getImageURI, getTooltip
-
-
-
-
Method Detail
-
getImportCockpitCronJobService
protected ImportCockpitCronJobService getImportCockpitCronJobService()
-
setImportCockpitCronJobService
public void setImportCockpitCronJobService(ImportCockpitCronJobService cronJobService)
-
isRunning
public boolean isRunning(ListViewAction.Context context)
- Specified by:
isRunningin interfaceJobListViewAction- Parameters:
context- see de.hybris.platform.cockpit.components.listview.ListViewAction.Context- Returns:
- true if the job is running
- See Also:
ListViewAction.Context
-
doCreateContext
protected void doCreateContext(ListViewAction.Context context)
- Specified by:
doCreateContextin classAbstractListViewAction
-
getModel
protected static ImportCockpitCronJobModel getModel(ListViewAction.Context context)
-
getContextPopup
public org.zkoss.zul.Menupopup getContextPopup(ListViewAction.Context context)
Description copied from interface:ListViewActionGets the context popup of the action button.- Specified by:
getContextPopupin interfaceListViewAction- Returns:
- the popup which should appear when the user right-clicks the action button or
nullif no popup is available
-
getPopup
public org.zkoss.zul.Menupopup getPopup(ListViewAction.Context context)
Description copied from interface:ListViewActionGets the popup of the action button.- Specified by:
getPopupin interfaceListViewAction- Returns:
- the popup which should appear when the user clicks the action button or
nullif no popup is available
-
-