Package org.opencms.ade.publish
Class CmsPublishListHelper
java.lang.Object
org.opencms.ade.publish.CmsPublishListHelper
Helper functions used to collect information for the publish dialog.
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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.
-
Method Details
-
adjustCmsObject
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
-