Examples of MiniMessageService


Examples of org.nuxeo.ecm.social.mini.message.MiniMessageService

            long pageSize = getMinMaxPageSize();

            String socialWorkspaceActivityObject = ActivityHelper.createDocumentActivityObject(
                    getRepositoryName(), getSocialWorkspaceId());
            RelationshipKind relationshipKind = getRelationshipKind();
            MiniMessageService miniMessageService = Framework.getLocalService(MiniMessageService.class);
            pageMiniMessages.addAll(miniMessageService.getMiniMessageFor(
                    socialWorkspaceActivityObject, relationshipKind,
                    socialWorkspaceActivityObject, getCurrentPageOffset(),
                    pageSize));
            nextOffset = offset + pageMiniMessages.size();
View Full Code Here

Examples of org.nuxeo.ecm.social.mini.message.MiniMessageService

            long pageSize = getMinMaxPageSize();

            String socialWorkspaceActivityObject = ActivityHelper.createDocumentActivityObject(
                    getRepositoryName(), getSocialWorkspaceId());
            RelationshipKind relationshipKind = getRelationshipKind();
            MiniMessageService miniMessageService = Framework.getLocalService(MiniMessageService.class);
            pageMiniMessages.addAll(miniMessageService.getMiniMessageActivitiesFor(
                    socialWorkspaceActivityObject, relationshipKind,
                    socialWorkspaceActivityObject, getCurrentPageOffset(),
                    pageSize).toActivityMessages(getLocale()));
            nextOffset = offset + pageMiniMessages.size();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.