diff --git a/portal-kernel/src/com/liferay/portal/kernel/model/Portlet.java b/portal-kernel/src/com/liferay/portal/kernel/model/Portlet.java index 0c7f3aa1760548..9b485b50a1c122 100644 --- a/portal-kernel/src/com/liferay/portal/kernel/model/Portlet.java +++ b/portal-kernel/src/com/liferay/portal/kernel/model/Portlet.java @@ -209,6 +209,13 @@ public void addSchedulerEntry( */ public java.util.Set getAutopropagatedParameters(); + /** + * Returns the category names of the portlet. + * + * @return the category names of the portlet + */ + public java.util.Set getCategoryNames(); + /** * Returns true if the portlet is found in a WAR file. * @@ -324,13 +331,6 @@ public void addSchedulerEntry( */ public String getDefaultPreferences(); - /** - * Returns the names of the category that display the portlet - * - * @return the names of the category that display the portlet - */ - public java.util.Set getDisplayCategories(); - /** * Returns the display name of the portlet. * @@ -1685,6 +1685,13 @@ public void setAssetRendererFactoryClasses( public void setAutopropagatedParameters( java.util.Set autopropagatedParameters); + /** + * Sets the category names of the portlet. + * + * @param categoryNames the category names of the portlet + */ + public void setCategoryNames(java.util.Set categoryNames); + /** * Sets the configuration action class of the portlet. * @@ -1754,14 +1761,6 @@ public void setCustomAttributesDisplayClasses( */ public void setDefaultPreferences(String defaultPreferences); - /** - * Sets the names of the category that display the portlet - * - * @param displayCategories the names of the category that display the - portlet - */ - public void setDisplayCategories(java.util.Set displayCategories); - /** * Sets the display name of the portlet. * diff --git a/portal-kernel/src/com/liferay/portal/kernel/model/PortletWrapper.java b/portal-kernel/src/com/liferay/portal/kernel/model/PortletWrapper.java index 7fe1783ed19fb3..e31e691f1f09f5 100644 --- a/portal-kernel/src/com/liferay/portal/kernel/model/PortletWrapper.java +++ b/portal-kernel/src/com/liferay/portal/kernel/model/PortletWrapper.java @@ -299,6 +299,16 @@ public java.util.Set getAutopropagatedParameters() { return model.getAutopropagatedParameters(); } + /** + * Returns the category names of the portlet. + * + * @return the category names of the portlet + */ + @Override + public java.util.Set getCategoryNames() { + return model.getCategoryNames(); + } + /** * Returns true if the portlet is found in a WAR file. * @@ -469,16 +479,6 @@ public String getDefaultPreferences() { return model.getDefaultPreferences(); } - /** - * Returns the names of the category that display the portlet - * - * @return the names of the category that display the portlet - */ - @Override - public java.util.Set getDisplayCategories() { - return model.getDisplayCategories(); - } - /** * Returns the display name of the portlet. * @@ -2458,6 +2458,16 @@ public void setAutopropagatedParameters( model.setAutopropagatedParameters(autopropagatedParameters); } + /** + * Sets the category names of the portlet. + * + * @param categoryNames the category names of the portlet + */ + @Override + public void setCategoryNames(java.util.Set categoryNames) { + model.setCategoryNames(categoryNames); + } + /** * Sets the company ID of this portlet. * @@ -2562,17 +2572,6 @@ public void setDefaultPreferences(String defaultPreferences) { model.setDefaultPreferences(defaultPreferences); } - /** - * Sets the names of the category that display the portlet - * - * @param displayCategories the names of the category that display the - portlet - */ - @Override - public void setDisplayCategories(java.util.Set displayCategories) { - model.setDisplayCategories(displayCategories); - } - /** * Sets the display name of the portlet. *