java.lang.Object
ch.tocco.nice2.optional.cms.impl.content.visibility.ContentStatus

public class ContentStatus extends Object
  • Constructor Details

    • ContentStatus

      public ContentStatus(String id, String label)
    • ContentStatus

      public ContentStatus(String id, String label, boolean selected)
    • ContentStatus

      public ContentStatus(String id, String label, @Nullable @Nullable String widgetKey)
    • ContentStatus

      public ContentStatus(String id, String label, @Nullable @Nullable String widgetKey, boolean selected)
  • Method Details

    • getId

      public String getId()
    • getLabel

      public String getLabel()
    • getWidgetKey

      @Nullable public @Nullable String getWidgetKey()
    • isSelected

      public boolean isSelected()
    • setSelected

      public void setSelected(boolean selected)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object