Class CmsNewResourceInfo

All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable, I_CmsHasIconClasses, I_CmsHasTitle, I_CmsHasType

public class CmsNewResourceInfo extends CmsListInfoBean
A bean representing a resource type for use in the detail page creation menu.

Since:
8.0.0
  • Field Details

  • Constructor Details

    • CmsNewResourceInfo

      public CmsNewResourceInfo(int id, String typeName, String title, String description, CmsUUID copyResourceId, boolean editable, String subTitle)
      Instantiates a new resource type information bean.
      Parameters:
      id - the id
      typeName - the type name
      title - the title
      description - the description
      copyResourceId - the structure id of the copy resource
      editable - true if the model resource is editable
      subTitle - the subtitle to display
    • CmsNewResourceInfo

      protected CmsNewResourceInfo()
      Empty default constructor for serialization.

  • Method Details

    • getCopyResourceId

      Returns the structure id of the copy resource.

      Returns:
      the structure id of the copy resource
    • getCreateParameter

      Gets the additional parameter for creating new resources.

      Returns:
      the additional parameter for creating new resources
    • getDate

      public String getDate()
      Returns the date to display.

      Returns:
      the date to display
    • getDescription

      Returns the description.

      Returns:
      the description
    • getId

      public int getId()
      Gets the id.
      Returns:
      the id
    • getNavPos

      public Float getNavPos()
      Gets the navigation position (used for ordering).

      Returns:
      the navigation position
    • getVfsPath

      public String getVfsPath()
      Gets the VFS path.

      Returns:
      the VFS path
    • isDefault

      public boolean isDefault()
      Returns the default flag.

      Returns:
      the default flag
    • isEditable

      public boolean isEditable()
      Returns true if the model resource is editable.

      Returns:
      true if the model resource is editable
    • isFunction

      public boolean isFunction()
      Returns true if this is a resource info bean for a function page.

      Returns:
      true if this is a resource info bean for a function page
    • setCreateParameter

      public void setCreateParameter(String createParameter)
      Sets the create parameter used for new pages.

      Parameters:
      createParameter - the create parameter used for new pages
    • setDate

      public void setDate(String date)
      Sets the modification date string.

      Parameters:
      date - the modification date string
    • setDefault

      public void setDefault(boolean isDefault)
      Sets the default flag.

      Parameters:
      isDefault - the default flag to set
    • setIsFunction

      public void setIsFunction(boolean isFunction)
      Sets the "function page" flag.

      Parameters:
      isFunction - the new value for the function page flag
    • setNavPos

      public void setNavPos(Float navPos)
      Sets the navigation position.

      Parameters:
      navPos - the navigation position
    • setVfsPath

      public void setVfsPath(String vfsPath)
      Sets the VFS path.

      Parameters:
      vfsPath - the VFS path