Enum SolrNarrowFields
- java.lang.Object
-
- java.lang.Enum<SolrNarrowFields>
-
- com.broadleafcommerce.search.provider.solr.util.SolrNarrowFields
-
- All Implemented Interfaces:
Serializable
,Comparable<SolrNarrowFields>
public enum SolrNarrowFields extends Enum<SolrNarrowFields>
Solr fields which are used to support trackable narrowing for search context.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTIVE_END_DATE
ACTIVE_START_DATE
APPLICATION
CATALOG
CATALOG_OVERRIDES
CONTEXT_ID
CUSTOMER_CONTEXT
MARKETPLACE_APPLICATIONS
SANDBOX
SANDBOX_OVERRIDES
SANDBOX_OWNER
TENANT
TRACKING_LEVEL
VENDOR
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
field()
Get the typed name of the field for Solr.static SolrNarrowFields
valueOf(String name)
Returns the enum constant of this type with the specified name.static SolrNarrowFields[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CONTEXT_ID
public static final SolrNarrowFields CONTEXT_ID
-
TENANT
public static final SolrNarrowFields TENANT
-
APPLICATION
public static final SolrNarrowFields APPLICATION
-
CATALOG
public static final SolrNarrowFields CATALOG
-
VENDOR
public static final SolrNarrowFields VENDOR
-
TRACKING_LEVEL
public static final SolrNarrowFields TRACKING_LEVEL
-
SANDBOX
public static final SolrNarrowFields SANDBOX
-
SANDBOX_OWNER
public static final SolrNarrowFields SANDBOX_OWNER
-
CATALOG_OVERRIDES
public static final SolrNarrowFields CATALOG_OVERRIDES
-
SANDBOX_OVERRIDES
public static final SolrNarrowFields SANDBOX_OVERRIDES
-
MARKETPLACE_APPLICATIONS
public static final SolrNarrowFields MARKETPLACE_APPLICATIONS
-
CUSTOMER_CONTEXT
public static final SolrNarrowFields CUSTOMER_CONTEXT
-
ACTIVE_START_DATE
public static final SolrNarrowFields ACTIVE_START_DATE
-
ACTIVE_END_DATE
public static final SolrNarrowFields ACTIVE_END_DATE
-
-
Method Detail
-
values
public static SolrNarrowFields[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SolrNarrowFields c : SolrNarrowFields.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SolrNarrowFields 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 nameNullPointerException
- if the argument is null
-
field
public String field()
Get the typed name of the field for Solr.- Returns:
- The typed name of the field for Solr
-
-