Class BackofficeSavedQueryModel
- java.lang.Object
-
- de.hybris.platform.servicelayer.model.AbstractItemModel
-
- de.hybris.platform.core.model.ItemModel
-
- de.hybris.platform.platformbackoffice.model.BackofficeSavedQueryModel
-
- All Implemented Interfaces:
java.io.Serializable
public class BackofficeSavedQueryModel extends ItemModel
Generated model class for type BackofficeSavedQuery first defined at extension platformbackoffice.- 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.StringCONDITIONSGenerated constant - Attribute key ofBackofficeSavedQuery.conditionsattribute defined at extensionplatformbackoffice.static java.lang.StringGLOBALOPERATORCODEGenerated constant - Attribute key ofBackofficeSavedQuery.globalOperatorCodeattribute defined at extensionplatformbackoffice.static java.lang.StringINCLUDESUBTYPESGenerated constant - Attribute key ofBackofficeSavedQuery.includeSubtypesattribute defined at extensionplatformbackoffice.static java.lang.StringNAMEGenerated constant - Attribute key ofBackofficeSavedQuery.nameattribute defined at extensionplatformbackoffice.static java.lang.StringQUERYOWNERGenerated constant - Attribute key ofBackofficeSavedQuery.queryOwnerattribute defined at extensionplatformbackoffice.static java.lang.StringSAVEDQUERIESPARAMETERSGenerated constant - Attribute key ofBackofficeSavedQuery.savedQueriesParametersattribute defined at extensionplatformbackoffice.static java.lang.StringSEARCHMODEGenerated constant - Attribute key ofBackofficeSavedQuery.searchModeattribute defined at extensionplatformbackoffice.static java.lang.StringSORTASCGenerated constant - Attribute key ofBackofficeSavedQuery.sortAscattribute defined at extensionplatformbackoffice.static java.lang.StringSORTATTRIBUTEGenerated constant - Attribute key ofBackofficeSavedQuery.sortAttributeattribute defined at extensionplatformbackoffice.static java.lang.StringTOKENIZABLEGenerated constant - Attribute key ofBackofficeSavedQuery.tokenizableattribute defined at extensionplatformbackoffice.static java.lang.StringTYPECODEGenerated constant - Attribute key ofBackofficeSavedQuery.typeCodeattribute defined at extensionplatformbackoffice.static java.lang.StringUSERGROUPSGenerated constant - Attribute key ofBackofficeSavedQuery.userGroupsattribute defined at extensionplatformbackoffice.-
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 BackofficeSavedQueryModel()Generated constructor - Default constructor for generic creation.BackofficeSavedQueryModel(ItemModel _owner, UserModel _queryOwner, java.lang.String _typeCode)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersBackofficeSavedQueryModel(UserModel _queryOwner, java.lang.String _typeCode)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersBackofficeSavedQueryModel(ItemModelContext ctx)Generated constructor - Default constructor for creation with existing context
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Collection<BackofficeSearchConditionModel>getConditions()Generated method - Getter of theBackofficeSavedQuery.conditionsattribute defined at extensionplatformbackoffice.java.lang.StringgetGlobalOperatorCode()Generated method - Getter of theBackofficeSavedQuery.globalOperatorCodeattribute defined at extensionplatformbackoffice.java.lang.BooleangetIncludeSubtypes()Generated method - Getter of theBackofficeSavedQuery.includeSubtypesattribute defined at extensionplatformbackoffice.java.lang.StringgetName()Generated method - Getter of theBackofficeSavedQuery.nameattribute defined at extensionplatformbackoffice.java.lang.StringgetName(java.util.Locale loc)Generated method - Getter of theBackofficeSavedQuery.nameattribute defined at extensionplatformbackoffice.UserModelgetQueryOwner()Generated method - Getter of theBackofficeSavedQuery.queryOwnerattribute defined at extensionplatformbackoffice.java.util.Map<java.lang.String,java.lang.String>getSavedQueriesParameters()Generated method - Getter of theBackofficeSavedQuery.savedQueriesParametersattribute defined at extensionplatformbackoffice.java.lang.StringgetSearchMode()Generated method - Getter of theBackofficeSavedQuery.searchModeattribute defined at extensionplatformbackoffice.java.lang.BooleangetSortAsc()Generated method - Getter of theBackofficeSavedQuery.sortAscattribute defined at extensionplatformbackoffice.java.lang.StringgetSortAttribute()Generated method - Getter of theBackofficeSavedQuery.sortAttributeattribute defined at extensionplatformbackoffice.java.lang.BooleangetTokenizable()Generated method - Getter of theBackofficeSavedQuery.tokenizableattribute defined at extensionplatformbackoffice.java.lang.StringgetTypeCode()Generated method - Getter of theBackofficeSavedQuery.typeCodeattribute defined at extensionplatformbackoffice.java.util.Collection<UserGroupModel>getUserGroups()Generated method - Getter of theBackofficeSavedQuery.userGroupsattribute defined at extensionplatformbackoffice.voidsetConditions(java.util.Collection<BackofficeSearchConditionModel> value)Generated method - Setter ofBackofficeSavedQuery.conditionsattribute defined at extensionplatformbackoffice.voidsetGlobalOperatorCode(java.lang.String value)Generated method - Setter ofBackofficeSavedQuery.globalOperatorCodeattribute defined at extensionplatformbackoffice.voidsetIncludeSubtypes(java.lang.Boolean value)Generated method - Setter ofBackofficeSavedQuery.includeSubtypesattribute defined at extensionplatformbackoffice.voidsetName(java.lang.String value)Generated method - Setter ofBackofficeSavedQuery.nameattribute defined at extensionplatformbackoffice.voidsetName(java.lang.String value, java.util.Locale loc)Generated method - Setter ofBackofficeSavedQuery.nameattribute defined at extensionplatformbackoffice.voidsetQueryOwner(UserModel value)Generated method - Setter ofBackofficeSavedQuery.queryOwnerattribute defined at extensionplatformbackoffice.voidsetSavedQueriesParameters(java.util.Map<java.lang.String,java.lang.String> value)Generated method - Setter ofBackofficeSavedQuery.savedQueriesParametersattribute defined at extensionplatformbackoffice.voidsetSearchMode(java.lang.String value)Generated method - Setter ofBackofficeSavedQuery.searchModeattribute defined at extensionplatformbackoffice.voidsetSortAsc(java.lang.Boolean value)Generated method - Setter ofBackofficeSavedQuery.sortAscattribute defined at extensionplatformbackoffice.voidsetSortAttribute(java.lang.String value)Generated method - Setter ofBackofficeSavedQuery.sortAttributeattribute defined at extensionplatformbackoffice.voidsetTokenizable(java.lang.Boolean value)Generated method - Setter ofBackofficeSavedQuery.tokenizableattribute defined at extensionplatformbackoffice.voidsetTypeCode(java.lang.String value)Generated method - Setter ofBackofficeSavedQuery.typeCodeattribute defined at extensionplatformbackoffice.voidsetUserGroups(java.util.Collection<UserGroupModel> value)Generated method - Setter ofBackofficeSavedQuery.userGroupsattribute defined at extensionplatformbackoffice.-
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
-
NAME
public static final java.lang.String NAME
Generated constant - Attribute key ofBackofficeSavedQuery.nameattribute defined at extensionplatformbackoffice.- See Also:
- Constant Field Values
-
QUERYOWNER
public static final java.lang.String QUERYOWNER
Generated constant - Attribute key ofBackofficeSavedQuery.queryOwnerattribute defined at extensionplatformbackoffice.- See Also:
- Constant Field Values
-
TYPECODE
public static final java.lang.String TYPECODE
Generated constant - Attribute key ofBackofficeSavedQuery.typeCodeattribute defined at extensionplatformbackoffice.- See Also:
- Constant Field Values
-
INCLUDESUBTYPES
public static final java.lang.String INCLUDESUBTYPES
Generated constant - Attribute key ofBackofficeSavedQuery.includeSubtypesattribute defined at extensionplatformbackoffice.- See Also:
- Constant Field Values
-
GLOBALOPERATORCODE
public static final java.lang.String GLOBALOPERATORCODE
Generated constant - Attribute key ofBackofficeSavedQuery.globalOperatorCodeattribute defined at extensionplatformbackoffice.- See Also:
- Constant Field Values
-
SORTATTRIBUTE
public static final java.lang.String SORTATTRIBUTE
Generated constant - Attribute key ofBackofficeSavedQuery.sortAttributeattribute defined at extensionplatformbackoffice.- See Also:
- Constant Field Values
-
SORTASC
public static final java.lang.String SORTASC
Generated constant - Attribute key ofBackofficeSavedQuery.sortAscattribute defined at extensionplatformbackoffice.- See Also:
- Constant Field Values
-
TOKENIZABLE
public static final java.lang.String TOKENIZABLE
Generated constant - Attribute key ofBackofficeSavedQuery.tokenizableattribute defined at extensionplatformbackoffice.- See Also:
- Constant Field Values
-
SEARCHMODE
public static final java.lang.String SEARCHMODE
Generated constant - Attribute key ofBackofficeSavedQuery.searchModeattribute defined at extensionplatformbackoffice.- See Also:
- Constant Field Values
-
SAVEDQUERIESPARAMETERS
public static final java.lang.String SAVEDQUERIESPARAMETERS
Generated constant - Attribute key ofBackofficeSavedQuery.savedQueriesParametersattribute defined at extensionplatformbackoffice.- See Also:
- Constant Field Values
-
CONDITIONS
public static final java.lang.String CONDITIONS
Generated constant - Attribute key ofBackofficeSavedQuery.conditionsattribute defined at extensionplatformbackoffice.- See Also:
- Constant Field Values
-
USERGROUPS
public static final java.lang.String USERGROUPS
Generated constant - Attribute key ofBackofficeSavedQuery.userGroupsattribute defined at extensionplatformbackoffice.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
BackofficeSavedQueryModel
public BackofficeSavedQueryModel()
Generated constructor - Default constructor for generic creation.
-
BackofficeSavedQueryModel
public BackofficeSavedQueryModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
BackofficeSavedQueryModel
@Deprecated(since="4.1.1", forRemoval=true) public BackofficeSavedQueryModel(UserModel _queryOwner, java.lang.String _typeCode)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:
_queryOwner- initial attribute declared by typeBackofficeSavedQueryat extensionplatformbackoffice_typeCode- initial attribute declared by typeBackofficeSavedQueryat extensionplatformbackoffice
-
BackofficeSavedQueryModel
@Deprecated(since="4.1.1", forRemoval=true) public BackofficeSavedQueryModel(ItemModel _owner, UserModel _queryOwner, java.lang.String _typeCode)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:
_owner- initial attribute declared by typeItemat extensioncore_queryOwner- initial attribute declared by typeBackofficeSavedQueryat extensionplatformbackoffice_typeCode- initial attribute declared by typeBackofficeSavedQueryat extensionplatformbackoffice
-
-
Method Detail
-
getConditions
@Accessor(qualifier="conditions", type=GETTER) public java.util.Collection<BackofficeSearchConditionModel> getConditions()
Generated method - Getter of theBackofficeSavedQuery.conditionsattribute defined at extensionplatformbackoffice. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the conditions
-
getGlobalOperatorCode
@Accessor(qualifier="globalOperatorCode", type=GETTER) public java.lang.String getGlobalOperatorCode()
Generated method - Getter of theBackofficeSavedQuery.globalOperatorCodeattribute defined at extensionplatformbackoffice.- Returns:
- the globalOperatorCode
-
getIncludeSubtypes
@Accessor(qualifier="includeSubtypes", type=GETTER) public java.lang.Boolean getIncludeSubtypes()
Generated method - Getter of theBackofficeSavedQuery.includeSubtypesattribute defined at extensionplatformbackoffice.- Returns:
- the includeSubtypes
-
getName
@Accessor(qualifier="name", type=GETTER) public java.lang.String getName()
Generated method - Getter of theBackofficeSavedQuery.nameattribute defined at extensionplatformbackoffice.- Returns:
- the name
-
getName
@Accessor(qualifier="name", type=GETTER) public java.lang.String getName(java.util.Locale loc)
Generated method - Getter of theBackofficeSavedQuery.nameattribute defined at extensionplatformbackoffice.- Parameters:
loc- the value localization key- Returns:
- the name
- Throws:
java.lang.IllegalArgumentException- if localization key cannot be mapped to data language
-
getQueryOwner
@Accessor(qualifier="queryOwner", type=GETTER) public UserModel getQueryOwner()
Generated method - Getter of theBackofficeSavedQuery.queryOwnerattribute defined at extensionplatformbackoffice.- Returns:
- the queryOwner
-
getSavedQueriesParameters
@Accessor(qualifier="savedQueriesParameters", type=GETTER) public java.util.Map<java.lang.String,java.lang.String> getSavedQueriesParameters()
Generated method - Getter of theBackofficeSavedQuery.savedQueriesParametersattribute defined at extensionplatformbackoffice.- Returns:
- the savedQueriesParameters
-
getSearchMode
@Accessor(qualifier="searchMode", type=GETTER) public java.lang.String getSearchMode()
Generated method - Getter of theBackofficeSavedQuery.searchModeattribute defined at extensionplatformbackoffice.- Returns:
- the searchMode
-
getSortAsc
@Accessor(qualifier="sortAsc", type=GETTER) public java.lang.Boolean getSortAsc()
Generated method - Getter of theBackofficeSavedQuery.sortAscattribute defined at extensionplatformbackoffice.- Returns:
- the sortAsc
-
getSortAttribute
@Accessor(qualifier="sortAttribute", type=GETTER) public java.lang.String getSortAttribute()
Generated method - Getter of theBackofficeSavedQuery.sortAttributeattribute defined at extensionplatformbackoffice.- Returns:
- the sortAttribute
-
getTokenizable
@Accessor(qualifier="tokenizable", type=GETTER) public java.lang.Boolean getTokenizable()
Generated method - Getter of theBackofficeSavedQuery.tokenizableattribute defined at extensionplatformbackoffice.- Returns:
- the tokenizable
-
getTypeCode
@Accessor(qualifier="typeCode", type=GETTER) public java.lang.String getTypeCode()
Generated method - Getter of theBackofficeSavedQuery.typeCodeattribute defined at extensionplatformbackoffice.- Returns:
- the typeCode
-
getUserGroups
@Accessor(qualifier="userGroups", type=GETTER) public java.util.Collection<UserGroupModel> getUserGroups()
Generated method - Getter of theBackofficeSavedQuery.userGroupsattribute defined at extensionplatformbackoffice. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the userGroups
-
setConditions
@Accessor(qualifier="conditions", type=SETTER) public void setConditions(java.util.Collection<BackofficeSearchConditionModel> value)
Generated method - Setter ofBackofficeSavedQuery.conditionsattribute defined at extensionplatformbackoffice.- Parameters:
value- the conditions
-
setGlobalOperatorCode
@Accessor(qualifier="globalOperatorCode", type=SETTER) public void setGlobalOperatorCode(java.lang.String value)
Generated method - Setter ofBackofficeSavedQuery.globalOperatorCodeattribute defined at extensionplatformbackoffice.- Parameters:
value- the globalOperatorCode
-
setIncludeSubtypes
@Accessor(qualifier="includeSubtypes", type=SETTER) public void setIncludeSubtypes(java.lang.Boolean value)
Generated method - Setter ofBackofficeSavedQuery.includeSubtypesattribute defined at extensionplatformbackoffice.- Parameters:
value- the includeSubtypes
-
setName
@Accessor(qualifier="name", type=SETTER) public void setName(java.lang.String value)
Generated method - Setter ofBackofficeSavedQuery.nameattribute defined at extensionplatformbackoffice.- Parameters:
value- the name
-
setName
@Accessor(qualifier="name", type=SETTER) public void setName(java.lang.String value, java.util.Locale loc)
Generated method - Setter ofBackofficeSavedQuery.nameattribute defined at extensionplatformbackoffice.- Parameters:
value- the nameloc- the value localization key- Throws:
java.lang.IllegalArgumentException- if localization key cannot be mapped to data language
-
setQueryOwner
@Accessor(qualifier="queryOwner", type=SETTER) public void setQueryOwner(UserModel value)
Generated method - Setter ofBackofficeSavedQuery.queryOwnerattribute defined at extensionplatformbackoffice.- Parameters:
value- the queryOwner
-
setSavedQueriesParameters
@Accessor(qualifier="savedQueriesParameters", type=SETTER) public void setSavedQueriesParameters(java.util.Map<java.lang.String,java.lang.String> value)
Generated method - Setter ofBackofficeSavedQuery.savedQueriesParametersattribute defined at extensionplatformbackoffice.- Parameters:
value- the savedQueriesParameters
-
setSearchMode
@Accessor(qualifier="searchMode", type=SETTER) public void setSearchMode(java.lang.String value)
Generated method - Setter ofBackofficeSavedQuery.searchModeattribute defined at extensionplatformbackoffice.- Parameters:
value- the searchMode
-
setSortAsc
@Accessor(qualifier="sortAsc", type=SETTER) public void setSortAsc(java.lang.Boolean value)
Generated method - Setter ofBackofficeSavedQuery.sortAscattribute defined at extensionplatformbackoffice.- Parameters:
value- the sortAsc
-
setSortAttribute
@Accessor(qualifier="sortAttribute", type=SETTER) public void setSortAttribute(java.lang.String value)
Generated method - Setter ofBackofficeSavedQuery.sortAttributeattribute defined at extensionplatformbackoffice.- Parameters:
value- the sortAttribute
-
setTokenizable
@Accessor(qualifier="tokenizable", type=SETTER) public void setTokenizable(java.lang.Boolean value)
Generated method - Setter ofBackofficeSavedQuery.tokenizableattribute defined at extensionplatformbackoffice.- Parameters:
value- the tokenizable
-
setTypeCode
@Accessor(qualifier="typeCode", type=SETTER) public void setTypeCode(java.lang.String value)
Generated method - Setter ofBackofficeSavedQuery.typeCodeattribute defined at extensionplatformbackoffice.- Parameters:
value- the typeCode
-
setUserGroups
@Accessor(qualifier="userGroups", type=SETTER) public void setUserGroups(java.util.Collection<UserGroupModel> value)
Generated method - Setter ofBackofficeSavedQuery.userGroupsattribute defined at extensionplatformbackoffice.- Parameters:
value- the userGroups
-
-