Class CmsPostUploadDialogPanelBean

java.lang.Object
org.opencms.ade.postupload.shared.CmsPostUploadDialogPanelBean
All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable

public class CmsPostUploadDialogPanelBean extends Object implements com.google.gwt.user.client.rpc.IsSerializable
A bean representing the state of a single resource to be edited in the upload property dialog.

  • Constructor Details

  • Method Details

    • getHighResPreviewLink

      Gets the high-res preview link.
      Returns:
      the high-res preview link
    • getInfoBean

      Gets the info bean for the resource.

      Returns:
      the info bean for the resource
    • getPermalink

      public String getPermalink()
      Gets the full size preview permalink.
      Returns:
      the full size preview link
    • getPreviewInfo1

      Gets the first preview info text to display.
      Returns:
      a preview info text
    • getPreviewInfo2

      Gets the second preview info text to display.
      Returns:
      a preview info text
    • getPreviewLink

      Gets the image preview URL.
      Returns:
      the image preview URL, if it exists, and null otherwise
    • getProperties

      Gets the properties for the resource.

      Returns:
      the map of properties by property name
    • getPropertyDefinitions

      Gets the property definitions for the type of the resource.

      Returns:
      the map of property definitions by property names
    • getStructureId

      Gets the structure id of the resource.

      Returns:
      the user id
    • getWarning

      public String getWarning()
      Gets the warning to display.
      Returns:
      the warning to display
    • setHighResPreviewLink

      public void setHighResPreviewLink(String highResPreviewLink)
      Sets the high-res preview link.
      Parameters:
      highResPreviewLink - the high-res preview link
    • setInfoBean

      public void setInfoBean(CmsListInfoBean info)
      Sets the list info bean for the resource.

      Parameters:
      info - the list info bean for the resource
    • setPermalink

      public void setPermalink(String permalink)
      Sets the full-size preview permalink.
      Parameters:
      permalink - the full-size preview permalink
    • setPreviewInfo1

      public void setPreviewInfo1(String text)
      Sets the first preview info text.
      Parameters:
      text - the preview info text
    • setPreviewInfo2

      public void setPreviewInfo2(String text)
      Sets the second preview info text.
      Parameters:
      text - the preview info text
    • setPreviewLink

      public void setPreviewLink(String previewLink)
      Sets the image preview URL.
      Parameters:
      previewLink - the image preview URL
    • setProperties

      public void setProperties(Map<String,CmsClientProperty> properties)
      Sets the properties for the resource.

      Parameters:
      properties - the properties for the resource
    • setPropertyDefinitions

      public void setPropertyDefinitions(Map<String,CmsXmlContentProperty> propertyDefinitions)
      Sets the property definitions for the type of the resource.

      Parameters:
      propertyDefinitions - the map of property definitions
    • setStructureId

      public void setStructureId(CmsUUID structureId)
      Sets the structure id of the resource.

      Parameters:
      structureId - the structure id of the resource
    • setWarning

      public void setWarning(String warning)
      Sets the warning to display.
      Parameters:
      warning - the warning to display