Package org.jabusuite.cms.session

Examples of org.jabusuite.cms.session.CmsPagesRemote


            private static final long serialVersionUID = 1L;

            public void actionPerformed(ActionEvent arg0) {
                try {
                    createTestPages();
                    CmsPagesRemote pageManager = (CmsPagesRemote) ClientTools.getRemoteBean(CmsPagesRemote.class);

                    List<CmsPage> pages = pageManager.getDatasets(null, 2, "", "", ClientGlobals.getUser(), ClientGlobals.getCompany(), 0, 0);
                    Iterator<CmsPage> it = pages.iterator();
                    while (it.hasNext()) {
                        logger.debug("Seite: " + it.next().getTitle());
                    }
View Full Code Here


            Object ref = context.lookup("CmsPagesBean/remote");
            CmsPagesRemote pageManager = (CmsPagesRemote) PortableRemoteObject.narrow(ref, CmsPagesRemote.class);
            createTestPages(pageManager,site,null,3,1);
            }
             */
            CmsPagesRemote pageManager = (CmsPagesRemote) ClientTools.getRemoteBean(CmsPagesRemote.class);

            createTestPages(pageManager, site, null, 3, 1);
        } catch (Exception ne) {
            logger.error("Error adding pages", ne);
        }
View Full Code Here

TOP

Related Classes of org.jabusuite.cms.session.CmsPagesRemote

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.