Class CmsCreatableListItem

java.lang.Object
com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Composite
org.opencms.gwt.client.ui.CmsListItem
org.opencms.ade.sitemap.client.ui.CmsCreatableListItem
All Implemented Interfaces:
com.google.gwt.event.logical.shared.HasAttachHandlers, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.ui.HasVisibility, com.google.gwt.user.client.ui.IsRenderable, com.google.gwt.user.client.ui.IsWidget, I_CmsDraggable, I_CmsListItem, I_CmsTruncable

public class CmsCreatableListItem extends CmsListItem
A list item widget class which also contains a resource type info bean, for use in creating new sitemap entries.

Since:
8.0.0
  • Constructor Details

    • CmsCreatableListItem

      public CmsCreatableListItem(CmsListItemWidget content, org.opencms.ade.sitemap.shared.CmsNewResourceInfo typeInfo, CmsCreatableListItem.NewEntryType newEntryType)
      Creates a new list item with a given resource type info bean.

      Parameters:
      content - the content for the list item widget
      typeInfo - the resource type info bean
      newEntryType - the type of the creatable sitemap entry type
  • Method Details

    • getCopyResourceId

      public org.opencms.util.CmsUUID getCopyResourceId()
      Returns the copy resource structure id.

      Returns:
      the copy resource structure id
    • getNewEntryType

      Returns the new sitemap entry type.

      Returns:
      the new sitemap entry type
    • getResourceTypeInfo

      public org.opencms.ade.sitemap.shared.CmsNewResourceInfo getResourceTypeInfo()
      Returns the resource type information bean.

      Returns:
      the resource type info bean
    • getTypeId

      public int getTypeId()
      Returns the resource type id.

      Returns:
      the resource type id
    • getTypeName

      public String getTypeName()
      Returns the resource type name.

      Returns:
      the resource type name