public abstract class GeneratedSolrBoostRule extends GenericItem
SolrBoostRule.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 java.lang.String |
BOOSTFACTOR
Qualifier of the
SolrBoostRule.boostFactor attribute |
protected static java.util.Map<java.lang.String,Item.AttributeMode> |
DEFAULT_INITIAL_ATTRIBUTES |
static java.lang.String |
OPERATOR
Qualifier of the
SolrBoostRule.operator attribute |
static java.lang.String |
PROPERTYVALUE
Qualifier of the
SolrBoostRule.propertyValue attribute |
protected static java.lang.String |
SOLRBOOSTRULE2SOLRSEARCHPROFILE_MARKMODIFIED
Relation disable markmodifed parameter constants for SolrBoostRule2SolrSearchProfile from ((commercesearch))
|
protected static java.lang.String |
SOLRBOOSTRULE2SOLRSEARCHPROFILE_SRC_ORDERED
Relation ordering override parameter constants for SolrBoostRule2SolrSearchProfile from ((commercesearch))
|
protected static java.lang.String |
SOLRBOOSTRULE2SOLRSEARCHPROFILE_TGT_ORDERED |
static java.lang.String |
SOLRINDEXEDPROPERTY
Qualifier of the
SolrBoostRule.solrIndexedProperty attribute |
protected static BidirectionalOneToManyHandler<GeneratedSolrBoostRule> |
SOLRINDEXEDPROPERTYHANDLER
BidirectionalOneToManyHandler for handling 1:n SOLRINDEXEDPROPERTY's relation attributes from 'one' side. |
static java.lang.String |
SOLRINDEXEDPROPERTYPOS
Qualifier of the
SolrBoostRule.solrIndexedPropertyPOS attribute |
static java.lang.String |
SOLRSEARCHPROFILES
Qualifier of the
SolrBoostRule.solrSearchProfiles 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 |
|---|
GeneratedSolrBoostRule() |
| 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.
|
java.lang.Integer |
getBoostFactor()
Generated method - Getter of the
SolrBoostRule.boostFactor attribute. |
java.lang.Integer |
getBoostFactor(SessionContext ctx)
Generated method - Getter of the
SolrBoostRule.boostFactor attribute. |
int |
getBoostFactorAsPrimitive()
Generated method - Getter of the
SolrBoostRule.boostFactor attribute. |
int |
getBoostFactorAsPrimitive(SessionContext ctx)
Generated method - Getter of the
SolrBoostRule.boostFactor attribute. |
protected java.util.Map<java.lang.String,Item.AttributeMode> |
getDefaultAttributeModes() |
EnumerationValue |
getOperator()
Generated method - Getter of the
SolrBoostRule.operator attribute. |
EnumerationValue |
getOperator(SessionContext ctx)
Generated method - Getter of the
SolrBoostRule.operator attribute. |
java.lang.String |
getPropertyValue()
Generated method - Getter of the
SolrBoostRule.propertyValue attribute. |
java.lang.String |
getPropertyValue(SessionContext ctx)
Generated method - Getter of the
SolrBoostRule.propertyValue attribute. |
SolrIndexedProperty |
getSolrIndexedProperty()
Generated method - Getter of the
SolrBoostRule.solrIndexedProperty attribute. |
SolrIndexedProperty |
getSolrIndexedProperty(SessionContext ctx)
Generated method - Getter of the
SolrBoostRule.solrIndexedProperty attribute. |
java.util.Collection<AbstractSolrSearchProfile> |
getSolrSearchProfiles()
Generated method - Getter of the
SolrBoostRule.solrSearchProfiles attribute. |
java.util.Collection<AbstractSolrSearchProfile> |
getSolrSearchProfiles(SessionContext ctx)
Generated method - Getter of the
SolrBoostRule.solrSearchProfiles attribute. |
long |
getSolrSearchProfilesCount() |
long |
getSolrSearchProfilesCount(SessionContext ctx) |
boolean |
isMarkModifiedDisabled(Item referencedItem) |
void |
removeFromSolrSearchProfiles(AbstractSolrSearchProfile value)
Generated method - Removes
value from solrSearchProfiles. |
void |
removeFromSolrSearchProfiles(SessionContext ctx,
AbstractSolrSearchProfile value)
Generated method - Removes
value from solrSearchProfiles. |
void |
setBoostFactor(int value)
Generated method - Setter of the
SolrBoostRule.boostFactor attribute. |
void |
setBoostFactor(java.lang.Integer value)
Generated method - Setter of the
SolrBoostRule.boostFactor attribute. |
void |
setBoostFactor(SessionContext ctx,
int value)
Generated method - Setter of the
SolrBoostRule.boostFactor attribute. |
void |
setBoostFactor(SessionContext ctx,
java.lang.Integer value)
Generated method - Setter of the
SolrBoostRule.boostFactor attribute. |
void |
setOperator(EnumerationValue value)
Generated method - Setter of the
SolrBoostRule.operator attribute. |
void |
setOperator(SessionContext ctx,
EnumerationValue value)
Generated method - Setter of the
SolrBoostRule.operator attribute. |
void |
setPropertyValue(SessionContext ctx,
java.lang.String value)
Generated method - Setter of the
SolrBoostRule.propertyValue attribute. |
void |
setPropertyValue(java.lang.String value)
Generated method - Setter of the
SolrBoostRule.propertyValue attribute. |
void |
setSolrIndexedProperty(SessionContext ctx,
SolrIndexedProperty value)
Generated method - Setter of the
SolrBoostRule.solrIndexedProperty attribute. |
void |
setSolrIndexedProperty(SolrIndexedProperty value)
Generated method - Setter of the
SolrBoostRule.solrIndexedProperty attribute. |
void |
setSolrSearchProfiles(java.util.Collection<AbstractSolrSearchProfile> value)
Generated method - Setter of the
SolrBoostRule.solrSearchProfiles attribute. |
void |
setSolrSearchProfiles(SessionContext ctx,
java.util.Collection<AbstractSolrSearchProfile> value)
Generated method - Setter of the
SolrBoostRule.solrSearchProfiles 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 java.lang.String OPERATOR
SolrBoostRule.operator attributepublic static final java.lang.String PROPERTYVALUE
SolrBoostRule.propertyValue attributepublic static final java.lang.String BOOSTFACTOR
SolrBoostRule.boostFactor attributepublic static final java.lang.String SOLRINDEXEDPROPERTYPOS
SolrBoostRule.solrIndexedPropertyPOS attributepublic static final java.lang.String SOLRINDEXEDPROPERTY
SolrBoostRule.solrIndexedProperty attributepublic static final java.lang.String SOLRSEARCHPROFILES
SolrBoostRule.solrSearchProfiles attributeprotected static java.lang.String SOLRBOOSTRULE2SOLRSEARCHPROFILE_SRC_ORDERED
protected static java.lang.String SOLRBOOSTRULE2SOLRSEARCHPROFILE_TGT_ORDERED
protected static java.lang.String SOLRBOOSTRULE2SOLRSEARCHPROFILE_MARKMODIFIED
protected static final BidirectionalOneToManyHandler<GeneratedSolrBoostRule> SOLRINDEXEDPROPERTYHANDLER
BidirectionalOneToManyHandler for handling 1:n SOLRINDEXEDPROPERTY's relation attributes from 'one' side.protected static final java.util.Map<java.lang.String,Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
protected java.util.Map<java.lang.String,Item.AttributeMode> getDefaultAttributeModes()
getDefaultAttributeModes in class Itempublic java.lang.Integer getBoostFactor(SessionContext ctx)
SolrBoostRule.boostFactor attribute.public java.lang.Integer getBoostFactor()
SolrBoostRule.boostFactor attribute.public int getBoostFactorAsPrimitive(SessionContext ctx)
SolrBoostRule.boostFactor attribute.public int getBoostFactorAsPrimitive()
SolrBoostRule.boostFactor attribute.public void setBoostFactor(SessionContext ctx, java.lang.Integer value)
SolrBoostRule.boostFactor attribute.value - the boostFactorpublic void setBoostFactor(java.lang.Integer value)
SolrBoostRule.boostFactor attribute.value - the boostFactorpublic void setBoostFactor(SessionContext ctx, int value)
SolrBoostRule.boostFactor attribute.value - the boostFactorpublic void setBoostFactor(int value)
SolrBoostRule.boostFactor attribute.value - the boostFactorprotected 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 boolean isMarkModifiedDisabled(Item referencedItem)
isMarkModifiedDisabled in class Itempublic EnumerationValue getOperator(SessionContext ctx)
SolrBoostRule.operator attribute.public EnumerationValue getOperator()
SolrBoostRule.operator attribute.public void setOperator(SessionContext ctx, EnumerationValue value)
SolrBoostRule.operator attribute.value - the operatorpublic void setOperator(EnumerationValue value)
SolrBoostRule.operator attribute.value - the operatorpublic java.lang.String getPropertyValue(SessionContext ctx)
SolrBoostRule.propertyValue attribute.public java.lang.String getPropertyValue()
SolrBoostRule.propertyValue attribute.public void setPropertyValue(SessionContext ctx, java.lang.String value)
SolrBoostRule.propertyValue attribute.value - the propertyValuepublic void setPropertyValue(java.lang.String value)
SolrBoostRule.propertyValue attribute.value - the propertyValuepublic SolrIndexedProperty getSolrIndexedProperty(SessionContext ctx)
SolrBoostRule.solrIndexedProperty attribute.public SolrIndexedProperty getSolrIndexedProperty()
SolrBoostRule.solrIndexedProperty attribute.public void setSolrIndexedProperty(SessionContext ctx, SolrIndexedProperty value)
SolrBoostRule.solrIndexedProperty attribute.value - the solrIndexedPropertypublic void setSolrIndexedProperty(SolrIndexedProperty value)
SolrBoostRule.solrIndexedProperty attribute.value - the solrIndexedPropertypublic java.util.Collection<AbstractSolrSearchProfile> getSolrSearchProfiles(SessionContext ctx)
SolrBoostRule.solrSearchProfiles attribute.public java.util.Collection<AbstractSolrSearchProfile> getSolrSearchProfiles()
SolrBoostRule.solrSearchProfiles attribute.public long getSolrSearchProfilesCount(SessionContext ctx)
public long getSolrSearchProfilesCount()
public void setSolrSearchProfiles(SessionContext ctx, java.util.Collection<AbstractSolrSearchProfile> value)
SolrBoostRule.solrSearchProfiles attribute.value - the solrSearchProfilespublic void setSolrSearchProfiles(java.util.Collection<AbstractSolrSearchProfile> value)
SolrBoostRule.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 solrSearchProfilesCopyright © 2018 SAP SE. All Rights Reserved.