Package org.nuxeo.ecm.rating.api

Examples of org.nuxeo.ecm.rating.api.LikeStatus


        return session.getPrincipal().getName().equals(actorUsername);
    }

    private Map<String, Serializable> getLikeStatus(Serializable id) {
        String activityObject = ActivityHelper.createActivityObject(id);
        LikeStatus likeStatus = likeService.getLikeStatus(
                session.getPrincipal().getName(), activityObject);
        return likeStatus.toMap();
    }
View Full Code Here

TOP

Related Classes of org.nuxeo.ecm.rating.api.LikeStatus

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.