Package com.cumulocity.me.sdk.client.page

Examples of com.cumulocity.me.sdk.client.page.EmptyPagedCollectionResource


        }
    }

    public PagedCollectionResource getManagedObjectsByListOfIds(List ids) {
        if (ids == null || ids.isEmpty()) {
            return new EmptyPagedCollectionResource(ManagedObjectCollectionRepresentation.class);
        }
        String urlTemplate = getInventoryRepresentation().getManagedObjectsForListOfIds();
        Map filter = Collections.singletonMap(IDS, createCommaSeparatedStringFromGids(ids));
        String url = templateUrlParser.replacePlaceholdersWithParams(urlTemplate, filter);
        return new ManagedObjectCollectionImpl(restConnector, url, pageSize);
View Full Code Here

TOP

Related Classes of com.cumulocity.me.sdk.client.page.EmptyPagedCollectionResource

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.