Class AdvancedSavedQuery
- java.lang.Object
-
- de.hybris.platform.util.BridgeAbstraction
-
- de.hybris.platform.jalo.Item
-
- de.hybris.platform.jalo.ExtensibleItem
-
- de.hybris.platform.jalo.c2l.LocalizableItem
-
- de.hybris.platform.jalo.GenericItem
-
- de.hybris.platform.jalo.flexiblesearch.GeneratedSavedQuery
-
- de.hybris.platform.jalo.flexiblesearch.SavedQuery
-
- de.hybris.platform.advancedsavedquery.jalo.GeneratedAdvancedSavedQuery
-
- de.hybris.platform.advancedsavedquery.jalo.AdvancedSavedQuery
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable
public class AdvancedSavedQuery extends GeneratedAdvancedSavedQuery
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
AdvancedSavedQuery.SearchParameterContainer
-
Nested classes/interfaces inherited from class de.hybris.platform.jalo.GenericItem
GenericItem.GenericItemImpl
-
Nested classes/interfaces inherited from class de.hybris.platform.jalo.c2l.LocalizableItem
LocalizableItem.LocalizableItemImpl
-
Nested classes/interfaces inherited from class de.hybris.platform.jalo.ExtensibleItem
ExtensibleItem.ExtensibleItemImpl
-
Nested classes/interfaces inherited from class de.hybris.platform.jalo.Item
Item.AttributeFilter, Item.AttributeMode, Item.CachedGetter, Item.CachedSetter, Item.ItemAttributeMap, Item.ItemConstraint, Item.ItemImpl, Item.JaloCachedComputationException
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.advancedsavedquery.jalo.GeneratedAdvancedSavedQuery
DEFAULT_INITIAL_ATTRIBUTES, GENERATEDFLEXIBLESEARCH, WHEREPARTS, WHEREPARTSHANDLER
-
Fields inherited from class de.hybris.platform.jalo.flexiblesearch.SavedQuery
TYPE_PLACEHOLDER
-
Fields inherited from class de.hybris.platform.jalo.flexiblesearch.GeneratedSavedQuery
CODE, DESCRIPTION, NAME, PARAMS, PARAMTYPES, QUERY, RESULTTYPE
-
Fields inherited from class de.hybris.platform.jalo.c2l.LocalizableItem
LANGUAGE_FALLBACK_ENABLED
-
Fields inherited from class de.hybris.platform.jalo.Item
_CREATION_TIME_INTERNAL, _MODIFIED_TIME_INTERNAL, accessorLog, CREATION_TIME, DISABLE_ATTRIBUTE_CHECK, DISABLE_ITEMCHECK_BEFORE_REMOVABLE, EVEN, FEATURE_ACCESSMAP_QUALIFIER, HJMPTS, INITIAL_CREATION_FLAG, isJaloOnly, MODIFIED_TIME, NEGATIVE, NOT_FOUND, OWNER, PK, POSITIVE, SAVE_FROM_SERVICE_LAYER, staticTransientObjects, TYPE
-
Fields inherited from class de.hybris.platform.util.BridgeAbstraction
impl, tenant
-
-
Constructor Summary
Constructors Constructor Description AdvancedSavedQuery()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.String
getGeneratedFlexibleSearch(SessionContext ctx)
Generated method - Getter of theAdvancedSavedQuery.generatedFlexibleSearch
attribute.java.lang.String
getGeneratedFlexibleSearch(SessionContext ctx, java.util.List<AdvancedSavedQuery.SearchParameterContainer> queryParameterList)
java.lang.String
getGeneratedFlexibleSearch(SessionContext ctx, java.util.List<AdvancedSavedQuery.SearchParameterContainer> queryParameterList, java.lang.String orderBy, java.lang.String sortDirection)
Translates the whereparts into a valid flexible search string.java.lang.String
getGeneratedFlexibleSearch(java.util.List<AdvancedSavedQuery.SearchParameterContainer> queryParameterList)
Translates the whereparts into a valid flexible search string.java.lang.String
getGeneratedFlexibleSearch(java.util.List<AdvancedSavedQuery.SearchParameterContainer> queryParameterList, java.lang.String orderBy, java.lang.String sortDirection)
java.util.Map
getParams()
Deprecated.since agesWherePart
getWherePart(SessionContext ctx, java.lang.String pattern)
Returns a where part by it's replace pattern.WherePart
getWherePart(java.lang.String pattern)
Returns a where part by it's replace pattern.java.util.Collection
getWhereparts(SessionContext ctx)
Generated method - Getter of theAdvancedSavedQuery.whereparts
attribute.void
setWhereparts(SessionContext ctx, java.util.Collection value)
Generated method - Setter of theAdvancedSavedQuery.whereparts
attribute.-
Methods inherited from class de.hybris.platform.advancedsavedquery.jalo.GeneratedAdvancedSavedQuery
addToWhereparts, addToWhereparts, getDefaultAttributeModes, getGeneratedFlexibleSearch, getWhereparts, removeFromWhereparts, removeFromWhereparts, setWhereparts
-
Methods inherited from class de.hybris.platform.jalo.flexiblesearch.SavedQuery
createItem, getAllParams, setCode, setParams
-
Methods inherited from class de.hybris.platform.jalo.flexiblesearch.GeneratedSavedQuery
getAllDescription, getAllDescription, getAllName, getAllName, getAllParams, getCode, getCode, getDescription, getDescription, getName, getName, getQuery, getQuery, getResultType, getResultType, setAllDescription, setAllDescription, setAllName, setAllName, setAllParams, setAllParams, setCode, setDescription, setDescription, setName, setName, setQuery, setQuery, setResultType, setResultType
-
Methods inherited from class de.hybris.platform.jalo.GenericItem
getImplementation, getInitialProperties, getNonInitialAttributes, getRelatedItems, setRelatedItems
-
Methods inherited from class de.hybris.platform.jalo.c2l.LocalizableItem
getAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllValuesSessionContext, getLocalizedProperty, getLocalizedProperty, getLocalizedPropertyInternal, getLocalizedPropertyNames, getLocalizedPropertyNames, hasLanguage, isEmptyValue, isFallbackEnabled, removeLocalizedProperty, removeLocalizedProperty, setAllLocalizedProperties, setAllLocalizedProperties, setLocalizedProperty, setLocalizedProperty
-
Methods inherited from class de.hybris.platform.jalo.ExtensibleItem
createNonClassAccessor, getAllProperties, getAllProperties, getProperty, getProperty, getPropertyNames, getPropertyNames, removeProperty, removeProperty, setAllProperties, setAllProperties, setProperty, setProperty
-
Methods inherited from class de.hybris.platform.jalo.Item
addLinkedItems, 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, notifyManagerAboutItemRemoval, readResolve, 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, writeReplace
-
Methods inherited from class de.hybris.platform.util.BridgeAbstraction
setTenant
-
-
-
-
Method Detail
-
getGeneratedFlexibleSearch
public java.lang.String getGeneratedFlexibleSearch(SessionContext ctx)
Description copied from class:GeneratedAdvancedSavedQuery
Generated method - Getter of theAdvancedSavedQuery.generatedFlexibleSearch
attribute.- Specified by:
getGeneratedFlexibleSearch
in classGeneratedAdvancedSavedQuery
- Returns:
- the generatedFlexibleSearch
-
getGeneratedFlexibleSearch
public java.lang.String getGeneratedFlexibleSearch(java.util.List<AdvancedSavedQuery.SearchParameterContainer> queryParameterList)
Translates the whereparts into a valid flexible search string.- Returns:
- A flexible search string like SELECT {pk} FROM {Customer} Where {customerID}=?value.
-
getGeneratedFlexibleSearch
public java.lang.String getGeneratedFlexibleSearch(java.util.List<AdvancedSavedQuery.SearchParameterContainer> queryParameterList, java.lang.String orderBy, java.lang.String sortDirection)
- Parameters:
queryParameterList
-orderBy
-
-
getGeneratedFlexibleSearch
public java.lang.String getGeneratedFlexibleSearch(SessionContext ctx, java.util.List<AdvancedSavedQuery.SearchParameterContainer> queryParameterList)
- Parameters:
ctx
-queryParameterList
-
-
getGeneratedFlexibleSearch
public java.lang.String getGeneratedFlexibleSearch(SessionContext ctx, java.util.List<AdvancedSavedQuery.SearchParameterContainer> queryParameterList, java.lang.String orderBy, java.lang.String sortDirection)
Translates the whereparts into a valid flexible search string.- Parameters:
ctx
-- Returns:
- A flexible search string like SELECT {pk} FROM {Customer} Where {customerID}=?value.
-
getWhereparts
public java.util.Collection getWhereparts(SessionContext ctx)
Description copied from class:GeneratedAdvancedSavedQuery
Generated method - Getter of theAdvancedSavedQuery.whereparts
attribute.- Overrides:
getWhereparts
in classGeneratedAdvancedSavedQuery
- Returns:
- the whereparts
-
setWhereparts
public void setWhereparts(SessionContext ctx, java.util.Collection value)
Description copied from class:GeneratedAdvancedSavedQuery
Generated method - Setter of theAdvancedSavedQuery.whereparts
attribute.- Overrides:
setWhereparts
in classGeneratedAdvancedSavedQuery
value
- the whereparts
-
getWherePart
public WherePart getWherePart(java.lang.String pattern)
Returns a where part by it's replace pattern. pattern should be unique in conjunction with the SavedQuery.- Parameters:
pattern
-- See Also:
getWherePart(SessionContext, String)
-
getWherePart
public WherePart getWherePart(SessionContext ctx, java.lang.String pattern)
Returns a where part by it's replace pattern. pattern should be unique in conjunction with the SavedQuery.- Parameters:
ctx
-pattern
-
-
getParams
@Deprecated public java.util.Map getParams()
Deprecated.since ages- Overrides:
getParams
in classSavedQuery
-
-