Package org.nuxeo.ecm.core.api.impl

Examples of org.nuxeo.ecm.core.api.impl.DocumentModelListImpl


    @OperationMethod
    public DocumentModelList run() throws Exception {
        SocialWorkspaceService service = Framework.getService(SocialWorkspaceService.class);

        DocumentModelList result = new DocumentModelListImpl();
        for (SocialWorkspace sw : service.searchDetachedPublicSocialWorkspaces(
                session, pattern)) {
            result.add(sw.getDocument());
        }
        return result;
    }
View Full Code Here


    public List<DocumentModel> getCurrentPage() {
        if (relationships == null) {
            fillRelationshipsForCurrentUser();
        }
        if (!hasError()) {
            relationshipPage = new DocumentModelListImpl();
            resultsCount = relationships.size();
            // post-filter the results "by hand" to handle pagination
            long pageSize = getMinMaxPageSize();
            if (pageSize == 0) {
                for (String relationship : relationships) {
View Full Code Here

TOP

Related Classes of org.nuxeo.ecm.core.api.impl.DocumentModelListImpl

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.