org.broadleafcommerce.common.persistence
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:
- Serialized Form
|
Method Summary |
Boolean |
getPreview()
Whether or not this entity is considered a preview entity for testing. |
void |
setPreview(Boolean preview)
Whether or not this entity is considered a preview entity for testing. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
isPreview
protected Boolean isPreview
PreviewStatus
public PreviewStatus()
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
Copyright © 2013. All Rights Reserved.