Class Publication

All Implemented Interfaces:
Serializable, IBaseEntity, ICoreEntity, IEntity, ISortableEntity

@Entity public class Publication extends ComplexEntity
Entity representing an instance of a publication that has been performed. A publication is always associated with a PublicationProfile that holds the parameters for this publication. After running the Publication gets the next version number and is stored with the PublicationProfile. Already existing Publications are deleted unless PublicationProfileType is configured to have versions and depending on number of version currently held in the system.
The Report holds all messages created during publication process, including any error messages.
See Also:
  • Constructor Details

    • Publication

      public Publication()
  • Method Details

    • getPublicationProfile

      public PublicationProfile getPublicationProfile()
    • setPublicationProfile

      public void setPublicationProfile(PublicationProfile publicationProfile)
    • getCreationDateTime

      public Calendar getCreationDateTime()
    • setCreationDateTime

      public void setCreationDateTime(Calendar creationDateTime)
    • getVersion

      public String getVersion()
    • setVersion

      public void setVersion(String version)
    • getReport

      public Report getReport()
    • setReport

      public void setReport(Report report)
    • getPreviewAsset

      public Asset getPreviewAsset()
    • setPreviewAsset

      public void setPreviewAsset(Asset asset)
    • getType

      public ComplexTypeEntity getType()
      Description copied from class: ComplexEntity
      override in derived classes, return null if ComplexEntity-subclass is not type managed.
      Specified by:
      getType in class ComplexEntity