PortletCategoryView Interface

com.bea.netuix.application.view
PortletCategoryView Interface

public interface PortletCategoryView

    extends CategoryView

"Views" are deep copy immutable objects. Unlike "Definitions" and "Instances" Views cannot be modified by the developer. A Instance or a Definition however can always be obtained from the view. The persistence APIs provides course grain and fine grain getters but only fine grain setters. If you are interested in an object and all its children then retrieve the View, if you are only interested in the immediate object and don't care about its children then retrieve the Definition.

View class for a portlet category.

Related Topics

View


All Superinterfaces
CategoryView, Serializable, View

Method Summary

public PortletCategoryDefinitionId
getId()
Returns the PortletCategoryDefinitionId associated with this view.
public PortletCategoryDefinitionId
getParentId()
Returns the PortletCategoryDefinitionId associated with this category's parent.
public PortletCategoryView[]
getPortletCategoryViews()
Returns an array of PortletCategoryViews contained in this PortletCategoryView.
public PortletView[]
getPortletViews()
Returns an array of PortletViews contained in this PortletCategoryView.
public String
getWebAppName()
Return the name of the webapp that this portlet category is associated with.
 
Methods from interface com.bea.netuix.application.view.CategoryView
getLocalizationResourceView
 
Methods from interface com.bea.netuix.application.view.View
getDescription, getTitle
   

Method Detail

getId() Method

public PortletCategoryDefinitionId getId()
Returns the PortletCategoryDefinitionId associated with this view.

Returns

PortletCategoryDefinitionId

getParentId() Method

public PortletCategoryDefinitionId getParentId()
Returns the PortletCategoryDefinitionId associated with this category's parent.


getPortletCategoryViews() Method

public PortletCategoryView[] getPortletCategoryViews()
Returns an array of PortletCategoryViews contained in this PortletCategoryView. Returns an empty array if there are no portlet categories.

Returns

an array of PortletCategoryViews

getPortletViews() Method

public PortletView[] getPortletViews()
Returns an array of PortletViews contained in this PortletCategoryView. Returns an empty array if there are no portlets.

Returns

an array of PortletViews

getWebAppName() Method

public String getWebAppName()
Return the name of the webapp that this portlet category is associated with. All resources in the portal framework database are scoped to the webapp.

Returns

a non null webapp name.