Class CmsPublishListHelper


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

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static CmsObject adjustCmsObject​(CmsObject cms, boolean online)
      Initializes a CmsObject based on the given one, but with adjusted project information and configured, such that release and expiration date are ignored.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • 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