Class PreviewStatus
java.lang.Object
org.broadleafcommerce.common.persistence.PreviewStatus
- All Implemented Interfaces:
Serializable
,Previewable
- Author:
- Jeff Fischer
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Whether or not this entity is considered a preview entity for testing.int
hashCode()
void
setPreview
(Boolean preview) Whether or not this entity is considered a preview entity for testing.
-
Field Details
-
isPreview
-
-
Constructor Details
-
PreviewStatus
public PreviewStatus()
-
-
Method Details
-
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 interfacePreviewable
- Returns:
- whether or not this is a test entity
-
setPreview
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 interfacePreviewable
- Parameters:
preview
- whether or not this is a test entity
-
equals
-
hashCode
public int hashCode()
-