Package com.dottydingo.hyperion.api

Examples of com.dottydingo.hyperion.api.HistoryResponse


        PersistenceContext persistenceContext = buildPersistenceContext(phaseContext);

        PersistenceOperations operations = persistenceContext.getEntityPlugin().getPersistenceOperations();
        QueryResult<HistoryEntry> entries = operations.getHistory(ids.get(0),start,limit,persistenceContext);

        HistoryResponse historyResponse = new HistoryResponse();
        historyResponse.setEntries(entries.getItems());
        historyResponse.setTotalCount(entries.getTotalCount());
        historyResponse.setStart(entries.getStart());
        historyResponse.setResponseCount(entries.getResponseCount());

        phaseContext.setResult(historyResponse);

        response.setResponseCode(200);
    }
View Full Code Here

TOP

Related Classes of com.dottydingo.hyperion.api.HistoryResponse

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.