private void attachLocaleGroups ( CmsResource copiedPage ) throws CmsException { CmsLocaleGroupService localeGroupService = getRootCms ( ) . getLocaleGroupService ( ) ; if ( Status . linkable == localeGroupService . checkLinkable ( m_originalPage , copiedPage ) ) { try { localeGroupService . attachLocaleGroupIndirect ( m_originalPage , copiedPage ) ; } catch ( CmsException e ) { LOG . error ( e . getLocalizedMessage ( ) , e ) ; } } }
Attaches locale groups to the copied page .