Package org.apache.rave.portal.model

Examples of org.apache.rave.portal.model.MongoDbActivityStreamsMediaLink


        return null;
    }

    private ActivityStreamsMediaLink convert(ActivityStreamsMediaLink source) {
        if (source != null) {
            MongoDbActivityStreamsMediaLink converted = new MongoDbActivityStreamsMediaLink();
            converted.setId(source.getId() == null ? generateId() : source.getId());
            converted.setDuration(source.getDuration());
            converted.setHeight(source.getHeight());
            converted.setWidth(source.getWidth());
            converted.setUrl(source.getUrl());
            converted.setOpenSocial(source.getOpenSocial());
            return converted;
        }
        return null;
    }
View Full Code Here

TOP

Related Classes of org.apache.rave.portal.model.MongoDbActivityStreamsMediaLink

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.