Class PreviewStatus

java.lang.Object
org.broadleafcommerce.common.persistence.PreviewStatus
All Implemented Interfaces:
Serializable, Previewable

@Embeddable public class PreviewStatus extends Object implements Serializable, Previewable
Author:
Jeff Fischer
See Also:
  • Field Details

    • isPreview

      protected Boolean isPreview
  • Constructor Details

    • PreviewStatus

      public PreviewStatus()
  • Method Details

    • getPreview

      public Boolean getPreview()
      Description copied from interface: Previewable
      Whether or not this entity is considered a preview entity for testing. You can utilize this field to drive unique behavior for preview entities in your own implementation code. Additionally, this field is utilized by the Enterprise version.
      Specified by:
      getPreview in interface Previewable
      Returns:
      whether or not this is a test entity
    • setPreview

      public void setPreview(Boolean preview)
      Description copied from interface: Previewable
      Whether or not this entity is considered a preview entity for testing. You can utilize this field to drive unique behavior for preview entities in your own implementation code. Additionally, this field is utilized by the Enterprise version.
      Specified by:
      setPreview in interface Previewable
      Parameters:
      preview - whether or not this is a test entity
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object