|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.firstpartners.rp.back.datastore.BasicFeedbackDataStore
public class BasicFeedbackDataStore
Simple Meta Data Store as an XML file.
Field Summary | |
---|---|
private static int |
counter
Internal counter for storing the feedback information |
static java.lang.String |
DEFAULT_SPECIAL_DATA
Folder name for storing the feedback events |
protected org.apache.log4j.Logger |
logger
Logger for this class and subclasses |
(package private) static java.lang.String |
MODEL_EXTENSION
Model extension for the feedback event |
(package private) static java.lang.String |
MODEL_NAME
Model name for the feedback event |
Fields inherited from interface net.firstpartners.rp.plugins.IFeedbackDataStore |
---|
feedback, query |
Constructor Summary | |
---|---|
BasicFeedbackDataStore()
|
Method Summary | |
---|---|
static int |
getCounter()
|
BaseFeedback |
read(java.lang.String modelpath)
Get the Feedback object from the model |
void |
save(BaseFeedback advice)
Save the feedback data |
static void |
setCounter(int counter)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String DEFAULT_SPECIAL_DATA
static final java.lang.String MODEL_NAME
static final java.lang.String MODEL_EXTENSION
private static int counter
protected final org.apache.log4j.Logger logger
Constructor Detail |
---|
public BasicFeedbackDataStore()
Method Detail |
---|
public BaseFeedback read(java.lang.String modelpath) throws RpException
read
in interface IFeedbackDataStore
modelpath
- The model path
RpException
- If an error occur in reading the modelpublic void save(BaseFeedback advice) throws RpException
save
in interface IFeedbackDataStore
advice
- Feedback object
RpException
- If an error occur in storing the modelpublic static int getCounter()
public static void setCounter(int counter)
counter
- The counter to set.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |