public class Reporter extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ALLOW_CREATE_GROUPS |
static String |
ALLOW_CREATE_USERS |
protected Boolean |
bUserBased
true when the system is connected to a database with user's data.
|
static String |
CONTEXT |
static String |
ELEMENT_NAME |
static String |
GROUP_CODE_FILTER |
boolean |
initiated
true if the system was successfully initiated, false otherwise
|
static String |
KEY |
static String |
SHOW_GROUP_LIST |
static String |
SHOW_USER_LIST |
static String |
TIME_LAP |
static String |
USER_CODE_FILTER |
static String |
USER_ID |
static String |
USER_TABLES |
Constructor and Description |
---|
Reporter()
Creates new Reporter
|
public boolean initiated
protected Boolean bUserBased
public static final String ALLOW_CREATE_GROUPS
public static final String ALLOW_CREATE_USERS
public static final String SHOW_GROUP_LIST
public static final String SHOW_USER_LIST
public static final String USER_TABLES
public static final String TIME_LAP
public static final String ELEMENT_NAME
public static final String USER_ID
public static final String KEY
public static final String CONTEXT
public static final String GROUP_CODE_FILTER
public static final String USER_CODE_FILTER
public String getProperty(String key, String defaultValue) throws Exception
key
- Property keydefaultValue
- Default value for this keyException
- Throwed when the system was unable to read the specified propertypublic boolean getBooleanProperty(String key, boolean defaultValue) throws Exception
key
- defaultValue
- Exception
protected GroupData promptForNewGroup(Component parent, Messages msg) throws Exception
Exception
protected UserData promptForNewUser(Component parent, Messages msg, String groupId) throws Exception
Exception
protected String promptGroupId(Component parent, Messages msg) throws Exception
Exception
public String promptUserId(Component parent, Messages msg) throws Exception
Exception
public void init(HashMap properties, Component parent, Messages msg) throws Exception
Exception
public static Reporter getReporter(HashMap properties, Component parent, Messages msg) throws Exception
Exception
public static Reporter getReporter(String className, String strProperties, Component parent, Messages msg) throws Exception
Exception
protected void finalize() throws Throwable
public void end()
public void endSequence()
public void endSession()
public void newSession(JClicProject jcp, Component parent, Messages msg)
public void newSequence(ActivitySequenceElement ase)
public void newActivity(Activity act)
public void endActivity(int score, int numActions, boolean solved)
public SequenceReg.Info getCurrentSequenceInfo()
public String getCurrentSequenceTag()
Copyright © 2004-15 Francesc Busquets (fbusquets@xtec.cat) & Departament d'Educació de la Generalitat de Catalunya (info@xtec.cat)
Licensed under the terms of the GNU General Public License.