public abstract class GeneratedSolrSearchQueryTemplate extends GenericItem
SolrSearchQueryTemplate.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 |
|---|---|
protected static java.util.Map<java.lang.String,Item.AttributeMode> |
DEFAULT_INITIAL_ATTRIBUTES |
static java.lang.String |
ENABLEHIGHLIGHTING
Qualifier of the
SolrSearchQueryTemplate.enableHighlighting attribute |
static java.lang.String |
FTSQUERYBUILDER
Qualifier of the
SolrSearchQueryTemplate.ftsQueryBuilder attribute |
static java.lang.String |
FTSQUERYBUILDERPARAMETERS
Qualifier of the
SolrSearchQueryTemplate.ftsQueryBuilderParameters attribute |
static java.lang.String |
GROUP
Qualifier of the
SolrSearchQueryTemplate.group attribute |
static java.lang.String |
GROUPFACETS
Qualifier of the
SolrSearchQueryTemplate.groupFacets attribute |
static java.lang.String |
GROUPLIMIT
Qualifier of the
SolrSearchQueryTemplate.groupLimit attribute |
static java.lang.String |
GROUPPROPERTY
Qualifier of the
SolrSearchQueryTemplate.groupProperty attribute |
static java.lang.String |
INDEXEDTYPE
Qualifier of the
SolrSearchQueryTemplate.indexedType attribute |
protected static BidirectionalOneToManyHandler<GeneratedSolrSearchQueryTemplate> |
INDEXEDTYPEHANDLER
BidirectionalOneToManyHandler for handling 1:n INDEXEDTYPE's relation attributes from 'one' side. |
static java.lang.String |
INDEXEDTYPEPOS
Qualifier of the
SolrSearchQueryTemplate.indexedTypePOS attribute |
static java.lang.String |
NAME
Qualifier of the
SolrSearchQueryTemplate.name attribute |
static java.lang.String |
PAGESIZE
Qualifier of the
SolrSearchQueryTemplate.pageSize attribute |
static java.lang.String |
RESTRICTFIELDSINRESPONSE
Qualifier of the
SolrSearchQueryTemplate.restrictFieldsInResponse attribute |
static java.lang.String |
SEARCHQUERYPROPERTIES
Qualifier of the
SolrSearchQueryTemplate.searchQueryProperties attribute |
protected static OneToManyHandler<SolrSearchQueryProperty> |
SEARCHQUERYPROPERTIESHANDLER
OneToManyHandler for handling 1:n SEARCHQUERYPROPERTIES's relation attributes from 'many' side. |
static java.lang.String |
SEARCHQUERYSORTS
Qualifier of the
SolrSearchQueryTemplate.searchQuerySorts attribute |
protected static OneToManyHandler<SolrSearchQuerySort> |
SEARCHQUERYSORTSHANDLER
OneToManyHandler for handling 1:n SEARCHQUERYSORTS's relation attributes from 'many' side. |
static java.lang.String |
SHOWFACETS
Qualifier of the
SolrSearchQueryTemplate.showFacets 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 |
|---|
GeneratedSolrSearchQueryTemplate() |
| Modifier and Type | Method and Description |
|---|---|
void |
addToSearchQueryProperties(SessionContext ctx,
SolrSearchQueryProperty value)
Generated method - Adds
value to searchQueryProperties. |
void |
addToSearchQueryProperties(SolrSearchQueryProperty value)
Generated method - Adds
value to searchQueryProperties. |
void |
addToSearchQuerySorts(SessionContext ctx,
SolrSearchQuerySort value)
Generated method - Adds
value to searchQuerySorts. |
void |
addToSearchQuerySorts(SolrSearchQuerySort value)
Generated method - Adds
value to searchQuerySorts. |
protected Item |
createItem(SessionContext ctx,
ComposedType type,
Item.ItemAttributeMap allAttributes)
Has to be implemented for each concrete subtype of item.
|
java.util.Map<java.lang.String,java.lang.String> |
getAllFtsQueryBuilderParameters()
Generated method - Getter of the
SolrSearchQueryTemplate.ftsQueryBuilderParameters attribute. |
java.util.Map<java.lang.String,java.lang.String> |
getAllFtsQueryBuilderParameters(SessionContext ctx)
Generated method - Getter of the
SolrSearchQueryTemplate.ftsQueryBuilderParameters attribute. |
protected java.util.Map<java.lang.String,Item.AttributeMode> |
getDefaultAttributeModes() |
java.lang.String |
getFtsQueryBuilder()
Generated method - Getter of the
SolrSearchQueryTemplate.ftsQueryBuilder attribute. |
java.lang.String |
getFtsQueryBuilder(SessionContext ctx)
Generated method - Getter of the
SolrSearchQueryTemplate.ftsQueryBuilder attribute. |
java.lang.Integer |
getGroupLimit()
Generated method - Getter of the
SolrSearchQueryTemplate.groupLimit attribute. |
java.lang.Integer |
getGroupLimit(SessionContext ctx)
Generated method - Getter of the
SolrSearchQueryTemplate.groupLimit attribute. |
int |
getGroupLimitAsPrimitive()
Generated method - Getter of the
SolrSearchQueryTemplate.groupLimit attribute. |
int |
getGroupLimitAsPrimitive(SessionContext ctx)
Generated method - Getter of the
SolrSearchQueryTemplate.groupLimit attribute. |
SolrIndexedProperty |
getGroupProperty()
Generated method - Getter of the
SolrSearchQueryTemplate.groupProperty attribute. |
SolrIndexedProperty |
getGroupProperty(SessionContext ctx)
Generated method - Getter of the
SolrSearchQueryTemplate.groupProperty attribute. |
SolrIndexedType |
getIndexedType()
Generated method - Getter of the
SolrSearchQueryTemplate.indexedType attribute. |
SolrIndexedType |
getIndexedType(SessionContext ctx)
Generated method - Getter of the
SolrSearchQueryTemplate.indexedType attribute. |
java.lang.String |
getName()
Generated method - Getter of the
SolrSearchQueryTemplate.name attribute. |
java.lang.String |
getName(SessionContext ctx)
Generated method - Getter of the
SolrSearchQueryTemplate.name attribute. |
java.lang.Integer |
getPageSize()
Generated method - Getter of the
SolrSearchQueryTemplate.pageSize attribute. |
java.lang.Integer |
getPageSize(SessionContext ctx)
Generated method - Getter of the
SolrSearchQueryTemplate.pageSize attribute. |
int |
getPageSizeAsPrimitive()
Generated method - Getter of the
SolrSearchQueryTemplate.pageSize attribute. |
int |
getPageSizeAsPrimitive(SessionContext ctx)
Generated method - Getter of the
SolrSearchQueryTemplate.pageSize attribute. |
java.util.Collection<SolrSearchQueryProperty> |
getSearchQueryProperties()
Generated method - Getter of the
SolrSearchQueryTemplate.searchQueryProperties attribute. |
java.util.Collection<SolrSearchQueryProperty> |
getSearchQueryProperties(SessionContext ctx)
Generated method - Getter of the
SolrSearchQueryTemplate.searchQueryProperties attribute. |
java.util.Collection<SolrSearchQuerySort> |
getSearchQuerySorts()
Generated method - Getter of the
SolrSearchQueryTemplate.searchQuerySorts attribute. |
java.util.Collection<SolrSearchQuerySort> |
getSearchQuerySorts(SessionContext ctx)
Generated method - Getter of the
SolrSearchQueryTemplate.searchQuerySorts attribute. |
java.lang.Boolean |
isEnableHighlighting()
Generated method - Getter of the
SolrSearchQueryTemplate.enableHighlighting attribute. |
java.lang.Boolean |
isEnableHighlighting(SessionContext ctx)
Generated method - Getter of the
SolrSearchQueryTemplate.enableHighlighting attribute. |
boolean |
isEnableHighlightingAsPrimitive()
Generated method - Getter of the
SolrSearchQueryTemplate.enableHighlighting attribute. |
boolean |
isEnableHighlightingAsPrimitive(SessionContext ctx)
Generated method - Getter of the
SolrSearchQueryTemplate.enableHighlighting attribute. |
java.lang.Boolean |
isGroup()
Generated method - Getter of the
SolrSearchQueryTemplate.group attribute. |
java.lang.Boolean |
isGroup(SessionContext ctx)
Generated method - Getter of the
SolrSearchQueryTemplate.group attribute. |
boolean |
isGroupAsPrimitive()
Generated method - Getter of the
SolrSearchQueryTemplate.group attribute. |
boolean |
isGroupAsPrimitive(SessionContext ctx)
Generated method - Getter of the
SolrSearchQueryTemplate.group attribute. |
java.lang.Boolean |
isGroupFacets()
Generated method - Getter of the
SolrSearchQueryTemplate.groupFacets attribute. |
java.lang.Boolean |
isGroupFacets(SessionContext ctx)
Generated method - Getter of the
SolrSearchQueryTemplate.groupFacets attribute. |
boolean |
isGroupFacetsAsPrimitive()
Generated method - Getter of the
SolrSearchQueryTemplate.groupFacets attribute. |
boolean |
isGroupFacetsAsPrimitive(SessionContext ctx)
Generated method - Getter of the
SolrSearchQueryTemplate.groupFacets attribute. |
java.lang.Boolean |
isRestrictFieldsInResponse()
Generated method - Getter of the
SolrSearchQueryTemplate.restrictFieldsInResponse attribute. |
java.lang.Boolean |
isRestrictFieldsInResponse(SessionContext ctx)
Generated method - Getter of the
SolrSearchQueryTemplate.restrictFieldsInResponse attribute. |
boolean |
isRestrictFieldsInResponseAsPrimitive()
Generated method - Getter of the
SolrSearchQueryTemplate.restrictFieldsInResponse attribute. |
boolean |
isRestrictFieldsInResponseAsPrimitive(SessionContext ctx)
Generated method - Getter of the
SolrSearchQueryTemplate.restrictFieldsInResponse attribute. |
java.lang.Boolean |
isShowFacets()
Generated method - Getter of the
SolrSearchQueryTemplate.showFacets attribute. |
java.lang.Boolean |
isShowFacets(SessionContext ctx)
Generated method - Getter of the
SolrSearchQueryTemplate.showFacets attribute. |
boolean |
isShowFacetsAsPrimitive()
Generated method - Getter of the
SolrSearchQueryTemplate.showFacets attribute. |
boolean |
isShowFacetsAsPrimitive(SessionContext ctx)
Generated method - Getter of the
SolrSearchQueryTemplate.showFacets attribute. |
void |
removeFromSearchQueryProperties(SessionContext ctx,
SolrSearchQueryProperty value)
Generated method - Removes
value from searchQueryProperties. |
void |
removeFromSearchQueryProperties(SolrSearchQueryProperty value)
Generated method - Removes
value from searchQueryProperties. |
void |
removeFromSearchQuerySorts(SessionContext ctx,
SolrSearchQuerySort value)
Generated method - Removes
value from searchQuerySorts. |
void |
removeFromSearchQuerySorts(SolrSearchQuerySort value)
Generated method - Removes
value from searchQuerySorts. |
void |
setAllFtsQueryBuilderParameters(java.util.Map<java.lang.String,java.lang.String> value)
Generated method - Setter of the
SolrSearchQueryTemplate.ftsQueryBuilderParameters attribute. |
void |
setAllFtsQueryBuilderParameters(SessionContext ctx,
java.util.Map<java.lang.String,java.lang.String> value)
Generated method - Setter of the
SolrSearchQueryTemplate.ftsQueryBuilderParameters attribute. |
void |
setEnableHighlighting(boolean value)
Generated method - Setter of the
SolrSearchQueryTemplate.enableHighlighting attribute. |
void |
setEnableHighlighting(java.lang.Boolean value)
Generated method - Setter of the
SolrSearchQueryTemplate.enableHighlighting attribute. |
void |
setEnableHighlighting(SessionContext ctx,
boolean value)
Generated method - Setter of the
SolrSearchQueryTemplate.enableHighlighting attribute. |
void |
setEnableHighlighting(SessionContext ctx,
java.lang.Boolean value)
Generated method - Setter of the
SolrSearchQueryTemplate.enableHighlighting attribute. |
void |
setFtsQueryBuilder(SessionContext ctx,
java.lang.String value)
Generated method - Setter of the
SolrSearchQueryTemplate.ftsQueryBuilder attribute. |
void |
setFtsQueryBuilder(java.lang.String value)
Generated method - Setter of the
SolrSearchQueryTemplate.ftsQueryBuilder attribute. |
void |
setGroup(boolean value)
Generated method - Setter of the
SolrSearchQueryTemplate.group attribute. |
void |
setGroup(java.lang.Boolean value)
Generated method - Setter of the
SolrSearchQueryTemplate.group attribute. |
void |
setGroup(SessionContext ctx,
boolean value)
Generated method - Setter of the
SolrSearchQueryTemplate.group attribute. |
void |
setGroup(SessionContext ctx,
java.lang.Boolean value)
Generated method - Setter of the
SolrSearchQueryTemplate.group attribute. |
void |
setGroupFacets(boolean value)
Generated method - Setter of the
SolrSearchQueryTemplate.groupFacets attribute. |
void |
setGroupFacets(java.lang.Boolean value)
Generated method - Setter of the
SolrSearchQueryTemplate.groupFacets attribute. |
void |
setGroupFacets(SessionContext ctx,
boolean value)
Generated method - Setter of the
SolrSearchQueryTemplate.groupFacets attribute. |
void |
setGroupFacets(SessionContext ctx,
java.lang.Boolean value)
Generated method - Setter of the
SolrSearchQueryTemplate.groupFacets attribute. |
void |
setGroupLimit(int value)
Generated method - Setter of the
SolrSearchQueryTemplate.groupLimit attribute. |
void |
setGroupLimit(java.lang.Integer value)
Generated method - Setter of the
SolrSearchQueryTemplate.groupLimit attribute. |
void |
setGroupLimit(SessionContext ctx,
int value)
Generated method - Setter of the
SolrSearchQueryTemplate.groupLimit attribute. |
void |
setGroupLimit(SessionContext ctx,
java.lang.Integer value)
Generated method - Setter of the
SolrSearchQueryTemplate.groupLimit attribute. |
void |
setGroupProperty(SessionContext ctx,
SolrIndexedProperty value)
Generated method - Setter of the
SolrSearchQueryTemplate.groupProperty attribute. |
void |
setGroupProperty(SolrIndexedProperty value)
Generated method - Setter of the
SolrSearchQueryTemplate.groupProperty attribute. |
protected void |
setIndexedType(SessionContext ctx,
SolrIndexedType value)
Generated method - Setter of the
SolrSearchQueryTemplate.indexedType attribute. |
protected void |
setIndexedType(SolrIndexedType value)
Generated method - Setter of the
SolrSearchQueryTemplate.indexedType attribute. |
void |
setName(SessionContext ctx,
java.lang.String value)
Generated method - Setter of the
SolrSearchQueryTemplate.name attribute. |
void |
setName(java.lang.String value)
Generated method - Setter of the
SolrSearchQueryTemplate.name attribute. |
void |
setPageSize(int value)
Generated method - Setter of the
SolrSearchQueryTemplate.pageSize attribute. |
void |
setPageSize(java.lang.Integer value)
Generated method - Setter of the
SolrSearchQueryTemplate.pageSize attribute. |
void |
setPageSize(SessionContext ctx,
int value)
Generated method - Setter of the
SolrSearchQueryTemplate.pageSize attribute. |
void |
setPageSize(SessionContext ctx,
java.lang.Integer value)
Generated method - Setter of the
SolrSearchQueryTemplate.pageSize attribute. |
void |
setRestrictFieldsInResponse(boolean value)
Generated method - Setter of the
SolrSearchQueryTemplate.restrictFieldsInResponse attribute. |
void |
setRestrictFieldsInResponse(java.lang.Boolean value)
Generated method - Setter of the
SolrSearchQueryTemplate.restrictFieldsInResponse attribute. |
void |
setRestrictFieldsInResponse(SessionContext ctx,
boolean value)
Generated method - Setter of the
SolrSearchQueryTemplate.restrictFieldsInResponse attribute. |
void |
setRestrictFieldsInResponse(SessionContext ctx,
java.lang.Boolean value)
Generated method - Setter of the
SolrSearchQueryTemplate.restrictFieldsInResponse attribute. |
void |
setSearchQueryProperties(java.util.Collection<SolrSearchQueryProperty> value)
Generated method - Setter of the
SolrSearchQueryTemplate.searchQueryProperties attribute. |
void |
setSearchQueryProperties(SessionContext ctx,
java.util.Collection<SolrSearchQueryProperty> value)
Generated method - Setter of the
SolrSearchQueryTemplate.searchQueryProperties attribute. |
void |
setSearchQuerySorts(java.util.Collection<SolrSearchQuerySort> value)
Generated method - Setter of the
SolrSearchQueryTemplate.searchQuerySorts attribute. |
void |
setSearchQuerySorts(SessionContext ctx,
java.util.Collection<SolrSearchQuerySort> value)
Generated method - Setter of the
SolrSearchQueryTemplate.searchQuerySorts attribute. |
void |
setShowFacets(boolean value)
Generated method - Setter of the
SolrSearchQueryTemplate.showFacets attribute. |
void |
setShowFacets(java.lang.Boolean value)
Generated method - Setter of the
SolrSearchQueryTemplate.showFacets attribute. |
void |
setShowFacets(SessionContext ctx,
boolean value)
Generated method - Setter of the
SolrSearchQueryTemplate.showFacets attribute. |
void |
setShowFacets(SessionContext ctx,
java.lang.Boolean value)
Generated method - Setter of the
SolrSearchQueryTemplate.showFacets 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, isMarkModifiedDisabled, 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 NAME
SolrSearchQueryTemplate.name attributepublic static final java.lang.String SHOWFACETS
SolrSearchQueryTemplate.showFacets attributepublic static final java.lang.String RESTRICTFIELDSINRESPONSE
SolrSearchQueryTemplate.restrictFieldsInResponse attributepublic static final java.lang.String ENABLEHIGHLIGHTING
SolrSearchQueryTemplate.enableHighlighting attributepublic static final java.lang.String GROUP
SolrSearchQueryTemplate.group attributepublic static final java.lang.String GROUPPROPERTY
SolrSearchQueryTemplate.groupProperty attributepublic static final java.lang.String GROUPLIMIT
SolrSearchQueryTemplate.groupLimit attributepublic static final java.lang.String GROUPFACETS
SolrSearchQueryTemplate.groupFacets attributepublic static final java.lang.String PAGESIZE
SolrSearchQueryTemplate.pageSize attributepublic static final java.lang.String FTSQUERYBUILDER
SolrSearchQueryTemplate.ftsQueryBuilder attributepublic static final java.lang.String FTSQUERYBUILDERPARAMETERS
SolrSearchQueryTemplate.ftsQueryBuilderParameters attributepublic static final java.lang.String INDEXEDTYPEPOS
SolrSearchQueryTemplate.indexedTypePOS attributepublic static final java.lang.String INDEXEDTYPE
SolrSearchQueryTemplate.indexedType attributepublic static final java.lang.String SEARCHQUERYPROPERTIES
SolrSearchQueryTemplate.searchQueryProperties attributepublic static final java.lang.String SEARCHQUERYSORTS
SolrSearchQueryTemplate.searchQuerySorts attributeprotected static final BidirectionalOneToManyHandler<GeneratedSolrSearchQueryTemplate> INDEXEDTYPEHANDLER
BidirectionalOneToManyHandler for handling 1:n INDEXEDTYPE's relation attributes from 'one' side.protected static final OneToManyHandler<SolrSearchQueryProperty> SEARCHQUERYPROPERTIESHANDLER
OneToManyHandler for handling 1:n SEARCHQUERYPROPERTIES's relation attributes from 'many' side.protected static final OneToManyHandler<SolrSearchQuerySort> SEARCHQUERYSORTSHANDLER
OneToManyHandler for handling 1:n SEARCHQUERYSORTS's relation attributes from 'many' 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 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 java.lang.Boolean isEnableHighlighting(SessionContext ctx)
SolrSearchQueryTemplate.enableHighlighting attribute.public java.lang.Boolean isEnableHighlighting()
SolrSearchQueryTemplate.enableHighlighting attribute.public boolean isEnableHighlightingAsPrimitive(SessionContext ctx)
SolrSearchQueryTemplate.enableHighlighting attribute.public boolean isEnableHighlightingAsPrimitive()
SolrSearchQueryTemplate.enableHighlighting attribute.public void setEnableHighlighting(SessionContext ctx, java.lang.Boolean value)
SolrSearchQueryTemplate.enableHighlighting attribute.value - the enableHighlightingpublic void setEnableHighlighting(java.lang.Boolean value)
SolrSearchQueryTemplate.enableHighlighting attribute.value - the enableHighlightingpublic void setEnableHighlighting(SessionContext ctx, boolean value)
SolrSearchQueryTemplate.enableHighlighting attribute.value - the enableHighlightingpublic void setEnableHighlighting(boolean value)
SolrSearchQueryTemplate.enableHighlighting attribute.value - the enableHighlightingpublic java.lang.String getFtsQueryBuilder(SessionContext ctx)
SolrSearchQueryTemplate.ftsQueryBuilder attribute.public java.lang.String getFtsQueryBuilder()
SolrSearchQueryTemplate.ftsQueryBuilder attribute.public void setFtsQueryBuilder(SessionContext ctx, java.lang.String value)
SolrSearchQueryTemplate.ftsQueryBuilder attribute.value - the ftsQueryBuilderpublic void setFtsQueryBuilder(java.lang.String value)
SolrSearchQueryTemplate.ftsQueryBuilder attribute.value - the ftsQueryBuilderpublic java.util.Map<java.lang.String,java.lang.String> getAllFtsQueryBuilderParameters(SessionContext ctx)
SolrSearchQueryTemplate.ftsQueryBuilderParameters attribute.public java.util.Map<java.lang.String,java.lang.String> getAllFtsQueryBuilderParameters()
SolrSearchQueryTemplate.ftsQueryBuilderParameters attribute.public void setAllFtsQueryBuilderParameters(SessionContext ctx, java.util.Map<java.lang.String,java.lang.String> value)
SolrSearchQueryTemplate.ftsQueryBuilderParameters attribute.value - the ftsQueryBuilderParameterspublic void setAllFtsQueryBuilderParameters(java.util.Map<java.lang.String,java.lang.String> value)
SolrSearchQueryTemplate.ftsQueryBuilderParameters attribute.value - the ftsQueryBuilderParameterspublic java.lang.Boolean isGroup(SessionContext ctx)
SolrSearchQueryTemplate.group attribute.public java.lang.Boolean isGroup()
SolrSearchQueryTemplate.group attribute.public boolean isGroupAsPrimitive(SessionContext ctx)
SolrSearchQueryTemplate.group attribute.public boolean isGroupAsPrimitive()
SolrSearchQueryTemplate.group attribute.public void setGroup(SessionContext ctx, java.lang.Boolean value)
SolrSearchQueryTemplate.group attribute.value - the grouppublic void setGroup(java.lang.Boolean value)
SolrSearchQueryTemplate.group attribute.value - the grouppublic void setGroup(SessionContext ctx, boolean value)
SolrSearchQueryTemplate.group attribute.value - the grouppublic void setGroup(boolean value)
SolrSearchQueryTemplate.group attribute.value - the grouppublic java.lang.Boolean isGroupFacets(SessionContext ctx)
SolrSearchQueryTemplate.groupFacets attribute.public java.lang.Boolean isGroupFacets()
SolrSearchQueryTemplate.groupFacets attribute.public boolean isGroupFacetsAsPrimitive(SessionContext ctx)
SolrSearchQueryTemplate.groupFacets attribute.public boolean isGroupFacetsAsPrimitive()
SolrSearchQueryTemplate.groupFacets attribute.public void setGroupFacets(SessionContext ctx, java.lang.Boolean value)
SolrSearchQueryTemplate.groupFacets attribute.value - the groupFacetspublic void setGroupFacets(java.lang.Boolean value)
SolrSearchQueryTemplate.groupFacets attribute.value - the groupFacetspublic void setGroupFacets(SessionContext ctx, boolean value)
SolrSearchQueryTemplate.groupFacets attribute.value - the groupFacetspublic void setGroupFacets(boolean value)
SolrSearchQueryTemplate.groupFacets attribute.value - the groupFacetspublic java.lang.Integer getGroupLimit(SessionContext ctx)
SolrSearchQueryTemplate.groupLimit attribute.public java.lang.Integer getGroupLimit()
SolrSearchQueryTemplate.groupLimit attribute.public int getGroupLimitAsPrimitive(SessionContext ctx)
SolrSearchQueryTemplate.groupLimit attribute.public int getGroupLimitAsPrimitive()
SolrSearchQueryTemplate.groupLimit attribute.public void setGroupLimit(SessionContext ctx, java.lang.Integer value)
SolrSearchQueryTemplate.groupLimit attribute.value - the groupLimitpublic void setGroupLimit(java.lang.Integer value)
SolrSearchQueryTemplate.groupLimit attribute.value - the groupLimitpublic void setGroupLimit(SessionContext ctx, int value)
SolrSearchQueryTemplate.groupLimit attribute.value - the groupLimitpublic void setGroupLimit(int value)
SolrSearchQueryTemplate.groupLimit attribute.value - the groupLimitpublic SolrIndexedProperty getGroupProperty(SessionContext ctx)
SolrSearchQueryTemplate.groupProperty attribute.public SolrIndexedProperty getGroupProperty()
SolrSearchQueryTemplate.groupProperty attribute.public void setGroupProperty(SessionContext ctx, SolrIndexedProperty value)
SolrSearchQueryTemplate.groupProperty attribute.value - the groupPropertypublic void setGroupProperty(SolrIndexedProperty value)
SolrSearchQueryTemplate.groupProperty attribute.value - the groupPropertypublic SolrIndexedType getIndexedType(SessionContext ctx)
SolrSearchQueryTemplate.indexedType attribute.public SolrIndexedType getIndexedType()
SolrSearchQueryTemplate.indexedType attribute.protected void setIndexedType(SessionContext ctx, SolrIndexedType value)
SolrSearchQueryTemplate.indexedType attribute.value - the indexedTypeprotected void setIndexedType(SolrIndexedType value)
SolrSearchQueryTemplate.indexedType attribute.value - the indexedTypepublic java.lang.String getName(SessionContext ctx)
SolrSearchQueryTemplate.name attribute.public java.lang.String getName()
SolrSearchQueryTemplate.name attribute.public void setName(SessionContext ctx, java.lang.String value)
SolrSearchQueryTemplate.name attribute.value - the namepublic void setName(java.lang.String value)
SolrSearchQueryTemplate.name attribute.value - the namepublic java.lang.Integer getPageSize(SessionContext ctx)
SolrSearchQueryTemplate.pageSize attribute.public java.lang.Integer getPageSize()
SolrSearchQueryTemplate.pageSize attribute.public int getPageSizeAsPrimitive(SessionContext ctx)
SolrSearchQueryTemplate.pageSize attribute.public int getPageSizeAsPrimitive()
SolrSearchQueryTemplate.pageSize attribute.public void setPageSize(SessionContext ctx, java.lang.Integer value)
SolrSearchQueryTemplate.pageSize attribute.value - the pageSizepublic void setPageSize(java.lang.Integer value)
SolrSearchQueryTemplate.pageSize attribute.value - the pageSizepublic void setPageSize(SessionContext ctx, int value)
SolrSearchQueryTemplate.pageSize attribute.value - the pageSizepublic void setPageSize(int value)
SolrSearchQueryTemplate.pageSize attribute.value - the pageSizepublic java.lang.Boolean isRestrictFieldsInResponse(SessionContext ctx)
SolrSearchQueryTemplate.restrictFieldsInResponse attribute.public java.lang.Boolean isRestrictFieldsInResponse()
SolrSearchQueryTemplate.restrictFieldsInResponse attribute.public boolean isRestrictFieldsInResponseAsPrimitive(SessionContext ctx)
SolrSearchQueryTemplate.restrictFieldsInResponse attribute.public boolean isRestrictFieldsInResponseAsPrimitive()
SolrSearchQueryTemplate.restrictFieldsInResponse attribute.public void setRestrictFieldsInResponse(SessionContext ctx, java.lang.Boolean value)
SolrSearchQueryTemplate.restrictFieldsInResponse attribute.value - the restrictFieldsInResponsepublic void setRestrictFieldsInResponse(java.lang.Boolean value)
SolrSearchQueryTemplate.restrictFieldsInResponse attribute.value - the restrictFieldsInResponsepublic void setRestrictFieldsInResponse(SessionContext ctx, boolean value)
SolrSearchQueryTemplate.restrictFieldsInResponse attribute.value - the restrictFieldsInResponsepublic void setRestrictFieldsInResponse(boolean value)
SolrSearchQueryTemplate.restrictFieldsInResponse attribute.value - the restrictFieldsInResponsepublic java.util.Collection<SolrSearchQueryProperty> getSearchQueryProperties(SessionContext ctx)
SolrSearchQueryTemplate.searchQueryProperties attribute.public java.util.Collection<SolrSearchQueryProperty> getSearchQueryProperties()
SolrSearchQueryTemplate.searchQueryProperties attribute.public void setSearchQueryProperties(SessionContext ctx, java.util.Collection<SolrSearchQueryProperty> value)
SolrSearchQueryTemplate.searchQueryProperties attribute.value - the searchQueryPropertiespublic void setSearchQueryProperties(java.util.Collection<SolrSearchQueryProperty> value)
SolrSearchQueryTemplate.searchQueryProperties attribute.value - the searchQueryPropertiespublic void addToSearchQueryProperties(SessionContext ctx, SolrSearchQueryProperty value)
value to searchQueryProperties.value - the item to add to searchQueryPropertiespublic void addToSearchQueryProperties(SolrSearchQueryProperty value)
value to searchQueryProperties.value - the item to add to searchQueryPropertiespublic void removeFromSearchQueryProperties(SessionContext ctx, SolrSearchQueryProperty value)
value from searchQueryProperties.value - the item to remove from searchQueryPropertiespublic void removeFromSearchQueryProperties(SolrSearchQueryProperty value)
value from searchQueryProperties.value - the item to remove from searchQueryPropertiespublic java.util.Collection<SolrSearchQuerySort> getSearchQuerySorts(SessionContext ctx)
SolrSearchQueryTemplate.searchQuerySorts attribute.public java.util.Collection<SolrSearchQuerySort> getSearchQuerySorts()
SolrSearchQueryTemplate.searchQuerySorts attribute.public void setSearchQuerySorts(SessionContext ctx, java.util.Collection<SolrSearchQuerySort> value)
SolrSearchQueryTemplate.searchQuerySorts attribute.value - the searchQuerySortspublic void setSearchQuerySorts(java.util.Collection<SolrSearchQuerySort> value)
SolrSearchQueryTemplate.searchQuerySorts attribute.value - the searchQuerySortspublic void addToSearchQuerySorts(SessionContext ctx, SolrSearchQuerySort value)
value to searchQuerySorts.value - the item to add to searchQuerySortspublic void addToSearchQuerySorts(SolrSearchQuerySort value)
value to searchQuerySorts.value - the item to add to searchQuerySortspublic void removeFromSearchQuerySorts(SessionContext ctx, SolrSearchQuerySort value)
value from searchQuerySorts.value - the item to remove from searchQuerySortspublic void removeFromSearchQuerySorts(SolrSearchQuerySort value)
value from searchQuerySorts.value - the item to remove from searchQuerySortspublic java.lang.Boolean isShowFacets(SessionContext ctx)
SolrSearchQueryTemplate.showFacets attribute.public java.lang.Boolean isShowFacets()
SolrSearchQueryTemplate.showFacets attribute.public boolean isShowFacetsAsPrimitive(SessionContext ctx)
SolrSearchQueryTemplate.showFacets attribute.public boolean isShowFacetsAsPrimitive()
SolrSearchQueryTemplate.showFacets attribute.public void setShowFacets(SessionContext ctx, java.lang.Boolean value)
SolrSearchQueryTemplate.showFacets attribute.value - the showFacetspublic void setShowFacets(java.lang.Boolean value)
SolrSearchQueryTemplate.showFacets attribute.value - the showFacetspublic void setShowFacets(SessionContext ctx, boolean value)
SolrSearchQueryTemplate.showFacets attribute.value - the showFacetspublic void setShowFacets(boolean value)
SolrSearchQueryTemplate.showFacets attribute.value - the showFacetsCopyright © 2018 SAP SE. All Rights Reserved.