Package org.nuxeo.ecm.social.mini.message

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


            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

Related Classes of org.nuxeo.ecm.social.mini.message.MiniMessageService

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.