Class NotifSnapshot

java.lang.Object
flexagon.ff.common.core.pojos.BasePOJO
flexagon.fd.model2.notification.pojos.NotifSnapshot
All Implemented Interfaces:
Serializable

public class NotifSnapshot extends BasePOJO
Represents a Snapshot for a release. For use within Notification Templates.
See Also:
  • Constructor Details

    • NotifSnapshot

      public NotifSnapshot(RelSnapshotDataObject pDataObject)
      Creates an instance of this object with the given state information.
      Parameters:
      pDataObject - The release snapshot data.
  • Method Details

    • getId

      public Long getId()
      Returns the internal identifier of the release Snapshot.
      Returns:
      The internal identifier of the release Snapshot.
    • getName

      public String getName()
      Returns the name of the release Snapshot.
      Returns:
      The name of the release Snapshot.
    • getDescription

      public String getDescription()
      Returns the optional description of the release Snapshot.
      Returns:
      The optional description of the release Snapshot.
    • getStatusEnum

      public ReleaseSnapshotStatusEnum getStatusEnum()
      Returns the status of the release Snapshot.
      Returns:
      The status of the release Snapshot.
    • getStatus

      public String getStatus()
      Returns the status name of the release Snapshot.
      Returns:
      The status name of the release Snapshot.
    • getCreatedOn

      public Timestamp getCreatedOn()
      Returns the date and time of when the release Snapshot was created.
      Returns:
      The date and time of when the release Snapshot was created.
    • getCreatedBy

      public String getCreatedBy()
      Returns the user who created the release Snapshot.
      Returns:
      The user who created the release Snapshot.
    • getCreatedByFullName

      public String getCreatedByFullName()
      Returns the full name of the user who created the release Snapshot.
      Returns:
      The full name of the user who created the release Snapshot.
    • getCreatedByUserAndFullName

      public String getCreatedByUserAndFullName()
      Returns the username(full name) of the user who created the release Snapshot.
      Returns:
      Returns the username(full name) of the user who created the release Snapshot.
    • getSnapshotVersions

      public List<NotifSnapshotVersion> getSnapshotVersions() throws SQLException
      Returns the list of Snapshot Versions contained in the snapshot.
      Returns:
      The list of Snapshot Versions contained in the snapshot.
      Throws:
      SQLException - If the information cannot be retrieved from the database.
    • getRelease

      public NotifRelease getRelease() throws SQLException
      Returns the Release which is associated to the snapshot.
      Returns:
      The Release which is associated to the snapshot.
      Throws:
      SQLException - If the information cannot be retrieved from the database.
    • getVariables

      public List<NotifSnapshotVariable> getVariables() throws SQLException
      Returns the list of snapshot variables for the snapshot.
      Returns:
      The list of snapshot variables for the snapshot.
      Throws:
      SQLException - If the information cannot be retrieved from the database.
    • getVariable

      public NotifSnapshotVariable getVariable(String pName) throws SQLException
      Returns the named snapshot variable for the snapshot. Null if variable with given name does not exist.
      Returns:
      The named snapshot variable for the snapshot.
      Throws:
      SQLException - If the information cannot be retrieved from the database.
    • getDuplicateFilesFlag

      public boolean getDuplicateFilesFlag()
      Returns whether multiple packages in the snapshot results in duplicate files.
      Returns:
      Returns whether multiple packages in the snapshot results in duplicate files.