Class ViewSummaryDTO

java.lang.Object
org.graylog.plugins.views.search.views.ViewSummaryDTO
All Implemented Interfaces:
ViewLike, MongoEntity

public abstract class ViewSummaryDTO extends Object implements ViewLike, MongoEntity
  • Constructor Details

    • ViewSummaryDTO

      public ViewSummaryDTO()
  • Method Details

    • id

      @Nullable public abstract String id()
      Description copied from interface: MongoEntity
      ID of the entity. Will be stored as field "_id" with type ObjectId in MongoDB.
      Specified by:
      id in interface MongoEntity
      Specified by:
      id in interface ViewLike
      Returns:
      Hex string representation of the entity's ID
    • type

      public abstract ViewDTO.Type type()
      Specified by:
      type in interface ViewLike
    • title

      @NotBlank public abstract @NotBlank String title()
    • summary

      public abstract String summary()
    • description

      public abstract String description()
    • searchId

      public abstract String searchId()
    • properties

      public abstract com.google.common.collect.ImmutableSet<String> properties()
    • requires

      public abstract Map<String,PluginMetadataSummary> requires()
    • owner

      public abstract Optional<String> owner()
    • createdAt

      public abstract org.joda.time.DateTime createdAt()
    • lastUpdatedAt

      public abstract org.joda.time.DateTime lastUpdatedAt()
    • favorite

      public abstract boolean favorite()
    • builder

      public static ViewSummaryDTO.Builder builder()
    • toBuilder

      public abstract ViewSummaryDTO.Builder toBuilder()
    • idsFrom

      public static Set<String> idsFrom(Collection<ViewSummaryDTO> views)