Enum TrackableBehavior

java.lang.Object
java.lang.Enum<TrackableBehavior>
com.broadleafcommerce.data.tracking.core.TrackableBehavior
All Implemented Interfaces:
Serializable, Comparable<TrackableBehavior>

public enum TrackableBehavior extends Enum<TrackableBehavior>
Describes the persistence behavior for an entity annotated with TrackableExtension.
  • SANDBOX - Will persist user changes to a sandbox and participate in promotion and deploy workflows
  • CATALOG - Will persist user changes to a catalog and discriminate reads based on the context of the request. CATALOG discriminated entities also participate in propagation where field-level changes trickle down to subordinate catalogs.
  • APPLICATION - Will persist user changes to an application and discriminate reads based on the context of the request.
  • TENANT - Will persist user changes to a tenant and discriminate reads based on the context of the request.
  • CUSTOMER_CONTEXT - Discriminate reads based on the customer context ID of the request.
Author:
Jeff Fischer
  • Enum Constant Details

  • Method Details

    • values

      public static TrackableBehavior[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static TrackableBehavior valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null