Package de.hybris.platform.cockpit.model
Class CockpitSavedQueryModel
- java.lang.Object
-
- de.hybris.platform.servicelayer.model.AbstractItemModel
-
- de.hybris.platform.core.model.ItemModel
-
- de.hybris.platform.cockpit.model.CockpitSavedQueryModel
-
- All Implemented Interfaces:
java.io.Serializable
public class CockpitSavedQueryModel extends ItemModel
Generated model class for type CockpitSavedQuery first defined at extension cockpit.- 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
_READPRINCIPAL2COCKPITSAVEDQUERYRELATION
Generated relation code constant for relationReadPrincipal2CockpitSavedQueryRelation
defining source attributereadSavedQueryPrincipals
in extensioncockpit
.static java.lang.String
_TYPECODE
Generated model type code constant.static java.lang.String
_USER2COCKPITSAVEDQUERYRELATION
Generated relation code constant for relationUser2CockpitSavedQueryRelation
defining source attributeuser
in extensioncockpit
.static java.lang.String
COCKPITSAVEDFACETVALUES
Generated constant - Attribute key ofCockpitSavedQuery.cockpitSavedFacetValues
attribute defined at extensioncockpit
.static java.lang.String
COCKPITSAVEDPARAMETERVALUES
Generated constant - Attribute key ofCockpitSavedQuery.cockpitSavedParameterValues
attribute defined at extensioncockpit
.static java.lang.String
COCKPITSAVEDSORTCRITERIA
Generated constant - Attribute key ofCockpitSavedQuery.cockpitSavedSortCriteria
attribute defined at extensioncockpit
.static java.lang.String
CODE
Generated constant - Attribute key ofCockpitSavedQuery.code
attribute defined at extensioncockpit
.static java.lang.String
DEFAULTVIEWMODE
Generated constant - Attribute key ofCockpitSavedQuery.defaultViewMode
attribute defined at extensioncockpit
.static java.lang.String
DESCRIPTION
Generated constant - Attribute key ofCockpitSavedQuery.description
attribute defined at extensioncockpit
.static java.lang.String
LABEL
Generated constant - Attribute key ofCockpitSavedQuery.label
attribute defined at extensioncockpit
.static java.lang.String
READSAVEDQUERYPRINCIPALS
Generated constant - Attribute key ofCockpitSavedQuery.readSavedQueryPrincipals
attribute defined at extensioncockpit
.static java.lang.String
SELECTEDTEMPLATECODE
Generated constant - Attribute key ofCockpitSavedQuery.selectedTemplateCode
attribute defined at extensioncockpit
.static java.lang.String
SELECTEDTYPECODE
Generated constant - Attribute key ofCockpitSavedQuery.selectedTypeCode
attribute defined at extensioncockpit
.static java.lang.String
SIMPLETEXT
Generated constant - Attribute key ofCockpitSavedQuery.simpleText
attribute defined at extensioncockpit
.static java.lang.String
USER
Generated constant - Attribute key ofCockpitSavedQuery.user
attribute defined at extensioncockpit
.-
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 CockpitSavedQueryModel()
Generated constructor - Default constructor for generic creation.CockpitSavedQueryModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing contextCockpitSavedQueryModel(java.lang.String _code)
Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersCockpitSavedQueryModel(java.lang.String _code, ItemModel _owner)
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.util.Collection<CockpitSavedFacetValueModel>
getCockpitSavedFacetValues()
Generated method - Getter of theCockpitSavedQuery.cockpitSavedFacetValues
attribute defined at extensioncockpit
.java.util.Collection<CockpitSavedParameterValueModel>
getCockpitSavedParameterValues()
Generated method - Getter of theCockpitSavedQuery.cockpitSavedParameterValues
attribute defined at extensioncockpit
.java.util.Collection<CockpitSavedSortCriterionModel>
getCockpitSavedSortCriteria()
Generated method - Getter of theCockpitSavedQuery.cockpitSavedSortCriteria
attribute defined at extensioncockpit
.java.lang.String
getCode()
Generated method - Getter of theCockpitSavedQuery.code
attribute defined at extensioncockpit
.java.lang.String
getDefaultViewMode()
Generated method - Getter of theCockpitSavedQuery.defaultViewMode
attribute defined at extensioncockpit
.java.lang.String
getDescription()
Generated method - Getter of theCockpitSavedQuery.description
attribute defined at extensioncockpit
.java.lang.String
getDescription(java.util.Locale loc)
Generated method - Getter of theCockpitSavedQuery.description
attribute defined at extensioncockpit
.java.lang.String
getLabel()
Generated method - Getter of theCockpitSavedQuery.label
attribute defined at extensioncockpit
.java.util.Collection<PrincipalModel>
getReadSavedQueryPrincipals()
Generated method - Getter of theCockpitSavedQuery.readSavedQueryPrincipals
attribute defined at extensioncockpit
.java.lang.String
getSelectedTemplateCode()
Generated method - Getter of theCockpitSavedQuery.selectedTemplateCode
attribute defined at extensioncockpit
.java.lang.String
getSelectedTypeCode()
Generated method - Getter of theCockpitSavedQuery.selectedTypeCode
attribute defined at extensioncockpit
.java.lang.String
getSimpleText()
Generated method - Getter of theCockpitSavedQuery.simpleText
attribute defined at extensioncockpit
.UserModel
getUser()
Generated method - Getter of theCockpitSavedQuery.user
attribute defined at extensioncockpit
.void
setCockpitSavedFacetValues(java.util.Collection<CockpitSavedFacetValueModel> value)
Generated method - Setter ofCockpitSavedQuery.cockpitSavedFacetValues
attribute defined at extensioncockpit
.void
setCockpitSavedParameterValues(java.util.Collection<CockpitSavedParameterValueModel> value)
Generated method - Setter ofCockpitSavedQuery.cockpitSavedParameterValues
attribute defined at extensioncockpit
.void
setCockpitSavedSortCriteria(java.util.Collection<CockpitSavedSortCriterionModel> value)
Generated method - Setter ofCockpitSavedQuery.cockpitSavedSortCriteria
attribute defined at extensioncockpit
.void
setCode(java.lang.String value)
Generated method - Setter ofCockpitSavedQuery.code
attribute defined at extensioncockpit
.void
setDefaultViewMode(java.lang.String value)
Generated method - Setter ofCockpitSavedQuery.defaultViewMode
attribute defined at extensioncockpit
.void
setDescription(java.lang.String value)
Generated method - Setter ofCockpitSavedQuery.description
attribute defined at extensioncockpit
.void
setDescription(java.lang.String value, java.util.Locale loc)
Generated method - Setter ofCockpitSavedQuery.description
attribute defined at extensioncockpit
.void
setLabel(java.lang.String value)
Generated method - Setter ofCockpitSavedQuery.label
attribute defined at extensioncockpit
.void
setReadSavedQueryPrincipals(java.util.Collection<PrincipalModel> value)
Generated method - Setter ofCockpitSavedQuery.readSavedQueryPrincipals
attribute defined at extensioncockpit
.void
setSelectedTemplateCode(java.lang.String value)
Generated method - Setter ofCockpitSavedQuery.selectedTemplateCode
attribute defined at extensioncockpit
.void
setSelectedTypeCode(java.lang.String value)
Generated method - Setter ofCockpitSavedQuery.selectedTypeCode
attribute defined at extensioncockpit
.void
setSimpleText(java.lang.String value)
Generated method - Setter ofCockpitSavedQuery.simpleText
attribute defined at extensioncockpit
.void
setUser(UserModel value)
Generated method - Setter ofCockpitSavedQuery.user
attribute defined at extensioncockpit
.-
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
-
_USER2COCKPITSAVEDQUERYRELATION
public static final java.lang.String _USER2COCKPITSAVEDQUERYRELATION
Generated relation code constant for relationUser2CockpitSavedQueryRelation
defining source attributeuser
in extensioncockpit
.- See Also:
- Constant Field Values
-
_READPRINCIPAL2COCKPITSAVEDQUERYRELATION
public static final java.lang.String _READPRINCIPAL2COCKPITSAVEDQUERYRELATION
Generated relation code constant for relationReadPrincipal2CockpitSavedQueryRelation
defining source attributereadSavedQueryPrincipals
in extensioncockpit
.- See Also:
- Constant Field Values
-
LABEL
public static final java.lang.String LABEL
Generated constant - Attribute key ofCockpitSavedQuery.label
attribute defined at extensioncockpit
.- See Also:
- Constant Field Values
-
DESCRIPTION
public static final java.lang.String DESCRIPTION
Generated constant - Attribute key ofCockpitSavedQuery.description
attribute defined at extensioncockpit
.- See Also:
- Constant Field Values
-
SIMPLETEXT
public static final java.lang.String SIMPLETEXT
Generated constant - Attribute key ofCockpitSavedQuery.simpleText
attribute defined at extensioncockpit
.- See Also:
- Constant Field Values
-
SELECTEDTYPECODE
public static final java.lang.String SELECTEDTYPECODE
Generated constant - Attribute key ofCockpitSavedQuery.selectedTypeCode
attribute defined at extensioncockpit
.- See Also:
- Constant Field Values
-
SELECTEDTEMPLATECODE
public static final java.lang.String SELECTEDTEMPLATECODE
Generated constant - Attribute key ofCockpitSavedQuery.selectedTemplateCode
attribute defined at extensioncockpit
.- See Also:
- Constant Field Values
-
CODE
public static final java.lang.String CODE
Generated constant - Attribute key ofCockpitSavedQuery.code
attribute defined at extensioncockpit
.- See Also:
- Constant Field Values
-
DEFAULTVIEWMODE
public static final java.lang.String DEFAULTVIEWMODE
Generated constant - Attribute key ofCockpitSavedQuery.defaultViewMode
attribute defined at extensioncockpit
.- See Also:
- Constant Field Values
-
USER
public static final java.lang.String USER
Generated constant - Attribute key ofCockpitSavedQuery.user
attribute defined at extensioncockpit
.- See Also:
- Constant Field Values
-
COCKPITSAVEDFACETVALUES
public static final java.lang.String COCKPITSAVEDFACETVALUES
Generated constant - Attribute key ofCockpitSavedQuery.cockpitSavedFacetValues
attribute defined at extensioncockpit
.- See Also:
- Constant Field Values
-
COCKPITSAVEDSORTCRITERIA
public static final java.lang.String COCKPITSAVEDSORTCRITERIA
Generated constant - Attribute key ofCockpitSavedQuery.cockpitSavedSortCriteria
attribute defined at extensioncockpit
.- See Also:
- Constant Field Values
-
COCKPITSAVEDPARAMETERVALUES
public static final java.lang.String COCKPITSAVEDPARAMETERVALUES
Generated constant - Attribute key ofCockpitSavedQuery.cockpitSavedParameterValues
attribute defined at extensioncockpit
.- See Also:
- Constant Field Values
-
READSAVEDQUERYPRINCIPALS
public static final java.lang.String READSAVEDQUERYPRINCIPALS
Generated constant - Attribute key ofCockpitSavedQuery.readSavedQueryPrincipals
attribute defined at extensioncockpit
.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CockpitSavedQueryModel
public CockpitSavedQueryModel()
Generated constructor - Default constructor for generic creation.
-
CockpitSavedQueryModel
public CockpitSavedQueryModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx
- the model context to be injected, must not be null
-
CockpitSavedQueryModel
@Deprecated(since="4.1.1", forRemoval=true) public CockpitSavedQueryModel(java.lang.String _code)
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 typeCockpitSavedQuery
at extensioncockpit
-
CockpitSavedQueryModel
@Deprecated(since="4.1.1", forRemoval=true) public CockpitSavedQueryModel(java.lang.String _code, ItemModel _owner)
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 typeCockpitSavedQuery
at extensioncockpit
_owner
- initial attribute declared by typeItem
at extensioncore
-
-
Method Detail
-
getCockpitSavedFacetValues
@Accessor(qualifier="cockpitSavedFacetValues", type=GETTER) public java.util.Collection<CockpitSavedFacetValueModel> getCockpitSavedFacetValues()
Generated method - Getter of theCockpitSavedQuery.cockpitSavedFacetValues
attribute defined at extensioncockpit
. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the cockpitSavedFacetValues
-
getCockpitSavedParameterValues
@Accessor(qualifier="cockpitSavedParameterValues", type=GETTER) public java.util.Collection<CockpitSavedParameterValueModel> getCockpitSavedParameterValues()
Generated method - Getter of theCockpitSavedQuery.cockpitSavedParameterValues
attribute defined at extensioncockpit
. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the cockpitSavedParameterValues
-
getCockpitSavedSortCriteria
@Accessor(qualifier="cockpitSavedSortCriteria", type=GETTER) public java.util.Collection<CockpitSavedSortCriterionModel> getCockpitSavedSortCriteria()
Generated method - Getter of theCockpitSavedQuery.cockpitSavedSortCriteria
attribute defined at extensioncockpit
. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the cockpitSavedSortCriteria
-
getCode
@Accessor(qualifier="code", type=GETTER) public java.lang.String getCode()
Generated method - Getter of theCockpitSavedQuery.code
attribute defined at extensioncockpit
.- Returns:
- the code - unique identifier of the Cockpit Saved Query; will be generated if not set
-
getDefaultViewMode
@Accessor(qualifier="defaultViewMode", type=GETTER) public java.lang.String getDefaultViewMode()
Generated method - Getter of theCockpitSavedQuery.defaultViewMode
attribute defined at extensioncockpit
.- Returns:
- the defaultViewMode
-
getDescription
@Accessor(qualifier="description", type=GETTER) public java.lang.String getDescription()
Generated method - Getter of theCockpitSavedQuery.description
attribute defined at extensioncockpit
.- Returns:
- the description
-
getDescription
@Accessor(qualifier="description", type=GETTER) public java.lang.String getDescription(java.util.Locale loc)
Generated method - Getter of theCockpitSavedQuery.description
attribute defined at extensioncockpit
.- Parameters:
loc
- the value localization key- Returns:
- the description
- Throws:
java.lang.IllegalArgumentException
- if localization key cannot be mapped to data language
-
getLabel
@Accessor(qualifier="label", type=GETTER) public java.lang.String getLabel()
Generated method - Getter of theCockpitSavedQuery.label
attribute defined at extensioncockpit
.- Returns:
- the label
-
getReadSavedQueryPrincipals
@Accessor(qualifier="readSavedQueryPrincipals", type=GETTER) public java.util.Collection<PrincipalModel> getReadSavedQueryPrincipals()
Generated method - Getter of theCockpitSavedQuery.readSavedQueryPrincipals
attribute defined at extensioncockpit
. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the readSavedQueryPrincipals
-
getSelectedTemplateCode
@Accessor(qualifier="selectedTemplateCode", type=GETTER) public java.lang.String getSelectedTemplateCode()
Generated method - Getter of theCockpitSavedQuery.selectedTemplateCode
attribute defined at extensioncockpit
.- Returns:
- the selectedTemplateCode
-
getSelectedTypeCode
@Accessor(qualifier="selectedTypeCode", type=GETTER) public java.lang.String getSelectedTypeCode()
Generated method - Getter of theCockpitSavedQuery.selectedTypeCode
attribute defined at extensioncockpit
.- Returns:
- the selectedTypeCode
-
getSimpleText
@Accessor(qualifier="simpleText", type=GETTER) public java.lang.String getSimpleText()
Generated method - Getter of theCockpitSavedQuery.simpleText
attribute defined at extensioncockpit
.- Returns:
- the simpleText
-
getUser
@Accessor(qualifier="user", type=GETTER) public UserModel getUser()
Generated method - Getter of theCockpitSavedQuery.user
attribute defined at extensioncockpit
.- Returns:
- the user
-
setCockpitSavedFacetValues
@Accessor(qualifier="cockpitSavedFacetValues", type=SETTER) public void setCockpitSavedFacetValues(java.util.Collection<CockpitSavedFacetValueModel> value)
Generated method - Setter ofCockpitSavedQuery.cockpitSavedFacetValues
attribute defined at extensioncockpit
.- Parameters:
value
- the cockpitSavedFacetValues
-
setCockpitSavedParameterValues
@Accessor(qualifier="cockpitSavedParameterValues", type=SETTER) public void setCockpitSavedParameterValues(java.util.Collection<CockpitSavedParameterValueModel> value)
Generated method - Setter ofCockpitSavedQuery.cockpitSavedParameterValues
attribute defined at extensioncockpit
.- Parameters:
value
- the cockpitSavedParameterValues
-
setCockpitSavedSortCriteria
@Accessor(qualifier="cockpitSavedSortCriteria", type=SETTER) public void setCockpitSavedSortCriteria(java.util.Collection<CockpitSavedSortCriterionModel> value)
Generated method - Setter ofCockpitSavedQuery.cockpitSavedSortCriteria
attribute defined at extensioncockpit
.- Parameters:
value
- the cockpitSavedSortCriteria
-
setCode
@Accessor(qualifier="code", type=SETTER) public void setCode(java.lang.String value)
Generated method - Setter ofCockpitSavedQuery.code
attribute defined at extensioncockpit
.- Parameters:
value
- the code - unique identifier of the Cockpit Saved Query; will be generated if not set
-
setDefaultViewMode
@Accessor(qualifier="defaultViewMode", type=SETTER) public void setDefaultViewMode(java.lang.String value)
Generated method - Setter ofCockpitSavedQuery.defaultViewMode
attribute defined at extensioncockpit
.- Parameters:
value
- the defaultViewMode
-
setDescription
@Accessor(qualifier="description", type=SETTER) public void setDescription(java.lang.String value)
Generated method - Setter ofCockpitSavedQuery.description
attribute defined at extensioncockpit
.- Parameters:
value
- the description
-
setDescription
@Accessor(qualifier="description", type=SETTER) public void setDescription(java.lang.String value, java.util.Locale loc)
Generated method - Setter ofCockpitSavedQuery.description
attribute defined at extensioncockpit
.- Parameters:
value
- the descriptionloc
- the value localization key- Throws:
java.lang.IllegalArgumentException
- if localization key cannot be mapped to data language
-
setLabel
@Accessor(qualifier="label", type=SETTER) public void setLabel(java.lang.String value)
Generated method - Setter ofCockpitSavedQuery.label
attribute defined at extensioncockpit
.- Parameters:
value
- the label
-
setReadSavedQueryPrincipals
@Accessor(qualifier="readSavedQueryPrincipals", type=SETTER) public void setReadSavedQueryPrincipals(java.util.Collection<PrincipalModel> value)
Generated method - Setter ofCockpitSavedQuery.readSavedQueryPrincipals
attribute defined at extensioncockpit
.- Parameters:
value
- the readSavedQueryPrincipals
-
setSelectedTemplateCode
@Accessor(qualifier="selectedTemplateCode", type=SETTER) public void setSelectedTemplateCode(java.lang.String value)
Generated method - Setter ofCockpitSavedQuery.selectedTemplateCode
attribute defined at extensioncockpit
.- Parameters:
value
- the selectedTemplateCode
-
setSelectedTypeCode
@Accessor(qualifier="selectedTypeCode", type=SETTER) public void setSelectedTypeCode(java.lang.String value)
Generated method - Setter ofCockpitSavedQuery.selectedTypeCode
attribute defined at extensioncockpit
.- Parameters:
value
- the selectedTypeCode
-
setSimpleText
@Accessor(qualifier="simpleText", type=SETTER) public void setSimpleText(java.lang.String value)
Generated method - Setter ofCockpitSavedQuery.simpleText
attribute defined at extensioncockpit
.- Parameters:
value
- the simpleText
-
-