Returns the default model page.<p>

@return the default model page
182166
public CmsModelPageConfig getDefaultModelPage() {

        List<CmsModelPageConfig> modelPages = getModelPages();
        for (CmsModelPageConfig modelPageConfig : getModelPages()) {
            if (modelPageConfig.isDefault()) {
                return modelPageConfig;
            }
        }
        if (modelPages.isEmpty()) {
            return null;
        }
        return modelPages.get(0);
    }
1066925
public List<CmsContainerPageElementPanel> getModelGroups() {

        final List<CmsContainerPageElementPanel> result = Lists.newArrayList();

        processPageContent(new I_PageContentVisitor() {

            public boolean beginContainer(String name, CmsContainer container) {

                return true;
            }

            public void endContainer() {

                // do nothing
            }

            public void handleElement(CmsContainerPageElementPanel element) {

                if (element.isModelGroup()) {
                    result.add(element);
                }
            }
        });
        return result;
    }
798397
public Object getDefault()
    {
        Object objDefault = super.getDefault();
        if (objDefault == null)
            objDefault = Integer.toString(DBConstants.WRITE_ACCESS);
        return objDefault;
    }
1351691
public Map<String, String[]> getParams() {

        // get the params
        Map<String, String[]> params = CmsCollectionsGenericWrapper.map(m_request.getParameterMap());
        if (params.size() == 0) {
            return null;
        }
        return params;
    }
546237
public function getPage() {
    $page = $this->traverse($this->pageMap, Server::getRequestUriParts());
    if ($page === null) {
      return null;
    }
    return $this->createWebPageFromClassName($page);
  }
1113364
protected CmsObject getCms() {

        if (m_cms == null) {
            try {
                m_cms = OpenCms.initCmsObject(A_CmsUI.getCmsObject());
                m_cms.getRequestContext().setSiteRoot("");
            } catch (CmsException e) {
                return null;
            }
        }
        return m_cms;
    }
596986
public String getDefaultFormsParam()
    {
        if (this.getScreenField().getParentScreen() != null)
            return ((ZScreenField)this.getScreenField().getParentScreen().getScreenFieldView()).getDefaultFormsParam();
        else
            return null;
    }
1116750
@CheckForNull
    protected AbstractMarkerAnnotationModel getModel() {
        if(editor == null) {
            return null;
        }
        IDocumentProvider provider = editor.getDocumentProvider();
        IAnnotationModel model = provider.getAnnotationModel(editor.getEditorInput());
        if (model instanceof AbstractMarkerAnnotationModel) {
            return (AbstractMarkerAnnotationModel) model;
        }
        return null;
    }
1151697
protected List<String> getPages() {

        if (m_pages == null) {
            m_pages = Arrays.asList(getPageArray());
        }
        return m_pages;
    }
727754
@Override
    public Model copy() {
        DefaultModel m = new DefaultModel(eb.copy());
        MappingUtils.fill(sm, m.getMapping());
        for (ModelView rc : parent.getViews()) {
            m.attach(rc.copy());
        }
        m.setAttributes(this.getAttributes().copy());
        return m;
    }
616248
function pageDefaults() {
  return {
    path: canonicalPath(),
    referrer: document.referrer,
    search: location.search,
    title: document.title,
    url: canonicalUrl(location.search)
  };
}
564284
public synchronized EvernoteHtmlHelper getHtmlHelperDefault() {
        checkLoggedIn();

        if (mHtmlHelperDefault == null) {
            mHtmlHelperDefault = createHtmlHelper(mEvernoteSession.getAuthToken());
        }
        return mHtmlHelperDefault;
    }
1355107
protected function getDefaultTemplate()
    {
        if ($this->getSubject()->getId()) {
            return $this->getSubject()->getTemplateName();
        }
        $templates = $this->getContainer()->getParameter('networking_init_cms.page.templates');
        reset($templates);
        $defaultTemplate = key($templates);

        return $defaultTemplate;
    }
723152
protected CmsDefaultStringModel getUrlNameModel(String urlName) {

        if (m_urlNameModel == null) {
            m_urlNameModel = new CmsDefaultStringModel("urlname");
            m_urlNameModel.setValue(urlName, false);
        }
        return m_urlNameModel;
    }
419951
public Set<String> getDetailPageTypes() {

        if (m_detailPageTypes != null) {
            return m_detailPageTypes;
        }
        Set<String> result = new HashSet<String>();
        for (CmsADEConfigDataInternal configData : m_siteConfigurationsByPath.values()) {
            List<CmsDetailPageInfo> detailPageInfos = configData.getOwnDetailPages();
            for (CmsDetailPageInfo info : detailPageInfos) {
                result.add(info.getType());
            }
        }
        m_detailPageTypes = result;
        return result;
    }
1111175
public CmsDetailPageInfo getMainDetailPage(String type) {

        List<CmsDetailPageInfo> detailPages = getDetailPagesForType(type);
        if ((detailPages == null) || detailPages.isEmpty()) {
            return null;
        }
        return detailPages.get(0);
    }
368543
public List<Page> getPages() {
        Collection collection = collections.get("page");
        if (collection != null) {
            List<Page> pages = collection.getPages();
            return ImmutableList.copyOf(pages);
        }
        return Collections.emptyList();
    }