Class WidgetPreferencesModel

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
DynamicWidgetPreferencesModel

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

    • _TYPECODE

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

      public static final String TITLE
      Generated constant - Attribute key of WidgetPreferences.title attribute defined at extension cockpit.
      See Also:
    • OWNERUSER

      public static final String OWNERUSER
      Generated constant - Attribute key of WidgetPreferences.ownerUser attribute defined at extension cockpit.
      See Also:
  • Constructor Details

    • WidgetPreferencesModel

      public WidgetPreferencesModel()
      Generated constructor - Default constructor for generic creation.
    • WidgetPreferencesModel

      public WidgetPreferencesModel(ItemModelContext ctx)
      Generated constructor - Default constructor for creation with existing context
      Parameters:
      ctx - the model context to be injected, must not be null
    • WidgetPreferencesModel

      @Deprecated(since="4.1.1", forRemoval=true) public WidgetPreferencesModel(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:
      _owner - initial attribute declared by type Item at extension core
  • Method Details

    • getOwnerUser

      @Accessor(qualifier="ownerUser", type=GETTER) public UserModel getOwnerUser()
      Generated method - Getter of the WidgetPreferences.ownerUser attribute defined at extension cockpit.
      Returns:
      the ownerUser
    • getTitle

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

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

      @Accessor(qualifier="ownerUser", type=SETTER) public void setOwnerUser(UserModel value)
      Generated method - Setter of WidgetPreferences.ownerUser attribute defined at extension cockpit.
      Parameters:
      value - the ownerUser
    • setTitle

      @Accessor(qualifier="title", type=SETTER) public void setTitle(String value)
      Generated method - Setter of WidgetPreferences.title attribute defined at extension cockpit.
      Parameters:
      value - the title
    • setTitle

      @Accessor(qualifier="title", type=SETTER) public void setTitle(String value, Locale loc)
      Generated method - Setter of WidgetPreferences.title attribute defined at extension cockpit.
      Parameters:
      value - the title
      loc - the value localization key
      Throws:
      IllegalArgumentException - if localization key cannot be mapped to data language