Package org.opencms.ade.publish
Class CmsPublishListHelper
- java.lang.Object
-
- org.opencms.ade.publish.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.
-
-
-
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
-
-