public CmsContainerElementData getNewElementData(
        CmsContainerPageRpcContext context,
        CmsUUID detailContentId,
        String reqParams,
        String resourceType,
        Collection<CmsContainer> containers,
        String localeName)
    throws CmsRpcException {

        CmsContainerElementData result = null;
        try {
            ensureSession();
            CmsResource pageResource = getCmsObject().readResource(context.getPageStructureId());
            initRequestFromRpcContext(context);
            String containerpageUri = getCmsObject().getSitePath(pageResource);
            Locale locale = CmsLocaleManager.getLocale(localeName);
            result = getNewElement(
                getServerIdString(resourceType),
                containerpageUri,
                detailContentId,
                containers,
                locale);
        } catch (Throwable e) {
            error(e);
        }
        return result;
    }
public CmsContainerElementData getNewElementData ( CmsContainerPageRpcContext context , CmsUUID detailContentId , String reqParams , String resourceType , Collection < CmsContainer > containers , String localeName ) throws CmsRpcException { CmsContainerElementData result = null ; try { ensureSession ( ) ; CmsResource pageResource = getCmsObject ( ) . readResource ( context . getPageStructureId ( ) ) ; initRequestFromRpcContext ( context ) ; String containerpageUri = getCmsObject ( ) . getSitePath ( pageResource ) ; Locale locale = CmsLocaleManager . getLocale ( localeName ) ; result = getNewElement ( getServerIdString ( resourceType ) , containerpageUri , detailContentId , containers , locale ) ; } catch ( Throwable e ) { error ( e ) ; } return result ; }
@see org.opencms.ade.containerpage.shared.rpc.I_CmsContainerpageService#getNewElementData(org.opencms.ade.containerpage.shared.CmsContainerPageRpcContext, org.opencms.util.CmsUUID, java.lang.String, java.lang.String, java.util.Collection, java.lang.String)