public CmsPublishList mergePublishLists(CmsObject cms, CmsPublishList pubList1, CmsPublishList pubList2)
    throws CmsException {

        return m_securityManager.mergePublishLists(cms.getRequestContext(), pubList1, pubList2);
    }
public CmsPublishList mergePublishLists ( CmsObject cms , CmsPublishList pubList1 , CmsPublishList pubList2 ) throws CmsException { return m_securityManager . mergePublishLists ( cms . getRequestContext ( ) , pubList1 , pubList2 ) ; }
Returns a new publish list that contains all resources of both given publish lists.<p>

@param cms the cms request context
@param pubList1 the first publish list
@param pubList2 the second publish list

@return a new publish list that contains all resources of both given publish lists

@throws CmsException if something goes wrong