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:
Serializable
- Direct Known Subclasses:
AdvancedSavedQueryModel
Generated model class for type SavedQuery first defined at extension core.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofSavedQuery.codeattribute defined at extensioncore.static final StringGenerated constant - Attribute key ofSavedQuery.descriptionattribute defined at extensioncore.static final StringGenerated constant - Attribute key ofSavedQuery.nameattribute defined at extensioncore.static final StringGenerated constant - Attribute key ofSavedQuery.paramsattribute defined at extensioncore.static final StringGenerated constant - Attribute key ofSavedQuery.paramtypesattribute defined at extensioncore.static final StringGenerated constant - Attribute key ofSavedQuery.queryattribute defined at extensioncore.static final StringGenerated 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, SEALEDFields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY -
Constructor Summary
ConstructorsConstructorDescriptionGenerated constructor - Default constructor for generic creation.Generated constructor - Default constructor for creation with existing contextSavedQueryModel(String _code, ItemModel _owner, 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(String _code, 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
Modifier and TypeMethodDescriptiongetCode()Generated method - Getter of theSavedQuery.codeattribute defined at extensioncore.Generated method - Getter of theSavedQuery.descriptionattribute defined at extensioncore.getDescription(Locale loc) Generated method - Getter of theSavedQuery.descriptionattribute defined at extensioncore.getName()Generated method - Getter of theSavedQuery.nameattribute defined at extensioncore.Generated method - Getter of theSavedQuery.nameattribute defined at extensioncore.Generated method - Getter of theSavedQuery.paramsattribute defined at extensioncore.getQuery()Generated method - Getter of theSavedQuery.queryattribute defined at extensioncore.Generated method - Getter of theSavedQuery.resultTypeattribute defined at extensioncore.voidGenerated method - Setter ofSavedQuery.codeattribute defined at extensioncore.voidsetDescription(String value) Generated method - Setter ofSavedQuery.descriptionattribute defined at extensioncore.voidsetDescription(String value, Locale loc) Generated method - Setter ofSavedQuery.descriptionattribute defined at extensioncore.voidGenerated method - Setter ofSavedQuery.nameattribute defined at extensioncore.voidGenerated method - Setter ofSavedQuery.nameattribute defined at extensioncore.voidGenerated method - Setter ofSavedQuery.paramsattribute defined at extensioncore.voidGenerated 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, setOwnerMethods 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 Details
-
_TYPECODE
Generated model type code constant.- See Also:
-
CODE
Generated constant - Attribute key ofSavedQuery.codeattribute defined at extensioncore.- See Also:
-
NAME
Generated constant - Attribute key ofSavedQuery.nameattribute defined at extensioncore.- See Also:
-
DESCRIPTION
Generated constant - Attribute key ofSavedQuery.descriptionattribute defined at extensioncore.- See Also:
-
PARAMTYPES
Generated constant - Attribute key ofSavedQuery.paramtypesattribute defined at extensioncore.- See Also:
-
PARAMS
Generated constant - Attribute key ofSavedQuery.paramsattribute defined at extensioncore.- See Also:
-
QUERY
Generated constant - Attribute key ofSavedQuery.queryattribute defined at extensioncore.- See Also:
-
RESULTTYPE
Generated constant - Attribute key ofSavedQuery.resultTypeattribute defined at extensioncore.- See Also:
-
-
Constructor Details
-
SavedQueryModel
public SavedQueryModel()Generated constructor - Default constructor for generic creation. -
SavedQueryModel
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(String _code, 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(String _code, ItemModel _owner, 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 Details
-
getCode
Generated method - Getter of theSavedQuery.codeattribute defined at extensioncore.- Returns:
- the code
-
getDescription
Generated method - Getter of theSavedQuery.descriptionattribute defined at extensioncore.- Returns:
- the description
-
getDescription
Generated method - Getter of theSavedQuery.descriptionattribute defined at extensioncore.- Parameters:
loc- the value localization key- Returns:
- the description
- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
getName
Generated method - Getter of theSavedQuery.nameattribute defined at extensioncore.- Returns:
- the name
-
getName
Generated method - Getter of theSavedQuery.nameattribute defined at extensioncore.- Parameters:
loc- the value localization key- Returns:
- the name
- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
getParams
Generated method - Getter of theSavedQuery.paramsattribute defined at extensioncore.- Returns:
- the params
-
getQuery
Generated method - Getter of theSavedQuery.queryattribute defined at extensioncore.- Returns:
- the query
-
getResultType
Generated method - Getter of theSavedQuery.resultTypeattribute defined at extensioncore.- Returns:
- the resultType
-
setCode
Generated method - Setter ofSavedQuery.codeattribute defined at extensioncore.- Parameters:
value- the code
-
setDescription
Generated method - Setter ofSavedQuery.descriptionattribute defined at extensioncore.- Parameters:
value- the description
-
setDescription
@Accessor(qualifier="description", type=SETTER) public void setDescription(String value, Locale loc) Generated method - Setter ofSavedQuery.descriptionattribute defined at extensioncore.- Parameters:
value- the descriptionloc- the value localization key- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
setName
Generated method - Setter ofSavedQuery.nameattribute defined at extensioncore.- Parameters:
value- the name
-
setName
Generated method - Setter ofSavedQuery.nameattribute defined at extensioncore.- Parameters:
value- the nameloc- the value localization key- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
setParams
Generated method - Setter ofSavedQuery.paramsattribute defined at extensioncore.- Parameters:
value- the params
-
setQuery
Generated method - Setter ofSavedQuery.queryattribute defined at extensioncore.- Parameters:
value- the query
-
setResultType
Generated method - Setter ofSavedQuery.resultTypeattribute defined at extensioncore.- Parameters:
value- the resultType
-