public class SimpleComponentAdminMenuActionPopulator extends java.lang.Object implements Populator<ComponentActionMenuRequestData,ComponentAdminMenuActionData>
| Constructor and Description |
|---|
SimpleComponentAdminMenuActionPopulator() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAddOn() |
ComponentAdminActionEnabledStrategy |
getAdminActionEnabledStrategy() |
EnumerationService |
getEnumerationService() |
CMSComponentAdminAction |
getType() |
protected java.lang.Boolean |
isEnabled(ComponentActionMenuRequestData source,
ComponentAdminMenuActionData target) |
protected java.lang.Boolean |
isVisible(ComponentActionMenuRequestData source,
boolean enabled) |
void |
populate(ComponentActionMenuRequestData source,
ComponentAdminMenuActionData target)
Populate the target instance with values from the source instance.
|
void |
setAddOn(java.lang.String addon) |
void |
setAdminActionEnabledStrategy(ComponentAdminActionEnabledStrategy adminActionEnabledStrategy) |
void |
setEnumerationService(EnumerationService enumerationService) |
void |
setType(CMSComponentAdminAction type) |
public SimpleComponentAdminMenuActionPopulator()
public void populate(ComponentActionMenuRequestData source, ComponentAdminMenuActionData target) throws ConversionException
Populatorpopulate in interface Populator<ComponentActionMenuRequestData,ComponentAdminMenuActionData>source - the source objecttarget - the target to fillConversionException - if an error occurspublic CMSComponentAdminAction getType()
public void setType(CMSComponentAdminAction type)
protected java.lang.Boolean isEnabled(ComponentActionMenuRequestData source, ComponentAdminMenuActionData target)
source - target - protected java.lang.Boolean isVisible(ComponentActionMenuRequestData source, boolean enabled)
public EnumerationService getEnumerationService()
public void setEnumerationService(EnumerationService enumerationService)
public ComponentAdminActionEnabledStrategy getAdminActionEnabledStrategy()
public void setAdminActionEnabledStrategy(ComponentAdminActionEnabledStrategy adminActionEnabledStrategy)
public java.lang.String getAddOn()
public void setAddOn(java.lang.String addon)
Copyright © 2018 SAP SE. All Rights Reserved.