org.broadleafcommerce.common.persistence
Interface Previewable

All Known Implementing Classes:
PreviewStatus

public interface Previewable

Interface that exposes properties useful for determining if an entity is intended for preview only, as opposed to standard production entities

Author:
Jeff Fischer

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.
 

Method Detail

getPreview

Boolean getPreview()
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.

Returns:
whether or not this is a test entity

setPreview

void setPreview(Boolean preview)
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.

Parameters:
preview - whether or not this is a test entity


Copyright © 2013. All Rights Reserved.