Package org.silverpeas.components.classifieds.servlets

# Class SubscriptionField

java.lang.Object
org.silverpeas.components.classifieds.servlets.SubscriptionField

public class SubscriptionField extends Object
A field of the classified form used by the search and on which also a user can subscribe for a given value to be notified about the classifieds having such value for the field.

Author:
  mmoquillon

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `SubscriptionField(String key, String label)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getKey()`
  `String`
  `getLabel()`
  `Set<SubscriptionFieldValue>`
  `getValues()`
  `void`
  `valuedBy(String valueKey, String valueLabel)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### SubscriptionField

    public SubscriptionField(String key, String label)

- ## Method Details

  - ### valuedBy

    public void valuedBy(String valueKey, String valueLabel)

  - ### getKey

    public String getKey()

  - ### getLabel

    public String getLabel()

  - ### getValues

    public Set<SubscriptionFieldValue> getValues()