Class 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
    • 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 relation User2CockpitSavedQueryRelation defining source attribute user in extension cockpit.
        See Also:
        Constant Field Values
      • _READPRINCIPAL2COCKPITSAVEDQUERYRELATION

        public static final java.lang.String _READPRINCIPAL2COCKPITSAVEDQUERYRELATION
        Generated relation code constant for relation ReadPrincipal2CockpitSavedQueryRelation defining source attribute readSavedQueryPrincipals in extension cockpit.
        See Also:
        Constant Field Values
      • LABEL

        public static final java.lang.String LABEL
        Generated constant - Attribute key of CockpitSavedQuery.label attribute defined at extension cockpit.
        See Also:
        Constant Field Values
      • DESCRIPTION

        public static final java.lang.String DESCRIPTION
        Generated constant - Attribute key of CockpitSavedQuery.description attribute defined at extension cockpit.
        See Also:
        Constant Field Values
      • SIMPLETEXT

        public static final java.lang.String SIMPLETEXT
        Generated constant - Attribute key of CockpitSavedQuery.simpleText attribute defined at extension cockpit.
        See Also:
        Constant Field Values
      • SELECTEDTYPECODE

        public static final java.lang.String SELECTEDTYPECODE
        Generated constant - Attribute key of CockpitSavedQuery.selectedTypeCode attribute defined at extension cockpit.
        See Also:
        Constant Field Values
      • SELECTEDTEMPLATECODE

        public static final java.lang.String SELECTEDTEMPLATECODE
        Generated constant - Attribute key of CockpitSavedQuery.selectedTemplateCode attribute defined at extension cockpit.
        See Also:
        Constant Field Values
      • CODE

        public static final java.lang.String CODE
        Generated constant - Attribute key of CockpitSavedQuery.code attribute defined at extension cockpit.
        See Also:
        Constant Field Values
      • DEFAULTVIEWMODE

        public static final java.lang.String DEFAULTVIEWMODE
        Generated constant - Attribute key of CockpitSavedQuery.defaultViewMode attribute defined at extension cockpit.
        See Also:
        Constant Field Values
      • USER

        public static final java.lang.String USER
        Generated constant - Attribute key of CockpitSavedQuery.user attribute defined at extension cockpit.
        See Also:
        Constant Field Values
      • COCKPITSAVEDFACETVALUES

        public static final java.lang.String COCKPITSAVEDFACETVALUES
        Generated constant - Attribute key of CockpitSavedQuery.cockpitSavedFacetValues attribute defined at extension cockpit.
        See Also:
        Constant Field Values
      • COCKPITSAVEDSORTCRITERIA

        public static final java.lang.String COCKPITSAVEDSORTCRITERIA
        Generated constant - Attribute key of CockpitSavedQuery.cockpitSavedSortCriteria attribute defined at extension cockpit.
        See Also:
        Constant Field Values
      • COCKPITSAVEDPARAMETERVALUES

        public static final java.lang.String COCKPITSAVEDPARAMETERVALUES
        Generated constant - Attribute key of CockpitSavedQuery.cockpitSavedParameterValues attribute defined at extension cockpit.
        See Also:
        Constant Field Values
      • READSAVEDQUERYPRINCIPALS

        public static final java.lang.String READSAVEDQUERYPRINCIPALS
        Generated constant - Attribute key of CockpitSavedQuery.readSavedQueryPrincipals attribute defined at extension cockpit.
        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 parameters
        Generated constructor - Constructor with all mandatory attributes.
        Parameters:
        _code - initial attribute declared by type CockpitSavedQuery at extension cockpit
      • 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 parameters
        Generated constructor - for all mandatory and initial attributes.
        Parameters:
        _code - initial attribute declared by type CockpitSavedQuery at extension cockpit
        _owner - initial attribute declared by type Item at extension core
    • Method Detail

      • getCockpitSavedFacetValues

        @Accessor(qualifier="cockpitSavedFacetValues",
                  type=GETTER)
        public java.util.Collection<CockpitSavedFacetValueModel> getCockpitSavedFacetValues()
        Generated method - Getter of the CockpitSavedQuery.cockpitSavedFacetValues attribute defined at extension cockpit. 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 the CockpitSavedQuery.cockpitSavedParameterValues attribute defined at extension cockpit. 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 the CockpitSavedQuery.cockpitSavedSortCriteria attribute defined at extension cockpit. 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 the CockpitSavedQuery.code attribute defined at extension cockpit.
        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 the CockpitSavedQuery.defaultViewMode attribute defined at extension cockpit.
        Returns:
        the defaultViewMode
      • getDescription

        @Accessor(qualifier="description",
                  type=GETTER)
        public java.lang.String getDescription()
        Generated method - Getter of the CockpitSavedQuery.description attribute defined at extension cockpit.
        Returns:
        the description
      • getDescription

        @Accessor(qualifier="description",
                  type=GETTER)
        public java.lang.String getDescription​(java.util.Locale loc)
        Generated method - Getter of the CockpitSavedQuery.description attribute defined at extension cockpit.
        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 the CockpitSavedQuery.label attribute defined at extension cockpit.
        Returns:
        the label
      • getReadSavedQueryPrincipals

        @Accessor(qualifier="readSavedQueryPrincipals",
                  type=GETTER)
        public java.util.Collection<PrincipalModel> getReadSavedQueryPrincipals()
        Generated method - Getter of the CockpitSavedQuery.readSavedQueryPrincipals attribute defined at extension cockpit. 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 the CockpitSavedQuery.selectedTemplateCode attribute defined at extension cockpit.
        Returns:
        the selectedTemplateCode
      • getSelectedTypeCode

        @Accessor(qualifier="selectedTypeCode",
                  type=GETTER)
        public java.lang.String getSelectedTypeCode()
        Generated method - Getter of the CockpitSavedQuery.selectedTypeCode attribute defined at extension cockpit.
        Returns:
        the selectedTypeCode
      • getSimpleText

        @Accessor(qualifier="simpleText",
                  type=GETTER)
        public java.lang.String getSimpleText()
        Generated method - Getter of the CockpitSavedQuery.simpleText attribute defined at extension cockpit.
        Returns:
        the simpleText
      • getUser

        @Accessor(qualifier="user",
                  type=GETTER)
        public UserModel getUser()
        Generated method - Getter of the CockpitSavedQuery.user attribute defined at extension cockpit.
        Returns:
        the user
      • setCockpitSavedFacetValues

        @Accessor(qualifier="cockpitSavedFacetValues",
                  type=SETTER)
        public void setCockpitSavedFacetValues​(java.util.Collection<CockpitSavedFacetValueModel> value)
        Generated method - Setter of CockpitSavedQuery.cockpitSavedFacetValues attribute defined at extension cockpit.
        Parameters:
        value - the cockpitSavedFacetValues
      • setCockpitSavedParameterValues

        @Accessor(qualifier="cockpitSavedParameterValues",
                  type=SETTER)
        public void setCockpitSavedParameterValues​(java.util.Collection<CockpitSavedParameterValueModel> value)
        Generated method - Setter of CockpitSavedQuery.cockpitSavedParameterValues attribute defined at extension cockpit.
        Parameters:
        value - the cockpitSavedParameterValues
      • setCockpitSavedSortCriteria

        @Accessor(qualifier="cockpitSavedSortCriteria",
                  type=SETTER)
        public void setCockpitSavedSortCriteria​(java.util.Collection<CockpitSavedSortCriterionModel> value)
        Generated method - Setter of CockpitSavedQuery.cockpitSavedSortCriteria attribute defined at extension cockpit.
        Parameters:
        value - the cockpitSavedSortCriteria
      • setCode

        @Accessor(qualifier="code",
                  type=SETTER)
        public void setCode​(java.lang.String value)
        Generated method - Setter of CockpitSavedQuery.code attribute defined at extension cockpit.
        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 of CockpitSavedQuery.defaultViewMode attribute defined at extension cockpit.
        Parameters:
        value - the defaultViewMode
      • setDescription

        @Accessor(qualifier="description",
                  type=SETTER)
        public void setDescription​(java.lang.String value)
        Generated method - Setter of CockpitSavedQuery.description attribute defined at extension cockpit.
        Parameters:
        value - the description
      • setDescription

        @Accessor(qualifier="description",
                  type=SETTER)
        public void setDescription​(java.lang.String value,
                                   java.util.Locale loc)
        Generated method - Setter of CockpitSavedQuery.description attribute defined at extension cockpit.
        Parameters:
        value - the description
        loc - 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 of CockpitSavedQuery.label attribute defined at extension cockpit.
        Parameters:
        value - the label
      • setReadSavedQueryPrincipals

        @Accessor(qualifier="readSavedQueryPrincipals",
                  type=SETTER)
        public void setReadSavedQueryPrincipals​(java.util.Collection<PrincipalModel> value)
        Generated method - Setter of CockpitSavedQuery.readSavedQueryPrincipals attribute defined at extension cockpit.
        Parameters:
        value - the readSavedQueryPrincipals
      • setSelectedTemplateCode

        @Accessor(qualifier="selectedTemplateCode",
                  type=SETTER)
        public void setSelectedTemplateCode​(java.lang.String value)
        Generated method - Setter of CockpitSavedQuery.selectedTemplateCode attribute defined at extension cockpit.
        Parameters:
        value - the selectedTemplateCode
      • setSelectedTypeCode

        @Accessor(qualifier="selectedTypeCode",
                  type=SETTER)
        public void setSelectedTypeCode​(java.lang.String value)
        Generated method - Setter of CockpitSavedQuery.selectedTypeCode attribute defined at extension cockpit.
        Parameters:
        value - the selectedTypeCode
      • setSimpleText

        @Accessor(qualifier="simpleText",
                  type=SETTER)
        public void setSimpleText​(java.lang.String value)
        Generated method - Setter of CockpitSavedQuery.simpleText attribute defined at extension cockpit.
        Parameters:
        value - the simpleText
      • setUser

        @Accessor(qualifier="user",
                  type=SETTER)
        public void setUser​(UserModel value)
        Generated method - Setter of CockpitSavedQuery.user attribute defined at extension cockpit.
        Parameters:
        value - the user