Interface SandboxTrackable
- All Superinterfaces:
com.broadleafcommerce.data.tracking.core.ContextStateAware
public interface SandboxTrackable
extends com.broadleafcommerce.data.tracking.core.ContextStateAware
Interface for objects which are sandbox trackable.
-
Method Summary
Modifier and TypeMethodDescriptionGet any sandbox contexts where this trackable has been overridden.Get the owner of this object in the sandbox context.void
setSandboxOverrides
(Set<String> sandboxOverrides) Set any sandbox contexts where this trackable has been overridden.Methods inherited from interface com.broadleafcommerce.data.tracking.core.ContextStateAware
getContextState, setContextState
-
Method Details
-
getSandboxOwner
Get the owner of this object in the sandbox context.- Returns:
- The owner of this sandbox object, or null if not in a user sandbox context
-
getSandboxOverrides
Get any sandbox contexts where this trackable has been overridden.- Returns:
- Sandbox contexts where this trackable has been overridden
-
setSandboxOverrides
Set any sandbox contexts where this trackable has been overridden.- Parameters:
sandboxOverrides
- Sandbox contexts where this trackable has been overridden
-