Interface Previewable
- All Known Implementing Classes:
CustomerImpl
,OrderImpl
,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
Modifier and TypeMethodDescriptionWhether 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 Details
-
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
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
-