Enum Class TrackableBehavior

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

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 class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static TrackableBehavior valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null