Class CmsPublishListHelper

java.lang.Object
org.opencms.ade.publish.CmsPublishListHelper

public final class CmsPublishListHelper extends Object
Helper functions used to collect information for the publish dialog.
  • Method Details

    • adjustCmsObject

      public static CmsObject adjustCmsObject(CmsObject cms, boolean online) throws CmsException
      Initializes a CmsObject based on the given one, but with adjusted project information and configured, such that release and expiration date are ignored.

      Parameters:
      cms - the original CmsObject.
      online - true if a CmsObject for the Online project should be returned
      Returns:
      the initialized CmsObject
      Throws:
      CmsException - if something goes wrong