Class CockpitSavedQueryModel

All Implemented Interfaces:
Serializable

public class CockpitSavedQueryModel extends ItemModel
Generated model class for type CockpitSavedQuery first defined at extension cockpit.
See Also:
  • Field Details

    • _TYPECODE

      public static final String _TYPECODE
      Generated model type code constant.
      See Also:
    • _USER2COCKPITSAVEDQUERYRELATION

      public static final String _USER2COCKPITSAVEDQUERYRELATION
      Generated relation code constant for relation User2CockpitSavedQueryRelation defining source attribute user in extension cockpit.
      See Also:
    • _READPRINCIPAL2COCKPITSAVEDQUERYRELATION

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

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

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

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

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

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

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

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

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

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

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

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

      public static final String READSAVEDQUERYPRINCIPALS
      Generated constant - Attribute key of CockpitSavedQuery.readSavedQueryPrincipals attribute defined at extension cockpit.
      See Also:
  • Constructor Details

    • 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(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(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 Details

    • getCockpitSavedFacetValues

      @Accessor(qualifier="cockpitSavedFacetValues", type=GETTER) public 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 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 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 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 String getDefaultViewMode()
      Generated method - Getter of the CockpitSavedQuery.defaultViewMode attribute defined at extension cockpit.
      Returns:
      the defaultViewMode
    • getDescription

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

      @Accessor(qualifier="description", type=GETTER) public String getDescription(Locale loc)
      Generated method - Getter of the CockpitSavedQuery.description attribute defined at extension cockpit.
      Parameters:
      loc - the value localization key
      Returns:
      the description
      Throws:
      IllegalArgumentException - if localization key cannot be mapped to data language
    • getLabel

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

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

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

      @Accessor(qualifier="simpleText", type=GETTER) public 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(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(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(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(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(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(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(String value, Locale loc)
      Generated method - Setter of CockpitSavedQuery.description attribute defined at extension cockpit.
      Parameters:
      value - the description
      loc - the value localization key
      Throws:
      IllegalArgumentException - if localization key cannot be mapped to data language
    • setLabel

      @Accessor(qualifier="label", type=SETTER) public void setLabel(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(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(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(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(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