summaryrefslogtreecommitdiff
path: root/src/com/p4square/grow/ccb/CCBProgressReporter.java
blob: e2304fe5022f8aafaf39d647a22bf2c843d76500 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
package com.p4square.grow.ccb;

import com.p4square.ccbapi.CCBAPI;
import com.p4square.grow.frontend.ProgressReporter;
import org.restlet.security.User;

import java.util.Date;

/**
 * A ProgressReporter which records progress in CCB.
 *
 * Except not really, because it's not implemented yet.
 * This is just a placeholder until ccb-api-client-java has support for updating an individual.
 */
public class CCBProgressReporter implements ProgressReporter {

    private final CCBAPI mAPI;

    public CCBProgressReporter(final CCBAPI api) {
        mAPI = api;
    }

    @Override
    public void reportAssessmentComplete(User user, String level, Date date, String results) {
        // TODO
    }

    @Override
    public void reportChapterComplete(User user, String chapter, Date date) {
        // TODO
    }
}