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:
Serializable
Generated model class for type CockpitSavedQuery first defined at extension cockpit.
- 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 relation code constant for relationReadPrincipal2CockpitSavedQueryRelationdefining source attributereadSavedQueryPrincipalsin extensioncockpit.static final StringGenerated model type code constant.static final StringGenerated relation code constant for relationUser2CockpitSavedQueryRelationdefining source attributeuserin extensioncockpit.static final StringGenerated constant - Attribute key ofCockpitSavedQuery.cockpitSavedFacetValuesattribute defined at extensioncockpit.static final StringGenerated constant - Attribute key ofCockpitSavedQuery.cockpitSavedParameterValuesattribute defined at extensioncockpit.static final StringGenerated constant - Attribute key ofCockpitSavedQuery.cockpitSavedSortCriteriaattribute defined at extensioncockpit.static final StringGenerated constant - Attribute key ofCockpitSavedQuery.codeattribute defined at extensioncockpit.static final StringGenerated constant - Attribute key ofCockpitSavedQuery.defaultViewModeattribute defined at extensioncockpit.static final StringGenerated constant - Attribute key ofCockpitSavedQuery.descriptionattribute defined at extensioncockpit.static final StringGenerated constant - Attribute key ofCockpitSavedQuery.labelattribute defined at extensioncockpit.static final StringGenerated constant - Attribute key ofCockpitSavedQuery.readSavedQueryPrincipalsattribute defined at extensioncockpit.static final StringGenerated constant - Attribute key ofCockpitSavedQuery.selectedTemplateCodeattribute defined at extensioncockpit.static final StringGenerated constant - Attribute key ofCockpitSavedQuery.selectedTypeCodeattribute defined at extensioncockpit.static final StringGenerated constant - Attribute key ofCockpitSavedQuery.simpleTextattribute defined at extensioncockpit.static final StringGenerated constant - Attribute key ofCockpitSavedQuery.userattribute defined at extensioncockpit.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 contextCockpitSavedQueryModel(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(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
Modifier and TypeMethodDescriptionGenerated method - Getter of theCockpitSavedQuery.cockpitSavedFacetValuesattribute defined at extensioncockpit.Generated method - Getter of theCockpitSavedQuery.cockpitSavedParameterValuesattribute defined at extensioncockpit.Generated method - Getter of theCockpitSavedQuery.cockpitSavedSortCriteriaattribute defined at extensioncockpit.getCode()Generated method - Getter of theCockpitSavedQuery.codeattribute defined at extensioncockpit.Generated method - Getter of theCockpitSavedQuery.defaultViewModeattribute defined at extensioncockpit.Generated method - Getter of theCockpitSavedQuery.descriptionattribute defined at extensioncockpit.getDescription(Locale loc) Generated method - Getter of theCockpitSavedQuery.descriptionattribute defined at extensioncockpit.getLabel()Generated method - Getter of theCockpitSavedQuery.labelattribute defined at extensioncockpit.Generated method - Getter of theCockpitSavedQuery.readSavedQueryPrincipalsattribute defined at extensioncockpit.Generated method - Getter of theCockpitSavedQuery.selectedTemplateCodeattribute defined at extensioncockpit.Generated method - Getter of theCockpitSavedQuery.selectedTypeCodeattribute defined at extensioncockpit.Generated method - Getter of theCockpitSavedQuery.simpleTextattribute defined at extensioncockpit.getUser()Generated method - Getter of theCockpitSavedQuery.userattribute defined at extensioncockpit.voidGenerated method - Setter ofCockpitSavedQuery.cockpitSavedFacetValuesattribute defined at extensioncockpit.voidGenerated method - Setter ofCockpitSavedQuery.cockpitSavedParameterValuesattribute defined at extensioncockpit.voidGenerated method - Setter ofCockpitSavedQuery.cockpitSavedSortCriteriaattribute defined at extensioncockpit.voidGenerated method - Setter ofCockpitSavedQuery.codeattribute defined at extensioncockpit.voidsetDefaultViewMode(String value) Generated method - Setter ofCockpitSavedQuery.defaultViewModeattribute defined at extensioncockpit.voidsetDescription(String value) Generated method - Setter ofCockpitSavedQuery.descriptionattribute defined at extensioncockpit.voidsetDescription(String value, Locale loc) Generated method - Setter ofCockpitSavedQuery.descriptionattribute defined at extensioncockpit.voidGenerated method - Setter ofCockpitSavedQuery.labelattribute defined at extensioncockpit.voidGenerated method - Setter ofCockpitSavedQuery.readSavedQueryPrincipalsattribute defined at extensioncockpit.voidsetSelectedTemplateCode(String value) Generated method - Setter ofCockpitSavedQuery.selectedTemplateCodeattribute defined at extensioncockpit.voidsetSelectedTypeCode(String value) Generated method - Setter ofCockpitSavedQuery.selectedTypeCodeattribute defined at extensioncockpit.voidsetSimpleText(String value) Generated method - Setter ofCockpitSavedQuery.simpleTextattribute defined at extensioncockpit.voidGenerated method - Setter ofCockpitSavedQuery.userattribute defined at extensioncockpit.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:
-
_USER2COCKPITSAVEDQUERYRELATION
Generated relation code constant for relationUser2CockpitSavedQueryRelationdefining source attributeuserin extensioncockpit.- See Also:
-
_READPRINCIPAL2COCKPITSAVEDQUERYRELATION
Generated relation code constant for relationReadPrincipal2CockpitSavedQueryRelationdefining source attributereadSavedQueryPrincipalsin extensioncockpit.- See Also:
-
LABEL
Generated constant - Attribute key ofCockpitSavedQuery.labelattribute defined at extensioncockpit.- See Also:
-
DESCRIPTION
Generated constant - Attribute key ofCockpitSavedQuery.descriptionattribute defined at extensioncockpit.- See Also:
-
SIMPLETEXT
Generated constant - Attribute key ofCockpitSavedQuery.simpleTextattribute defined at extensioncockpit.- See Also:
-
SELECTEDTYPECODE
Generated constant - Attribute key ofCockpitSavedQuery.selectedTypeCodeattribute defined at extensioncockpit.- See Also:
-
SELECTEDTEMPLATECODE
Generated constant - Attribute key ofCockpitSavedQuery.selectedTemplateCodeattribute defined at extensioncockpit.- See Also:
-
CODE
Generated constant - Attribute key ofCockpitSavedQuery.codeattribute defined at extensioncockpit.- See Also:
-
DEFAULTVIEWMODE
Generated constant - Attribute key ofCockpitSavedQuery.defaultViewModeattribute defined at extensioncockpit.- See Also:
-
USER
Generated constant - Attribute key ofCockpitSavedQuery.userattribute defined at extensioncockpit.- See Also:
-
COCKPITSAVEDFACETVALUES
Generated constant - Attribute key ofCockpitSavedQuery.cockpitSavedFacetValuesattribute defined at extensioncockpit.- See Also:
-
COCKPITSAVEDSORTCRITERIA
Generated constant - Attribute key ofCockpitSavedQuery.cockpitSavedSortCriteriaattribute defined at extensioncockpit.- See Also:
-
COCKPITSAVEDPARAMETERVALUES
Generated constant - Attribute key ofCockpitSavedQuery.cockpitSavedParameterValuesattribute defined at extensioncockpit.- See Also:
-
READSAVEDQUERYPRINCIPALS
Generated constant - Attribute key ofCockpitSavedQuery.readSavedQueryPrincipalsattribute defined at extensioncockpit.- See Also:
-
-
Constructor Details
-
CockpitSavedQueryModel
public CockpitSavedQueryModel()Generated constructor - Default constructor for generic creation. -
CockpitSavedQueryModel
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
CockpitSavedQueryModel
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 typeCockpitSavedQueryat extensioncockpit
-
CockpitSavedQueryModel
@Deprecated(since="4.1.1", forRemoval=true) public CockpitSavedQueryModel(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 typeCockpitSavedQueryat extensioncockpit_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Details
-
getCockpitSavedFacetValues
@Accessor(qualifier="cockpitSavedFacetValues", type=GETTER) public Collection<CockpitSavedFacetValueModel> getCockpitSavedFacetValues()Generated method - Getter of theCockpitSavedQuery.cockpitSavedFacetValuesattribute defined at extensioncockpit. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the cockpitSavedFacetValues
-
getCockpitSavedParameterValues
@Accessor(qualifier="cockpitSavedParameterValues", type=GETTER) public Collection<CockpitSavedParameterValueModel> getCockpitSavedParameterValues()Generated method - Getter of theCockpitSavedQuery.cockpitSavedParameterValuesattribute defined at extensioncockpit. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the cockpitSavedParameterValues
-
getCockpitSavedSortCriteria
@Accessor(qualifier="cockpitSavedSortCriteria", type=GETTER) public Collection<CockpitSavedSortCriterionModel> getCockpitSavedSortCriteria()Generated method - Getter of theCockpitSavedQuery.cockpitSavedSortCriteriaattribute defined at extensioncockpit. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the cockpitSavedSortCriteria
-
getCode
Generated method - Getter of theCockpitSavedQuery.codeattribute defined at extensioncockpit.- Returns:
- the code - unique identifier of the Cockpit Saved Query; will be generated if not set
-
getDefaultViewMode
Generated method - Getter of theCockpitSavedQuery.defaultViewModeattribute defined at extensioncockpit.- Returns:
- the defaultViewMode
-
getDescription
Generated method - Getter of theCockpitSavedQuery.descriptionattribute defined at extensioncockpit.- Returns:
- the description
-
getDescription
Generated method - Getter of theCockpitSavedQuery.descriptionattribute defined at extensioncockpit.- Parameters:
loc- the value localization key- Returns:
- the description
- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
getLabel
Generated method - Getter of theCockpitSavedQuery.labelattribute defined at extensioncockpit.- Returns:
- the label
-
getReadSavedQueryPrincipals
@Accessor(qualifier="readSavedQueryPrincipals", type=GETTER) public Collection<PrincipalModel> getReadSavedQueryPrincipals()Generated method - Getter of theCockpitSavedQuery.readSavedQueryPrincipalsattribute defined at extensioncockpit. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the readSavedQueryPrincipals
-
getSelectedTemplateCode
Generated method - Getter of theCockpitSavedQuery.selectedTemplateCodeattribute defined at extensioncockpit.- Returns:
- the selectedTemplateCode
-
getSelectedTypeCode
Generated method - Getter of theCockpitSavedQuery.selectedTypeCodeattribute defined at extensioncockpit.- Returns:
- the selectedTypeCode
-
getSimpleText
Generated method - Getter of theCockpitSavedQuery.simpleTextattribute defined at extensioncockpit.- Returns:
- the simpleText
-
getUser
Generated method - Getter of theCockpitSavedQuery.userattribute defined at extensioncockpit.- Returns:
- the user
-
setCockpitSavedFacetValues
@Accessor(qualifier="cockpitSavedFacetValues", type=SETTER) public void setCockpitSavedFacetValues(Collection<CockpitSavedFacetValueModel> value) Generated method - Setter ofCockpitSavedQuery.cockpitSavedFacetValuesattribute defined at extensioncockpit.- Parameters:
value- the cockpitSavedFacetValues
-
setCockpitSavedParameterValues
@Accessor(qualifier="cockpitSavedParameterValues", type=SETTER) public void setCockpitSavedParameterValues(Collection<CockpitSavedParameterValueModel> value) Generated method - Setter ofCockpitSavedQuery.cockpitSavedParameterValuesattribute defined at extensioncockpit.- Parameters:
value- the cockpitSavedParameterValues
-
setCockpitSavedSortCriteria
@Accessor(qualifier="cockpitSavedSortCriteria", type=SETTER) public void setCockpitSavedSortCriteria(Collection<CockpitSavedSortCriterionModel> value) Generated method - Setter ofCockpitSavedQuery.cockpitSavedSortCriteriaattribute defined at extensioncockpit.- Parameters:
value- the cockpitSavedSortCriteria
-
setCode
Generated method - Setter ofCockpitSavedQuery.codeattribute defined at extensioncockpit.- Parameters:
value- the code - unique identifier of the Cockpit Saved Query; will be generated if not set
-
setDefaultViewMode
Generated method - Setter ofCockpitSavedQuery.defaultViewModeattribute defined at extensioncockpit.- Parameters:
value- the defaultViewMode
-
setDescription
Generated method - Setter ofCockpitSavedQuery.descriptionattribute defined at extensioncockpit.- Parameters:
value- the description
-
setDescription
@Accessor(qualifier="description", type=SETTER) public void setDescription(String value, Locale loc) Generated method - Setter ofCockpitSavedQuery.descriptionattribute defined at extensioncockpit.- Parameters:
value- the descriptionloc- the value localization key- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
setLabel
Generated method - Setter ofCockpitSavedQuery.labelattribute defined at extensioncockpit.- Parameters:
value- the label
-
setReadSavedQueryPrincipals
@Accessor(qualifier="readSavedQueryPrincipals", type=SETTER) public void setReadSavedQueryPrincipals(Collection<PrincipalModel> value) Generated method - Setter ofCockpitSavedQuery.readSavedQueryPrincipalsattribute defined at extensioncockpit.- Parameters:
value- the readSavedQueryPrincipals
-
setSelectedTemplateCode
@Accessor(qualifier="selectedTemplateCode", type=SETTER) public void setSelectedTemplateCode(String value) Generated method - Setter ofCockpitSavedQuery.selectedTemplateCodeattribute defined at extensioncockpit.- Parameters:
value- the selectedTemplateCode
-
setSelectedTypeCode
Generated method - Setter ofCockpitSavedQuery.selectedTypeCodeattribute defined at extensioncockpit.- Parameters:
value- the selectedTypeCode
-
setSimpleText
Generated method - Setter ofCockpitSavedQuery.simpleTextattribute defined at extensioncockpit.- Parameters:
value- the simpleText
-
setUser
Generated method - Setter ofCockpitSavedQuery.userattribute defined at extensioncockpit.- Parameters:
value- the user
-