@Deprecated public abstract class AbstractSyncDialog extends Window
| Modifier and Type | Field and Description |
|---|---|
protected static String |
AFTER_SYNC_EVENT
Deprecated.
|
protected static String |
NAME_ATTRIBUTE
Deprecated.
|
protected Transformer |
syncRuleTransformer
Deprecated.
|
| Constructor and Description |
|---|
AbstractSyncDialog(CatalogVersionModel sourceCatalogVersion,
List<SyncItemJobModel>[] matrixRules)
Deprecated.
|
AbstractSyncDialog(Map<String,String>[] rules)
Deprecated.
|
AbstractSyncDialog(TypedObject sourceItem,
List<SyncItemJobModel>[] matrixRules)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected Listbox |
createAvailableRuleList(boolean twoTabs)
Deprecated.
Creates a list that contains accessible rules
|
protected Listbox |
createForbiddenRuleList(Vbox parent)
Deprecated.
Create a list that contains forbidden rules
|
abstract List<SyncRule> |
getAccessibleRulesListModel()
Deprecated.
Returns all accessible synchronization rules
|
Listbox |
getAvailableCatalogVersions()
Deprecated.
|
abstract List<SyncRule> |
getForbidenRulesListModel()
Deprecated.
Returns all forbidden rules - that rules which needs initial synchronization
|
CatalogService |
getProductCockpitCatalogService()
Deprecated.
|
CatalogVersionModel |
getSourceCatalogVersion()
Deprecated.
|
SynchronizationService |
getSynchronizationService()
Deprecated.
|
Map<String,String>[] |
getSyncRules()
Deprecated.
|
List<SyncItemJobModel>[] |
getTargetCatalogVersions()
Deprecated.
|
abstract void |
itemListRenderer(Listitem item,
Object data)
Deprecated.
Responsible for rendering accessible rules
|
abstract void |
performAction()
Deprecated.
Responsible for start synchronization logic for particular synchronization dialog
|
abstract void |
performReturn()
Deprecated.
Responsible for cancel - done action from synchronization dialog
|
protected Hbox |
prepareCatalogVersionLabels(CatalogVersionModel catalogVersion,
SyncRule rule,
Listitem item)
Deprecated.
Get appropriate catalog version name and wrap it
|
void |
updateBackground(List<String> chosenRules)
Deprecated.
Responsible for update background view (either List View or Grid View) in order to keep cohesion
|
protected static final String AFTER_SYNC_EVENT
protected static final String NAME_ATTRIBUTE
protected final Transformer syncRuleTransformer
public AbstractSyncDialog(TypedObject sourceItem, List<SyncItemJobModel>[] matrixRules)
sourceItem - matrixRules - public AbstractSyncDialog(CatalogVersionModel sourceCatalogVersion, List<SyncItemJobModel>[] matrixRules)
sourceCatalogVersion - matrixRules - public CatalogVersionModel getSourceCatalogVersion()
public List<SyncItemJobModel>[] getTargetCatalogVersions()
public Listbox getAvailableCatalogVersions()
public Map<String,String>[] getSyncRules()
protected Hbox prepareCatalogVersionLabels(CatalogVersionModel catalogVersion, SyncRule rule, Listitem item)
catalogVersion - - given catalog versionrule - item - protected Listbox createAvailableRuleList(boolean twoTabs)
twoTabs - - list mode (true - multiple selection otherwise single selection)protected Listbox createForbiddenRuleList(Vbox parent)
public SynchronizationService getSynchronizationService()
public CatalogService getProductCockpitCatalogService()
public abstract void performAction()
public void updateBackground(List<String> chosenRules)
chosenRules - public abstract void performReturn()
public abstract List<SyncRule> getAccessibleRulesListModel()
public abstract List<SyncRule> getForbidenRulesListModel()
public abstract void itemListRenderer(Listitem item,
Object data)
item - - particular item listdata - Copyright © 2017 SAP SE. All Rights Reserved.