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_READPRINCIPAL2COCKPITSAVEDQUERYRELATIONGenerated relation code constant for relationReadPrincipal2CockpitSavedQueryRelationdefining source attributereadSavedQueryPrincipalsin extensioncockpit.static java.lang.String_TYPECODEGenerated model type code constant.static java.lang.String_USER2COCKPITSAVEDQUERYRELATIONGenerated relation code constant for relationUser2CockpitSavedQueryRelationdefining source attributeuserin extensioncockpit.static java.lang.StringCOCKPITSAVEDFACETVALUESGenerated constant - Attribute key ofCockpitSavedQuery.cockpitSavedFacetValuesattribute defined at extensioncockpit.static java.lang.StringCOCKPITSAVEDPARAMETERVALUESGenerated constant - Attribute key ofCockpitSavedQuery.cockpitSavedParameterValuesattribute defined at extensioncockpit.static java.lang.StringCOCKPITSAVEDSORTCRITERIAGenerated constant - Attribute key ofCockpitSavedQuery.cockpitSavedSortCriteriaattribute defined at extensioncockpit.static java.lang.StringCODEGenerated constant - Attribute key ofCockpitSavedQuery.codeattribute defined at extensioncockpit.static java.lang.StringDEFAULTVIEWMODEGenerated constant - Attribute key ofCockpitSavedQuery.defaultViewModeattribute defined at extensioncockpit.static java.lang.StringDESCRIPTIONGenerated constant - Attribute key ofCockpitSavedQuery.descriptionattribute defined at extensioncockpit.static java.lang.StringLABELGenerated constant - Attribute key ofCockpitSavedQuery.labelattribute defined at extensioncockpit.static java.lang.StringREADSAVEDQUERYPRINCIPALSGenerated constant - Attribute key ofCockpitSavedQuery.readSavedQueryPrincipalsattribute defined at extensioncockpit.static java.lang.StringSELECTEDTEMPLATECODEGenerated constant - Attribute key ofCockpitSavedQuery.selectedTemplateCodeattribute defined at extensioncockpit.static java.lang.StringSELECTEDTYPECODEGenerated constant - Attribute key ofCockpitSavedQuery.selectedTypeCodeattribute defined at extensioncockpit.static java.lang.StringSIMPLETEXTGenerated constant - Attribute key ofCockpitSavedQuery.simpleTextattribute defined at extensioncockpit.static java.lang.StringUSERGenerated 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, 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.cockpitSavedFacetValuesattribute defined at extensioncockpit.java.util.Collection<CockpitSavedParameterValueModel>getCockpitSavedParameterValues()Generated method - Getter of theCockpitSavedQuery.cockpitSavedParameterValuesattribute defined at extensioncockpit.java.util.Collection<CockpitSavedSortCriterionModel>getCockpitSavedSortCriteria()Generated method - Getter of theCockpitSavedQuery.cockpitSavedSortCriteriaattribute defined at extensioncockpit.java.lang.StringgetCode()Generated method - Getter of theCockpitSavedQuery.codeattribute defined at extensioncockpit.java.lang.StringgetDefaultViewMode()Generated method - Getter of theCockpitSavedQuery.defaultViewModeattribute defined at extensioncockpit.java.lang.StringgetDescription()Generated method - Getter of theCockpitSavedQuery.descriptionattribute defined at extensioncockpit.java.lang.StringgetDescription(java.util.Locale loc)Generated method - Getter of theCockpitSavedQuery.descriptionattribute defined at extensioncockpit.java.lang.StringgetLabel()Generated method - Getter of theCockpitSavedQuery.labelattribute defined at extensioncockpit.java.util.Collection<PrincipalModel>getReadSavedQueryPrincipals()Generated method - Getter of theCockpitSavedQuery.readSavedQueryPrincipalsattribute defined at extensioncockpit.java.lang.StringgetSelectedTemplateCode()Generated method - Getter of theCockpitSavedQuery.selectedTemplateCodeattribute defined at extensioncockpit.java.lang.StringgetSelectedTypeCode()Generated method - Getter of theCockpitSavedQuery.selectedTypeCodeattribute defined at extensioncockpit.java.lang.StringgetSimpleText()Generated method - Getter of theCockpitSavedQuery.simpleTextattribute defined at extensioncockpit.UserModelgetUser()Generated method - Getter of theCockpitSavedQuery.userattribute defined at extensioncockpit.voidsetCockpitSavedFacetValues(java.util.Collection<CockpitSavedFacetValueModel> value)Generated method - Setter ofCockpitSavedQuery.cockpitSavedFacetValuesattribute defined at extensioncockpit.voidsetCockpitSavedParameterValues(java.util.Collection<CockpitSavedParameterValueModel> value)Generated method - Setter ofCockpitSavedQuery.cockpitSavedParameterValuesattribute defined at extensioncockpit.voidsetCockpitSavedSortCriteria(java.util.Collection<CockpitSavedSortCriterionModel> value)Generated method - Setter ofCockpitSavedQuery.cockpitSavedSortCriteriaattribute defined at extensioncockpit.voidsetCode(java.lang.String value)Generated method - Setter ofCockpitSavedQuery.codeattribute defined at extensioncockpit.voidsetDefaultViewMode(java.lang.String value)Generated method - Setter ofCockpitSavedQuery.defaultViewModeattribute defined at extensioncockpit.voidsetDescription(java.lang.String value)Generated method - Setter ofCockpitSavedQuery.descriptionattribute defined at extensioncockpit.voidsetDescription(java.lang.String value, java.util.Locale loc)Generated method - Setter ofCockpitSavedQuery.descriptionattribute defined at extensioncockpit.voidsetLabel(java.lang.String value)Generated method - Setter ofCockpitSavedQuery.labelattribute defined at extensioncockpit.voidsetReadSavedQueryPrincipals(java.util.Collection<PrincipalModel> value)Generated method - Setter ofCockpitSavedQuery.readSavedQueryPrincipalsattribute defined at extensioncockpit.voidsetSelectedTemplateCode(java.lang.String value)Generated method - Setter ofCockpitSavedQuery.selectedTemplateCodeattribute defined at extensioncockpit.voidsetSelectedTypeCode(java.lang.String value)Generated method - Setter ofCockpitSavedQuery.selectedTypeCodeattribute defined at extensioncockpit.voidsetSimpleText(java.lang.String value)Generated method - Setter ofCockpitSavedQuery.simpleTextattribute defined at extensioncockpit.voidsetUser(UserModel value)Generated 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, 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 relationUser2CockpitSavedQueryRelationdefining source attributeuserin extensioncockpit.- See Also:
- Constant Field Values
-
_READPRINCIPAL2COCKPITSAVEDQUERYRELATION
public static final java.lang.String _READPRINCIPAL2COCKPITSAVEDQUERYRELATION
Generated relation code constant for relationReadPrincipal2CockpitSavedQueryRelationdefining source attributereadSavedQueryPrincipalsin extensioncockpit.- See Also:
- Constant Field Values
-
LABEL
public static final java.lang.String LABEL
Generated constant - Attribute key ofCockpitSavedQuery.labelattribute defined at extensioncockpit.- See Also:
- Constant Field Values
-
DESCRIPTION
public static final java.lang.String DESCRIPTION
Generated constant - Attribute key ofCockpitSavedQuery.descriptionattribute defined at extensioncockpit.- See Also:
- Constant Field Values
-
SIMPLETEXT
public static final java.lang.String SIMPLETEXT
Generated constant - Attribute key ofCockpitSavedQuery.simpleTextattribute defined at extensioncockpit.- See Also:
- Constant Field Values
-
SELECTEDTYPECODE
public static final java.lang.String SELECTEDTYPECODE
Generated constant - Attribute key ofCockpitSavedQuery.selectedTypeCodeattribute defined at extensioncockpit.- See Also:
- Constant Field Values
-
SELECTEDTEMPLATECODE
public static final java.lang.String SELECTEDTEMPLATECODE
Generated constant - Attribute key ofCockpitSavedQuery.selectedTemplateCodeattribute defined at extensioncockpit.- See Also:
- Constant Field Values
-
CODE
public static final java.lang.String CODE
Generated constant - Attribute key ofCockpitSavedQuery.codeattribute defined at extensioncockpit.- See Also:
- Constant Field Values
-
DEFAULTVIEWMODE
public static final java.lang.String DEFAULTVIEWMODE
Generated constant - Attribute key ofCockpitSavedQuery.defaultViewModeattribute defined at extensioncockpit.- See Also:
- Constant Field Values
-
USER
public static final java.lang.String USER
Generated constant - Attribute key ofCockpitSavedQuery.userattribute defined at extensioncockpit.- See Also:
- Constant Field Values
-
COCKPITSAVEDFACETVALUES
public static final java.lang.String COCKPITSAVEDFACETVALUES
Generated constant - Attribute key ofCockpitSavedQuery.cockpitSavedFacetValuesattribute defined at extensioncockpit.- See Also:
- Constant Field Values
-
COCKPITSAVEDSORTCRITERIA
public static final java.lang.String COCKPITSAVEDSORTCRITERIA
Generated constant - Attribute key ofCockpitSavedQuery.cockpitSavedSortCriteriaattribute defined at extensioncockpit.- See Also:
- Constant Field Values
-
COCKPITSAVEDPARAMETERVALUES
public static final java.lang.String COCKPITSAVEDPARAMETERVALUES
Generated constant - Attribute key ofCockpitSavedQuery.cockpitSavedParameterValuesattribute defined at extensioncockpit.- See Also:
- Constant Field Values
-
READSAVEDQUERYPRINCIPALS
public static final java.lang.String READSAVEDQUERYPRINCIPALS
Generated constant - Attribute key ofCockpitSavedQuery.readSavedQueryPrincipalsattribute 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 typeCockpitSavedQueryat 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 typeCockpitSavedQueryat extensioncockpit_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Detail
-
getCockpitSavedFacetValues
@Accessor(qualifier="cockpitSavedFacetValues", type=GETTER) public java.util.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 java.util.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 java.util.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
@Accessor(qualifier="code", type=GETTER) public java.lang.String 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
@Accessor(qualifier="defaultViewMode", type=GETTER) public java.lang.String getDefaultViewMode()
Generated method - Getter of theCockpitSavedQuery.defaultViewModeattribute defined at extensioncockpit.- Returns:
- the defaultViewMode
-
getDescription
@Accessor(qualifier="description", type=GETTER) public java.lang.String getDescription()
Generated method - Getter of theCockpitSavedQuery.descriptionattribute 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.descriptionattribute 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.labelattribute defined at extensioncockpit.- Returns:
- the label
-
getReadSavedQueryPrincipals
@Accessor(qualifier="readSavedQueryPrincipals", type=GETTER) public java.util.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
@Accessor(qualifier="selectedTemplateCode", type=GETTER) public java.lang.String getSelectedTemplateCode()
Generated method - Getter of theCockpitSavedQuery.selectedTemplateCodeattribute defined at extensioncockpit.- Returns:
- the selectedTemplateCode
-
getSelectedTypeCode
@Accessor(qualifier="selectedTypeCode", type=GETTER) public java.lang.String getSelectedTypeCode()
Generated method - Getter of theCockpitSavedQuery.selectedTypeCodeattribute defined at extensioncockpit.- Returns:
- the selectedTypeCode
-
getSimpleText
@Accessor(qualifier="simpleText", type=GETTER) public java.lang.String getSimpleText()
Generated method - Getter of theCockpitSavedQuery.simpleTextattribute defined at extensioncockpit.- Returns:
- the simpleText
-
getUser
@Accessor(qualifier="user", type=GETTER) public UserModel getUser()
Generated method - Getter of theCockpitSavedQuery.userattribute defined at extensioncockpit.- Returns:
- the user
-
setCockpitSavedFacetValues
@Accessor(qualifier="cockpitSavedFacetValues", type=SETTER) public void setCockpitSavedFacetValues(java.util.Collection<CockpitSavedFacetValueModel> value)
Generated method - Setter ofCockpitSavedQuery.cockpitSavedFacetValuesattribute 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.cockpitSavedParameterValuesattribute 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.cockpitSavedSortCriteriaattribute defined at extensioncockpit.- Parameters:
value- the cockpitSavedSortCriteria
-
setCode
@Accessor(qualifier="code", type=SETTER) public void setCode(java.lang.String value)
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
@Accessor(qualifier="defaultViewMode", type=SETTER) public void setDefaultViewMode(java.lang.String value)
Generated method - Setter ofCockpitSavedQuery.defaultViewModeattribute defined at extensioncockpit.- Parameters:
value- the defaultViewMode
-
setDescription
@Accessor(qualifier="description", type=SETTER) public void setDescription(java.lang.String value)
Generated method - Setter ofCockpitSavedQuery.descriptionattribute 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.descriptionattribute 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.labelattribute 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.readSavedQueryPrincipalsattribute defined at extensioncockpit.- Parameters:
value- the readSavedQueryPrincipals
-
setSelectedTemplateCode
@Accessor(qualifier="selectedTemplateCode", type=SETTER) public void setSelectedTemplateCode(java.lang.String value)
Generated method - Setter ofCockpitSavedQuery.selectedTemplateCodeattribute defined at extensioncockpit.- Parameters:
value- the selectedTemplateCode
-
setSelectedTypeCode
@Accessor(qualifier="selectedTypeCode", type=SETTER) public void setSelectedTypeCode(java.lang.String value)
Generated method - Setter ofCockpitSavedQuery.selectedTypeCodeattribute defined at extensioncockpit.- Parameters:
value- the selectedTypeCode
-
setSimpleText
@Accessor(qualifier="simpleText", type=SETTER) public void setSimpleText(java.lang.String value)
Generated method - Setter ofCockpitSavedQuery.simpleTextattribute defined at extensioncockpit.- Parameters:
value- the simpleText
-
-