|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ICategoryStore
Stores Meta Data (Indexed items , things we have spidered , user reaction to links)
Method Summary | |
---|---|
double |
getDirectScore(java.lang.String categName,
java.lang.String documID)
Get the direct score for the specified document id in the category |
double |
getImpliedScore(java.lang.String categName,
java.lang.String documID)
Get the implied score for the specified document id in the category |
java.lang.String |
getOriginalLocation(java.lang.String path)
Get the original location of the category from the model. |
void |
store(DocumStruct doc)
Store the document data as rdf-xml |
void |
updateCategoryScore(java.lang.String categoryname,
int userScore)
Update the category score using the categoryname and user feedback score |
void |
updateDocumentDirectScore(java.lang.String categoryname,
java.lang.String documentid,
int userScore)
Update the direct score of the document using the categoryname, document id and user feedback score |
void |
updateDocumentLinksAndScore(java.util.LinkedList listLinks,
int userScore)
Update the document with the specified links list and user feedback (+/-) |
Method Detail |
---|
java.lang.String getOriginalLocation(java.lang.String path) throws RpException
path
- Category folder path
RpException
- If an error occur in reading the document locationdouble getDirectScore(java.lang.String categName, java.lang.String documID) throws RpException
categName
- The category namedocumID
- The document id
RpException
- If an error occur in reading the direct score of the
documentdouble getImpliedScore(java.lang.String categName, java.lang.String documID) throws RpException
categName
- The category namedocumID
- The document id
RpException
- If an error occur in calculate the implied score of
the documentvoid updateDocumentLinksAndScore(java.util.LinkedList listLinks, int userScore)
listLinks
- Links list to update the documentuserScore
- User feedback score (+/-)void updateDocumentDirectScore(java.lang.String categoryname, java.lang.String documentid, int userScore)
categoryname
- The category namedocumentid
- The document iduserScore
- The user feedback score (+1/-1)void updateCategoryScore(java.lang.String categoryname, int userScore)
categoryname
- The category nameuserScore
- The user feedback score (+1/-1)void store(DocumStruct doc) throws RpException
doc
- Document to be stored
RpException
- If an error occur in storing the data
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |