Class SavedQueryModel
- java.lang.Object
-
- de.hybris.platform.servicelayer.model.AbstractItemModel
-
- de.hybris.platform.core.model.ItemModel
-
- de.hybris.platform.core.model.flexiblesearch.SavedQueryModel
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
AdvancedSavedQueryModel
public class SavedQueryModel extends ItemModel
Generated model class for type SavedQuery first defined at extension core.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String_TYPECODEGenerated model type code constant.static java.lang.StringCODEGenerated constant - Attribute key ofSavedQuery.codeattribute defined at extensioncore.static java.lang.StringDESCRIPTIONGenerated constant - Attribute key ofSavedQuery.descriptionattribute defined at extensioncore.static java.lang.StringNAMEGenerated constant - Attribute key ofSavedQuery.nameattribute defined at extensioncore.static java.lang.StringPARAMSGenerated constant - Attribute key ofSavedQuery.paramsattribute defined at extensioncore.static java.lang.StringPARAMTYPESGenerated constant - Attribute key ofSavedQuery.paramtypesattribute defined at extensioncore.static java.lang.StringQUERYGenerated constant - Attribute key ofSavedQuery.queryattribute defined at extensioncore.static java.lang.StringRESULTTYPEGenerated constant - Attribute key ofSavedQuery.resultTypeattribute defined at extensioncore.-
Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED
-
Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
-
-
Constructor Summary
Constructors Constructor Description SavedQueryModel()Generated constructor - Default constructor for generic creation.SavedQueryModel(ItemModelContext ctx)Generated constructor - Default constructor for creation with existing contextSavedQueryModel(java.lang.String _code, ItemModel _owner, java.lang.String _query, ComposedTypeModel _resultType)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersSavedQueryModel(java.lang.String _code, java.lang.String _query, ComposedTypeModel _resultType)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parameters
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetCode()Generated method - Getter of theSavedQuery.codeattribute defined at extensioncore.java.lang.StringgetDescription()Generated method - Getter of theSavedQuery.descriptionattribute defined at extensioncore.java.lang.StringgetDescription(java.util.Locale loc)Generated method - Getter of theSavedQuery.descriptionattribute defined at extensioncore.java.lang.StringgetName()Generated method - Getter of theSavedQuery.nameattribute defined at extensioncore.java.lang.StringgetName(java.util.Locale loc)Generated method - Getter of theSavedQuery.nameattribute defined at extensioncore.java.util.Map<java.lang.String,TypeModel>getParams()Generated method - Getter of theSavedQuery.paramsattribute defined at extensioncore.java.lang.StringgetQuery()Generated method - Getter of theSavedQuery.queryattribute defined at extensioncore.ComposedTypeModelgetResultType()Generated method - Getter of theSavedQuery.resultTypeattribute defined at extensioncore.voidsetCode(java.lang.String value)Generated method - Setter ofSavedQuery.codeattribute defined at extensioncore.voidsetDescription(java.lang.String value)Generated method - Setter ofSavedQuery.descriptionattribute defined at extensioncore.voidsetDescription(java.lang.String value, java.util.Locale loc)Generated method - Setter ofSavedQuery.descriptionattribute defined at extensioncore.voidsetName(java.lang.String value)Generated method - Setter ofSavedQuery.nameattribute defined at extensioncore.voidsetName(java.lang.String value, java.util.Locale loc)Generated method - Setter ofSavedQuery.nameattribute defined at extensioncore.voidsetParams(java.util.Map<java.lang.String,TypeModel> value)Generated method - Setter ofSavedQuery.paramsattribute defined at extensioncore.voidsetQuery(java.lang.String value)Generated method - Setter ofSavedQuery.queryattribute defined at extensioncore.voidsetResultType(ComposedTypeModel value)Generated method - Setter ofSavedQuery.resultTypeattribute defined at extensioncore.-
Methods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwner
-
Methods inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
equals, getItemModelContext, getItemtype, getPersistenceContext, getPk, getProperty, getProperty, getTenantId, hashCode, readResolve, setProperty, setProperty, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toString, writeReplace
-
-
-
-
Field Detail
-
_TYPECODE
public static final java.lang.String _TYPECODE
Generated model type code constant.- See Also:
- Constant Field Values
-
CODE
public static final java.lang.String CODE
Generated constant - Attribute key ofSavedQuery.codeattribute defined at extensioncore.- See Also:
- Constant Field Values
-
NAME
public static final java.lang.String NAME
Generated constant - Attribute key ofSavedQuery.nameattribute defined at extensioncore.- See Also:
- Constant Field Values
-
DESCRIPTION
public static final java.lang.String DESCRIPTION
Generated constant - Attribute key ofSavedQuery.descriptionattribute defined at extensioncore.- See Also:
- Constant Field Values
-
PARAMTYPES
public static final java.lang.String PARAMTYPES
Generated constant - Attribute key ofSavedQuery.paramtypesattribute defined at extensioncore.- See Also:
- Constant Field Values
-
PARAMS
public static final java.lang.String PARAMS
Generated constant - Attribute key ofSavedQuery.paramsattribute defined at extensioncore.- See Also:
- Constant Field Values
-
QUERY
public static final java.lang.String QUERY
Generated constant - Attribute key ofSavedQuery.queryattribute defined at extensioncore.- See Also:
- Constant Field Values
-
RESULTTYPE
public static final java.lang.String RESULTTYPE
Generated constant - Attribute key ofSavedQuery.resultTypeattribute defined at extensioncore.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SavedQueryModel
public SavedQueryModel()
Generated constructor - Default constructor for generic creation.
-
SavedQueryModel
public SavedQueryModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
SavedQueryModel
@Deprecated(since="4.1.1", forRemoval=true) public SavedQueryModel(java.lang.String _code, java.lang.String _query, ComposedTypeModel _resultType)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_code- initial attribute declared by typeSavedQueryat extensioncore_query- initial attribute declared by typeSavedQueryat extensioncore_resultType- initial attribute declared by typeSavedQueryat extensioncore
-
SavedQueryModel
@Deprecated(since="4.1.1", forRemoval=true) public SavedQueryModel(java.lang.String _code, ItemModel _owner, java.lang.String _query, ComposedTypeModel _resultType)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_code- initial attribute declared by typeSavedQueryat extensioncore_owner- initial attribute declared by typeItemat extensioncore_query- initial attribute declared by typeSavedQueryat extensioncore_resultType- initial attribute declared by typeSavedQueryat extensioncore
-
-
Method Detail
-
getCode
@Accessor(qualifier="code", type=GETTER) public java.lang.String getCode()
Generated method - Getter of theSavedQuery.codeattribute defined at extensioncore.- Returns:
- the code
-
getDescription
@Accessor(qualifier="description", type=GETTER) public java.lang.String getDescription()
Generated method - Getter of theSavedQuery.descriptionattribute defined at extensioncore.- Returns:
- the description
-
getDescription
@Accessor(qualifier="description", type=GETTER) public java.lang.String getDescription(java.util.Locale loc)
Generated method - Getter of theSavedQuery.descriptionattribute defined at extensioncore.- Parameters:
loc- the value localization key- Returns:
- the description
- Throws:
java.lang.IllegalArgumentException- if localization key cannot be mapped to data language
-
getName
@Accessor(qualifier="name", type=GETTER) public java.lang.String getName()
Generated method - Getter of theSavedQuery.nameattribute defined at extensioncore.- Returns:
- the name
-
getName
@Accessor(qualifier="name", type=GETTER) public java.lang.String getName(java.util.Locale loc)
Generated method - Getter of theSavedQuery.nameattribute defined at extensioncore.- Parameters:
loc- the value localization key- Returns:
- the name
- Throws:
java.lang.IllegalArgumentException- if localization key cannot be mapped to data language
-
getParams
@Accessor(qualifier="params", type=GETTER) public java.util.Map<java.lang.String,TypeModel> getParams()
Generated method - Getter of theSavedQuery.paramsattribute defined at extensioncore.- Returns:
- the params
-
getQuery
@Accessor(qualifier="query", type=GETTER) public java.lang.String getQuery()
Generated method - Getter of theSavedQuery.queryattribute defined at extensioncore.- Returns:
- the query
-
getResultType
@Accessor(qualifier="resultType", type=GETTER) public ComposedTypeModel getResultType()
Generated method - Getter of theSavedQuery.resultTypeattribute defined at extensioncore.- Returns:
- the resultType
-
setCode
@Accessor(qualifier="code", type=SETTER) public void setCode(java.lang.String value)
Generated method - Setter ofSavedQuery.codeattribute defined at extensioncore.- Parameters:
value- the code
-
setDescription
@Accessor(qualifier="description", type=SETTER) public void setDescription(java.lang.String value)
Generated method - Setter ofSavedQuery.descriptionattribute defined at extensioncore.- Parameters:
value- the description
-
setDescription
@Accessor(qualifier="description", type=SETTER) public void setDescription(java.lang.String value, java.util.Locale loc)
Generated method - Setter ofSavedQuery.descriptionattribute defined at extensioncore.- Parameters:
value- the descriptionloc- the value localization key- Throws:
java.lang.IllegalArgumentException- if localization key cannot be mapped to data language
-
setName
@Accessor(qualifier="name", type=SETTER) public void setName(java.lang.String value)
Generated method - Setter ofSavedQuery.nameattribute defined at extensioncore.- Parameters:
value- the name
-
setName
@Accessor(qualifier="name", type=SETTER) public void setName(java.lang.String value, java.util.Locale loc)
Generated method - Setter ofSavedQuery.nameattribute defined at extensioncore.- Parameters:
value- the nameloc- the value localization key- Throws:
java.lang.IllegalArgumentException- if localization key cannot be mapped to data language
-
setParams
@Accessor(qualifier="params", type=SETTER) public void setParams(java.util.Map<java.lang.String,TypeModel> value)
Generated method - Setter ofSavedQuery.paramsattribute defined at extensioncore.- Parameters:
value- the params
-
setQuery
@Accessor(qualifier="query", type=SETTER) public void setQuery(java.lang.String value)
Generated method - Setter ofSavedQuery.queryattribute defined at extensioncore.- Parameters:
value- the query
-
setResultType
@Accessor(qualifier="resultType", type=SETTER) public void setResultType(ComposedTypeModel value)
Generated method - Setter ofSavedQuery.resultTypeattribute defined at extensioncore.- Parameters:
value- the resultType
-
-