Class RuleDTO

java.lang.Object
io.meeds.gamification.model.RuleDTO
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
RulePublication, RuleRestEntity

public class RuleDTO extends Object implements Serializable
See Also:
  • Field Details

    • id

      protected Long id
    • title

      protected String title
    • description

      protected String description
    • score

      protected int score
    • program

      protected ProgramDTO program
    • enabled

      protected boolean enabled
    • deleted

      protected boolean deleted
    • createdBy

      protected String createdBy
    • createdDate

      protected String createdDate
    • lastModifiedBy

      protected String lastModifiedBy
    • event

      protected EventDTO event
    • lastModifiedDate

      protected String lastModifiedDate
    • startDate

      protected String startDate
    • endDate

      protected String endDate
    • activityId

      protected long activityId
    • cacheTime

      protected long cacheTime
    • prerequisiteRuleIds

      protected Set<Long> prerequisiteRuleIds
    • type

      protected EntityType type
    • recurrence

      protected RecurrenceType recurrence
  • Constructor Details

    • RuleDTO

      public RuleDTO()
  • Method Details

    • getAudienceId

      @Deprecated(forRemoval=true, since="1.5.0") public long getAudienceId()
      Deprecated, for removal: This API element is subject to removal in a future version.
      user spaceId instead
      Deprecated should be renamed to spaceId knowing that audienceId should reference an identity id instead
      Returns:
      Space Id attached to program
    • getProgramId

      public long getProgramId()
    • getSpaceId

      public long getSpaceId()
    • getManagers

      public Set<Long> getManagers()
    • isOpen

      public boolean isOpen()
    • clone

      public RuleDTO clone()
      Overrides:
      clone in class Object