public void createNewModelPage(
        final String title,
        final String description,
        final CmsUUID copyId,
        final boolean isModelGroup) {

        CmsRpcAction<CmsModelPageEntry> action = new CmsRpcAction<CmsModelPageEntry>() {

            @Override
            public void execute() {

                start(200, true);

                getService().createNewModelPage(getEntryPoint(), title, description, copyId, isModelGroup, this);

            }

            @Override
            protected void onResponse(final CmsModelPageEntry result) {

                stop(false);
                if (isModelGroup) {
                    CmsSitemapView.getInstance().displayNewModelPage(result, true);
                } else {
                    loadNewElementInfo(new AsyncCallback<Void>() {

                        public void onFailure(Throwable caught) {

                            // nothing to do

                        }

                        public void onSuccess(Void v) {

                            CmsSitemapView.getInstance().displayNewModelPage(result, false);
                        }
                    });
                }

            }

        };
        action.execute();
    }
public void createNewModelPage ( final String title , final String description , final CmsUUID copyId , final boolean isModelGroup ) { CmsRpcAction < CmsModelPageEntry > action = new CmsRpcAction < CmsModelPageEntry > ( ) { @ Override public void execute ( ) { start ( 200 , true ) ; getService ( ) . createNewModelPage ( getEntryPoint ( ) , title , description , copyId , isModelGroup , this ) ; } @ Override protected void onResponse ( final CmsModelPageEntry result ) { stop ( false ) ; if ( isModelGroup ) { CmsSitemapView . getInstance ( ) . displayNewModelPage ( result , true ) ; } else { loadNewElementInfo ( new AsyncCallback < Void > ( ) { public void onFailure ( Throwable caught ) { } public void onSuccess ( Void v ) { CmsSitemapView . getInstance ( ) . displayNewModelPage ( result , false ) ; } } ) ; } } } ; action . execute ( ) ; }
Creates a new model page.<p>

@param title the title of the model page
@param description the description of the model page
@param copyId the structure id of the resource which should be used as a copy model for the new page
@param isModelGroup in case of a model group page