public class NavigationLinkViewModel extends Object
| Constructor and Description |
|---|
NavigationLinkViewModel(String defaultLanguageIso) |
| Modifier and Type | Method and Description |
|---|---|
void |
delete() |
boolean |
equals(Object obj) |
CategoryModel |
getCategory() |
NavigationColumnViewModel |
getColumn() |
protected String |
getCurrentLanguageIsoCode() |
CMSMenuItemType |
getMenuItemType() |
CMSLinkComponentModel |
getModel() |
String |
getName() |
Map<String,String> |
getNames() |
ContentPageModel |
getPage() |
ProductModel |
getProduct() |
Collection<AbstractRestrictionModel> |
getRestrictions() |
String |
getURL() |
int |
hashCode() |
boolean |
isDeleted() |
void |
setCategory(CategoryModel category) |
void |
setColumn(NavigationColumnViewModel column) |
void |
setMenuItemType(CMSMenuItemType menuItemType) |
void |
setModel(CMSLinkComponentModel linkModel) |
void |
setName(String lang,
String name) |
void |
setNames(Map<String,String> names) |
void |
setPage(ContentPageModel page) |
void |
setProduct(ProductModel product) |
void |
setRestrictions(Collection<AbstractRestrictionModel> restrictions) |
void |
setURL(String label) |
public NavigationLinkViewModel(String defaultLanguageIso)
public void setURL(String label)
public void setMenuItemType(CMSMenuItemType menuItemType)
public String getName()
protected String getCurrentLanguageIsoCode()
public String getURL()
public CMSMenuItemType getMenuItemType()
public ProductModel getProduct()
public void setProduct(ProductModel product)
public CategoryModel getCategory()
public void setCategory(CategoryModel category)
public ContentPageModel getPage()
public void setPage(ContentPageModel page)
public NavigationColumnViewModel getColumn()
public void setColumn(NavigationColumnViewModel column)
public boolean isDeleted()
public void delete()
public void setModel(CMSLinkComponentModel linkModel)
public CMSLinkComponentModel getModel()
public Collection<AbstractRestrictionModel> getRestrictions()
public void setRestrictions(Collection<AbstractRestrictionModel> restrictions)
Copyright © 2017 SAP SE. All Rights Reserved.