Package com.dotcms.content.elasticsearch.business

Examples of com.dotcms.content.elasticsearch.business.ESContentFactoryImpl


            dh.setParam(parentInode);
            dh.setParam(relationType);

            List<com.dotmarketing.portlets.contentlet.business.Contentlet> l = dh.list();
            List<Contentlet> conResult = new ArrayList<Contentlet>();
            ESContentFactoryImpl conFac = new ESContentFactoryImpl();
            for (com.dotmarketing.portlets.contentlet.business.Contentlet fatty : l) {
              conResult.add(conFac.convertFatContentletToContentlet(fatty));
      }
            return conResult;
        } catch (Exception e) {
            Logger.error(RelationshipFactory.class, "getChildrenClass failed:" + e, e);
            throw new DotRuntimeException(e.toString());
View Full Code Here


            dh.setParam(childInode);
            dh.setParam(relationType);

            List<com.dotmarketing.portlets.contentlet.business.Contentlet> l = dh.list();
            List<Contentlet> conResult = new ArrayList<Contentlet>();
            ESContentFactoryImpl conFac = new ESContentFactoryImpl();
            for (com.dotmarketing.portlets.contentlet.business.Contentlet fatty : l) {
              conResult.add(conFac.convertFatContentletToContentlet(fatty));
      }
            return conResult;
        } catch (Exception e) {
            Logger.error(RelationshipFactory.class, "getChildrenClass failed:" + e, e);
            throw new DotRuntimeException(e.toString());
View Full Code Here

              dh.setMaxResults(limit);
            }

            List<com.dotmarketing.portlets.contentlet.business.Contentlet> l = dh.list();
            List<Contentlet> conResult = new ArrayList<Contentlet>();
            ESContentFactoryImpl conFac = new ESContentFactoryImpl();
            for (com.dotmarketing.portlets.contentlet.business.Contentlet fatty : l) {
              conResult.add(conFac.convertFatContentletToContentlet(fatty));
      }

            return new ArrayList<Contentlet> (new LinkedHashSet<Contentlet>(conResult));

        } catch (Exception e) {
View Full Code Here

TOP

Related Classes of com.dotcms.content.elasticsearch.business.ESContentFactoryImpl

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.