|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lumis.service.socialnetworkservices.microblog.core.manager.HashOccurrenceManager
public class HashOccurrenceManager
Manager class used to deal with Hash Ocurrences.
Method Summary | |
---|---|
List<HashOccurrence> |
findTopOccurrencesOnDay(Integer maxOccurrences,
ITransaction transaction,
String serviceInstanceId)
Method used to retrieve the top-occurrences of a hashtag in the current day. |
List<HashOccurrence> |
findTopOccurrencesOnWeek(Integer maxOccurrences,
ITransaction transaction,
String serviceInstanceId)
Method used to retrieve the top-occurrences of a hashtag in the past week, i.e, the past 7 days. |
static HashOccurrenceManager |
getInstance()
Singleton method that retrieves a instance of this class. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static HashOccurrenceManager getInstance()
public List<HashOccurrence> findTopOccurrencesOnWeek(Integer maxOccurrences, ITransaction transaction, String serviceInstanceId) throws UnexpectedException
maxOccurrences
- The maximum number of hashtag occurrences desired to retrieve.transaction
- The current transaction.
UnexpectedException
public List<HashOccurrence> findTopOccurrencesOnDay(Integer maxOccurrences, ITransaction transaction, String serviceInstanceId) throws UnexpectedException
maxOccurrences
- The maximum number of hashtag occurrences desired to retrieve.transaction
- The current transaction.
UnexpectedException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |