public abstract class GeneratedSolrFacetReconfiguration extends GenericItem
SolrFacetReconfiguration.GenericItem.GenericItemImplLocalizableItem.LocalizableItemImplExtensibleItem.ExtensibleItemImplItem.AttributeFilter, Item.AttributeMode, Item.CachedGetter, Item.CachedSetter, Item.ItemAttributeMap, Item.ItemConstraint, Item.ItemImpl, Item.JaloCachedComputationException| Modifier and Type | Field and Description |
|---|---|
static String |
CUSTOMFACETSORTPROVIDER
Qualifier of the
SolrFacetReconfiguration.customFacetSortProvider attribute |
protected static Map<String,Item.AttributeMode> |
DEFAULT_INITIAL_ATTRIBUTES |
static String |
FACET
Qualifier of the
SolrFacetReconfiguration.facet attribute |
protected static BidirectionalOneToManyHandler<GeneratedSolrFacetReconfiguration> |
FACETHANDLER
BidirectionalOneToManyHandler for handling 1:n FACET's relation attributes from 'one' side. |
static String |
FACETPOS
Qualifier of the
SolrFacetReconfiguration.facetPOS attribute |
static String |
FACETTYPE
Qualifier of the
SolrFacetReconfiguration.facetType attribute |
static String |
PRIORITY
Qualifier of the
SolrFacetReconfiguration.priority attribute |
protected static String |
SOLRFACETRECONFIGURATION2SOLRSEARCHPROFILE_MARKMODIFIED
Relation disable markmodifed parameter constants for SolrFacetReconfiguration2SolrSearchProfile from ((commercesearch))
|
protected static String |
SOLRFACETRECONFIGURATION2SOLRSEARCHPROFILE_SRC_ORDERED
Relation ordering override parameter constants for SolrFacetReconfiguration2SolrSearchProfile from ((commercesearch))
|
protected static String |
SOLRFACETRECONFIGURATION2SOLRSEARCHPROFILE_TGT_ORDERED |
static String |
SOLRSEARCHPROFILES
Qualifier of the
SolrFacetReconfiguration.solrSearchProfiles attribute |
static String |
VISIBLE
Qualifier of the
SolrFacetReconfiguration.visible attribute |
LANGUAGE_FALLBACK_ENABLED_CREATION_TIME_INTERNAL, _MODIFIED_TIME_INTERNAL, accessorLog, CREATION_TIME, DISABLE_ATTRIBUTE_CHECK, DISABLE_ITEMCHECK_BEFORE_REMOVABLE, EVEN, FEATURE_ACCESSMAP_QUALIFIER, INITIAL_CREATION_FLAG, isJaloOnly, MODIFIED_TIME, NEGATIVE, NOT_FOUND, OWNER, PK, POSITIVE, SAVE_FROM_SERVICE_LAYER, staticTransientObjects, TYPEimpl, tenant| Constructor and Description |
|---|
GeneratedSolrFacetReconfiguration() |
| Modifier and Type | Method and Description |
|---|---|
void |
addToSolrSearchProfiles(AbstractSolrSearchProfile value)
Generated method - Adds
value to solrSearchProfiles. |
void |
addToSolrSearchProfiles(SessionContext ctx,
AbstractSolrSearchProfile value)
Generated method - Adds
value to solrSearchProfiles. |
protected Item |
createItem(SessionContext ctx,
ComposedType type,
Item.ItemAttributeMap allAttributes)
Has to be implemented for each concrete subtype of item.
|
String |
getCustomFacetSortProvider()
Generated method - Getter of the
SolrFacetReconfiguration.customFacetSortProvider attribute. |
String |
getCustomFacetSortProvider(SessionContext ctx)
Generated method - Getter of the
SolrFacetReconfiguration.customFacetSortProvider attribute. |
protected Map<String,Item.AttributeMode> |
getDefaultAttributeModes() |
SolrIndexedProperty |
getFacet()
Generated method - Getter of the
SolrFacetReconfiguration.facet attribute. |
SolrIndexedProperty |
getFacet(SessionContext ctx)
Generated method - Getter of the
SolrFacetReconfiguration.facet attribute. |
EnumerationValue |
getFacetType()
Generated method - Getter of the
SolrFacetReconfiguration.facetType attribute. |
EnumerationValue |
getFacetType(SessionContext ctx)
Generated method - Getter of the
SolrFacetReconfiguration.facetType attribute. |
Integer |
getPriority()
Generated method - Getter of the
SolrFacetReconfiguration.priority attribute. |
Integer |
getPriority(SessionContext ctx)
Generated method - Getter of the
SolrFacetReconfiguration.priority attribute. |
int |
getPriorityAsPrimitive()
Generated method - Getter of the
SolrFacetReconfiguration.priority attribute. |
int |
getPriorityAsPrimitive(SessionContext ctx)
Generated method - Getter of the
SolrFacetReconfiguration.priority attribute. |
Collection<AbstractSolrSearchProfile> |
getSolrSearchProfiles()
Generated method - Getter of the
SolrFacetReconfiguration.solrSearchProfiles attribute. |
Collection<AbstractSolrSearchProfile> |
getSolrSearchProfiles(SessionContext ctx)
Generated method - Getter of the
SolrFacetReconfiguration.solrSearchProfiles attribute. |
long |
getSolrSearchProfilesCount() |
long |
getSolrSearchProfilesCount(SessionContext ctx) |
Boolean |
isVisible()
Generated method - Getter of the
SolrFacetReconfiguration.visible attribute. |
Boolean |
isVisible(SessionContext ctx)
Generated method - Getter of the
SolrFacetReconfiguration.visible attribute. |
boolean |
isVisibleAsPrimitive()
Generated method - Getter of the
SolrFacetReconfiguration.visible attribute. |
boolean |
isVisibleAsPrimitive(SessionContext ctx)
Generated method - Getter of the
SolrFacetReconfiguration.visible attribute. |
void |
removeFromSolrSearchProfiles(AbstractSolrSearchProfile value)
Generated method - Removes
value from solrSearchProfiles. |
void |
removeFromSolrSearchProfiles(SessionContext ctx,
AbstractSolrSearchProfile value)
Generated method - Removes
value from solrSearchProfiles. |
void |
setCustomFacetSortProvider(SessionContext ctx,
String value)
Generated method - Setter of the
SolrFacetReconfiguration.customFacetSortProvider attribute. |
void |
setCustomFacetSortProvider(String value)
Generated method - Setter of the
SolrFacetReconfiguration.customFacetSortProvider attribute. |
void |
setFacet(SessionContext ctx,
SolrIndexedProperty value)
Generated method - Setter of the
SolrFacetReconfiguration.facet attribute. |
void |
setFacet(SolrIndexedProperty value)
Generated method - Setter of the
SolrFacetReconfiguration.facet attribute. |
void |
setFacetType(EnumerationValue value)
Generated method - Setter of the
SolrFacetReconfiguration.facetType attribute. |
void |
setFacetType(SessionContext ctx,
EnumerationValue value)
Generated method - Setter of the
SolrFacetReconfiguration.facetType attribute. |
void |
setPriority(int value)
Generated method - Setter of the
SolrFacetReconfiguration.priority attribute. |
void |
setPriority(Integer value)
Generated method - Setter of the
SolrFacetReconfiguration.priority attribute. |
void |
setPriority(SessionContext ctx,
int value)
Generated method - Setter of the
SolrFacetReconfiguration.priority attribute. |
void |
setPriority(SessionContext ctx,
Integer value)
Generated method - Setter of the
SolrFacetReconfiguration.priority attribute. |
void |
setSolrSearchProfiles(Collection<AbstractSolrSearchProfile> value)
Generated method - Setter of the
SolrFacetReconfiguration.solrSearchProfiles attribute. |
void |
setSolrSearchProfiles(SessionContext ctx,
Collection<AbstractSolrSearchProfile> value)
Generated method - Setter of the
SolrFacetReconfiguration.solrSearchProfiles attribute. |
void |
setVisible(boolean value)
Generated method - Setter of the
SolrFacetReconfiguration.visible attribute. |
void |
setVisible(Boolean value)
Generated method - Setter of the
SolrFacetReconfiguration.visible attribute. |
void |
setVisible(SessionContext ctx,
boolean value)
Generated method - Setter of the
SolrFacetReconfiguration.visible attribute. |
void |
setVisible(SessionContext ctx,
Boolean value)
Generated method - Setter of the
SolrFacetReconfiguration.visible attribute. |
getInitialProperties, getNonInitialAttributesgetAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllValuesSessionContext, getLocalizedProperty, getLocalizedProperty, getLocalizedPropertyInternal, getLocalizedPropertyNames, getLocalizedPropertyNames, hasLanguage, isEmptyValue, isFallbackEnabled, removeLocalizedProperty, removeLocalizedProperty, setAllLocalizedProperties, setAllLocalizedProperties, setLocalizedProperty, setLocalizedPropertycreateNonClassAccessor, getAllProperties, getAllProperties, getProperty, getProperty, getPropertyNames, getPropertyNames, removeProperty, removeProperty, setAllProperties, setAllProperties, setProperty, setPropertyaddLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addNegativePermission, addPermission, addPositivePermission, assureExtensionsLoaded, changeTypeAfterCreation, checkConstraint, checkItemPermission, checkMandatoryAttribute, checkMandatoryAttribute, checkPermission, checkPermission, checkRemovable, clearPermission, compareTo, ctx, doAfterRemove, doBeforeRemove, equals, getAccessorFor, getAllAttributes, getAllAttributes, getAllAttributes, getAllAttributes, getAllAttributesInternal, getAllLinkedItems, getAndCheckCacheBoundItem, getAttribute, getAttribute, getCacheBoundItem, getComposedType, getComposedTypePK, getCreationTime, getCurrentlyRemovingCount, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItemsCount, getLinkedItemsCount, getLinkedItemsCount, getModificationTime, getNegativePermissions, getOwner, getPermissionMap, getPermissions, getPersistenceVersion, getPK, getPositivePermissions, getRestrictedPrincipals, getSession, getSyncObject, getTenant, getTransientObject, getTransientObjectMap, hashCode, hasRegisteredClassAccessorFor, internal_registerClassAccessorFor, internal_registerNonClassAccessorFor, invalidateLocalCaches, isAlive, isCacheBound, isCurrentlyRemoving, isCurrentlyRemoving, isEmptyRelationValue, isInCreate, isInstanceOf, isItemCheckBeforeRemoveableDisabled, isRelationLocalizationFallbackEnabled, newInstance, notifyExtensionsAfterItemCreation, notifyExtensionsBeforeItemCreation, notifyItemRemoval, readResolve, refreshRemote, registerAccessFor, registerAccessFor, registerJaloInvalidationListeners, remove, remove, removeItemCollection, removeItemCollection, removeLinkedItems, removeLinkedItems, removeLinkedItems, removeLinkedItems, removeLinks, removePartOfItems, removePartOfItems, setAllAttributes, setAllAttributes, setAllAttributesInternal, setAllLinkedItems, setAllLinkedItems, setAllLinkedItems, setAllLinkedItems, setAttribute, setAttribute, setAttributeFromString, setAttributeFromString, setCacheBound, setComposedType, setCreationTime, setImplementation, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setModificationTime, setNonInitialAttributes, setOwner, setPermissionsByMap, setTransientObject, setUseTA, toString, useTA, writeReplacegetImplementation, setTenantpublic static final String CUSTOMFACETSORTPROVIDER
SolrFacetReconfiguration.customFacetSortProvider attributepublic static final String FACETTYPE
SolrFacetReconfiguration.facetType attributepublic static final String PRIORITY
SolrFacetReconfiguration.priority attributepublic static final String VISIBLE
SolrFacetReconfiguration.visible attributepublic static final String FACETPOS
SolrFacetReconfiguration.facetPOS attributepublic static final String FACET
SolrFacetReconfiguration.facet attributepublic static final String SOLRSEARCHPROFILES
SolrFacetReconfiguration.solrSearchProfiles attributeprotected static String SOLRFACETRECONFIGURATION2SOLRSEARCHPROFILE_SRC_ORDERED
protected static String SOLRFACETRECONFIGURATION2SOLRSEARCHPROFILE_TGT_ORDERED
protected static String SOLRFACETRECONFIGURATION2SOLRSEARCHPROFILE_MARKMODIFIED
protected static final BidirectionalOneToManyHandler<GeneratedSolrFacetReconfiguration> FACETHANDLER
BidirectionalOneToManyHandler for handling 1:n FACET's relation attributes from 'one' side.protected static final Map<String,Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
protected Map<String,Item.AttributeMode> getDefaultAttributeModes()
getDefaultAttributeModes in class Itemprotected Item createItem(SessionContext ctx, ComposedType type, Item.ItemAttributeMap allAttributes) throws JaloBusinessException
ItemComposedType.newInstance(Map).
In case this method uses any of the attribute values during creation it is required to override
Item.getNonInitialAttributes(SessionContext, ItemAttributeMap) too.
Sn example:
public static final String MY_ATTRIBUTE = "someAttribute"; ... protected Item createItem(SessionContext
ctx, ComposedType type, Map allAttributes ) throws JaloBusinessException { MyManager man = ... return
man.createMyItem( (String)allAttributes.get(MY_ATTRIBUTE) );
// here MY_ATTRIBUTE is used for creation, so it must not be set again } protected Map getNonInitialAttributes(
SessionContext ctx, Map allAttributes ) { // let superclass remove its own initial attributes Map ret =
super.getNonInitialAttributes( ctx, allAttributes );
// remove MY_ATTRIBUTE from all attributes since if has already been set ret.remove(MY_ATTRIBUTE); return ret; }
createItem in class GenericItemctx - the current session context which this item is created withintype - the actual item type ( since subtypes may not provide a own jalo class this may be different from the
type which this method was implemented for )JaloBusinessException - indicates an error during creation - any changes will be rollbackedpublic String getCustomFacetSortProvider(SessionContext ctx)
SolrFacetReconfiguration.customFacetSortProvider attribute.public String getCustomFacetSortProvider()
SolrFacetReconfiguration.customFacetSortProvider attribute.public void setCustomFacetSortProvider(SessionContext ctx, String value)
SolrFacetReconfiguration.customFacetSortProvider attribute.value - the customFacetSortProvider - Facet sort values are facet being dependentpublic void setCustomFacetSortProvider(String value)
SolrFacetReconfiguration.customFacetSortProvider attribute.value - the customFacetSortProvider - Facet sort values are facet being dependentpublic SolrIndexedProperty getFacet(SessionContext ctx)
SolrFacetReconfiguration.facet attribute.public SolrIndexedProperty getFacet()
SolrFacetReconfiguration.facet attribute.public void setFacet(SessionContext ctx, SolrIndexedProperty value)
SolrFacetReconfiguration.facet attribute.value - the facetpublic void setFacet(SolrIndexedProperty value)
SolrFacetReconfiguration.facet attribute.value - the facetpublic EnumerationValue getFacetType(SessionContext ctx)
SolrFacetReconfiguration.facetType attribute.public EnumerationValue getFacetType()
SolrFacetReconfiguration.facetType attribute.public void setFacetType(SessionContext ctx, EnumerationValue value)
SolrFacetReconfiguration.facetType attribute.value - the facetTypepublic void setFacetType(EnumerationValue value)
SolrFacetReconfiguration.facetType attribute.value - the facetTypepublic Integer getPriority(SessionContext ctx)
SolrFacetReconfiguration.priority attribute.public Integer getPriority()
SolrFacetReconfiguration.priority attribute.public int getPriorityAsPrimitive(SessionContext ctx)
SolrFacetReconfiguration.priority attribute.public int getPriorityAsPrimitive()
SolrFacetReconfiguration.priority attribute.public void setPriority(SessionContext ctx, Integer value)
SolrFacetReconfiguration.priority attribute.value - the prioritypublic void setPriority(Integer value)
SolrFacetReconfiguration.priority attribute.value - the prioritypublic void setPriority(SessionContext ctx, int value)
SolrFacetReconfiguration.priority attribute.value - the prioritypublic void setPriority(int value)
SolrFacetReconfiguration.priority attribute.value - the prioritypublic Collection<AbstractSolrSearchProfile> getSolrSearchProfiles(SessionContext ctx)
SolrFacetReconfiguration.solrSearchProfiles attribute.public Collection<AbstractSolrSearchProfile> getSolrSearchProfiles()
SolrFacetReconfiguration.solrSearchProfiles attribute.public long getSolrSearchProfilesCount(SessionContext ctx)
public long getSolrSearchProfilesCount()
public void setSolrSearchProfiles(SessionContext ctx, Collection<AbstractSolrSearchProfile> value)
SolrFacetReconfiguration.solrSearchProfiles attribute.value - the solrSearchProfilespublic void setSolrSearchProfiles(Collection<AbstractSolrSearchProfile> value)
SolrFacetReconfiguration.solrSearchProfiles attribute.value - the solrSearchProfilespublic void addToSolrSearchProfiles(SessionContext ctx, AbstractSolrSearchProfile value)
value to solrSearchProfiles.value - the item to add to solrSearchProfilespublic void addToSolrSearchProfiles(AbstractSolrSearchProfile value)
value to solrSearchProfiles.value - the item to add to solrSearchProfilespublic void removeFromSolrSearchProfiles(SessionContext ctx, AbstractSolrSearchProfile value)
value from solrSearchProfiles.value - the item to remove from solrSearchProfilespublic void removeFromSolrSearchProfiles(AbstractSolrSearchProfile value)
value from solrSearchProfiles.value - the item to remove from solrSearchProfilespublic Boolean isVisible(SessionContext ctx)
SolrFacetReconfiguration.visible attribute.public Boolean isVisible()
SolrFacetReconfiguration.visible attribute.public boolean isVisibleAsPrimitive(SessionContext ctx)
SolrFacetReconfiguration.visible attribute.public boolean isVisibleAsPrimitive()
SolrFacetReconfiguration.visible attribute.public void setVisible(SessionContext ctx, Boolean value)
SolrFacetReconfiguration.visible attribute.value - the visible - This property is used to define whether a facet should be visible for frontend users or not.public void setVisible(Boolean value)
SolrFacetReconfiguration.visible attribute.value - the visible - This property is used to define whether a facet should be visible for frontend users or not.public void setVisible(SessionContext ctx, boolean value)
SolrFacetReconfiguration.visible attribute.value - the visible - This property is used to define whether a facet should be visible for frontend users or not.public void setVisible(boolean value)
SolrFacetReconfiguration.visible attribute.value - the visible - This property is used to define whether a facet should be visible for frontend users or not.Copyright © 2017 SAP SE. All Rights Reserved.