Package org.apache.chemistry.opencmis.commons.impl.server

Examples of org.apache.chemistry.opencmis.commons.impl.server.RenditionInfoImpl


        if (renditions == null || renditions.size() == 0)
            objInfo.setRenditionInfos(null);
        else {
            List<RenditionInfo> infos = new ArrayList<RenditionInfo>();
            for (RenditionData rendition : renditions) {
                RenditionInfoImpl info = new RenditionInfoImpl();
                info.setKind(rendition.getKind());
                info.setId(rendition.getStreamId());
                info.setContentType(rendition.getMimeType());
                info.setLength(rendition.getBigLength());
                info.setTitle(rendition.getTitle());
                infos.add(info);
            }
            objInfo.setRenditionInfos(infos);
        }
View Full Code Here

TOP

Related Classes of org.apache.chemistry.opencmis.commons.impl.server.RenditionInfoImpl

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.