Class Service

All Implemented Interfaces:
Serializable, Comparable<PerunBean>
Direct Known Subclasses:
ServiceForGUI

public class Service extends Auditable implements Comparable<PerunBean>
Author:
Michal Prochazka <michalp@ics.muni.cz>, Slavek Licehammer <glory@ics.muni.cz>
See Also:
  • Constructor Details

    • Service

      public Service()
    • Service

      public Service(int id, String name)
    • Service

      public Service(int id, String name, String description)
    • Service

      public Service(int id, String name, String createdAt, String createdBy, String modifiedAt, String modifiedBy, Integer createdByUid, Integer modifiedByUid)
  • Method Details

    • compareTo

      public int compareTo(PerunBean perunBean)
      Specified by:
      compareTo in interface Comparable<PerunBean>
      Overrides:
      compareTo in class PerunBean
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Auditable
    • getDelay

      public int getDelay()
    • setDelay

      public void setDelay(int delay)
    • getDescription

      public String getDescription()
    • setDescription

      public void setDescription(String description)
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • getRecurrence

      public int getRecurrence()
    • setRecurrence

      public void setRecurrence(int recurrence)
    • getScript

      public String getScript()
    • setScript

      public void setScript(String script)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Auditable
    • isEnabled

      public boolean isEnabled()
    • setEnabled

      public void setEnabled(boolean enabled)
    • isUseExpiredMembers

      public boolean isUseExpiredMembers()
    • setUseExpiredMembers

      public void setUseExpiredMembers(boolean useExpiredUsers)
    • serializeToString

      public String serializeToString()
      Overrides:
      serializeToString in class Auditable
    • toString

      public String toString()
      Overrides:
      toString in class Auditable