Class Auditable

java.lang.Object
cz.metacentrum.perun.core.api.PerunBean
cz.metacentrum.perun.core.api.Auditable
All Implemented Interfaces:
Serializable, Comparable<PerunBean>
Direct Known Subclasses:
AttributeDefinition, Ban, CandidateGroup, Consent, ConsentHub, Destination, ExtSource, Facility, Group, Host, Member, Owner, Resource, ResourceTag, SecurityTeam, Service, ServiceDenial, ServicesPackage, User, UserExtSource, Vo

public abstract class Auditable extends PerunBean implements Serializable
This class represent audit information.
Author:
Michal Stava stavamichal@gmail.com
See Also:
  • Constructor Details

    • Auditable

      public Auditable()
    • Auditable

      public Auditable(int id)
    • Auditable

      public Auditable(int id, String createdAt, String createdBy, String modifiedAt, String modifiedBy, Integer createdByUid, Integer modifiedByUid)
    • Auditable

      public Auditable(String createdAt, String createdBy, String modifiedAt, String modifiedBy, Integer createdByUid, Integer modifiedByUid)
  • Method Details

    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class PerunBean
    • getCreatedAt

      public String getCreatedAt()
      Gets the information when it was created.
      Returns:
      createdAt, the date
    • setCreatedAt

      public void setCreatedAt(String createdAt)
      Sets created time for this instance.
      Parameters:
      createdAt - , the date.
    • getCreatedBy

      public String getCreatedBy()
      Gets the information who created it.
      Returns:
      createdBy, the user
    • setCreatedBy

      public void setCreatedBy(String createdBy)
      Sets creator for this instance.
      Parameters:
      createdBy - , the user.
    • getCreatedByUid

      public Integer getCreatedByUid()
      Gets the information who user created it.
      Returns:
      createdByUid, the user
    • setCreatedByUid

      public void setCreatedByUid(Integer createdByUid)
      Sets information about who user created it.
      Parameters:
      createdByUid - , the user.
    • getModifiedAt

      public String getModifiedAt()
      Gets the information when it was modofied.
      Returns:
      modifiedAt, the time
    • setModifiedAt

      public void setModifiedAt(String modifiedAt)
      Sets modified time for this instance.
      Parameters:
      modifiedAt - , the time.
    • getModifiedBy

      public String getModifiedBy()
      Gets the information who modified it.
      Returns:
      modifiedBy, the user
    • setModifiedBy

      public void setModifiedBy(String modifiedBy)
      Sets information about who modified it.
      Parameters:
      modifiedBy - , the user.
    • getModifiedByUid

      public Integer getModifiedByUid()
      Gets the information who user modified it.
      Returns:
      modifiedByUid, the user ID
    • setModifiedByUid

      public void setModifiedByUid(Integer modifiedByUid)
      Sets information about who user modified it.
      Parameters:
      modifiedByUid - , the user.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class PerunBean
    • serializeToString

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

      public String toString()
      Overrides:
      toString in class PerunBean