|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.filteredpush.client.jsf.MessengerBean
public class MessengerBean
A class responsible for the interacting with the messaging system.
| Constructor Summary | |
|---|---|
MessengerBean()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getAnnotation(java.lang.String annotationURI)
Get the full annotation in rdf/xml with the specific uri. |
java.util.List<FPAnnotationDigest> |
getAnnotationReponses(java.lang.String uri)
Get the annotation response for the specific annotation. |
java.util.List<FPAnnotationDigest> |
getInterestedAnnotations(java.lang.String interestHandle)
Get the annotation digests that pertains to the specific interest. |
java.util.List<FPAnnotationDigest> |
getNewInterestedAnnotations(java.lang.String interestHandle,
java.util.Date lastTime)
Get the annotation digests that pertains to the specific interest and sent into the FPush network after the specific time stamp. |
java.lang.String |
registerInterest(java.lang.String interest)
Register the interest in FPush network. |
void |
resetUpdateTimestamp()
|
java.util.List<FPAnnotationDigest> |
searchAnnotations(java.util.List<java.lang.String> interestHandles,
java.util.Map<java.lang.String,java.lang.String> paramMap)
Search annotations in the FPush network that pertaining the specified interests and also the search parameters. |
void |
sendAnnotationResponse(FPAnnotation respondedAnnotation,
FPUser respondant)
Send the response annotation to FPush network. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MessengerBean()
| Method Detail |
|---|
public void resetUpdateTimestamp()
public java.lang.String registerInterest(java.lang.String interest)
throws ServiceAccessException
interest - The interest in key-value pairs, like "collectionCode=A, catalogNumber=00107080".
ServiceAccessException - If the FPush network can't be accessed successfully or correctly.
public java.util.List<FPAnnotationDigest> getInterestedAnnotations(java.lang.String interestHandle)
throws ServiceAccessException
interestHandle - The handle returned from the FPush network when the interest is registered.
ServiceAccessException - If the FPush network can't be accessed successfully or correctly.
public java.util.List<FPAnnotationDigest> getNewInterestedAnnotations(java.lang.String interestHandle,
java.util.Date lastTime)
throws ServiceAccessException
interestHandle - The handle returned from the FPush network when the interest is registered.lastTime - The time stamp.
ServiceAccessException - If the FPush network can't be accessed successfully or correctly.
public java.lang.String getAnnotation(java.lang.String annotationURI)
throws ServiceAccessException
annotationURI - The annotation uri.
ServiceAccessException - If the FPush network can't be accessed successfully or correctly.
public java.util.List<FPAnnotationDigest> searchAnnotations(java.util.List<java.lang.String> interestHandles,
java.util.Map<java.lang.String,java.lang.String> paramMap)
throws ServiceAccessException
interestHandles - List of the handle of the interest.paramMap - Map containing the search conditions, like annotatorName, annotationDateFrom etc.
For more details @see org.filteredpush.client.jsf#getQueryParamMap()
ServiceAccessException - If the FPush network can't be accessed successfully or correctly.
public java.util.List<FPAnnotationDigest> getAnnotationReponses(java.lang.String uri)
throws ServiceAccessException
uri - The uri of the annotation for which the responses are requested.
ServiceAccessException - If the FPush network can't be accessed successfully or correctly.
public void sendAnnotationResponse(FPAnnotation respondedAnnotation,
FPUser respondant)
throws ServiceAccessException,
AnnotationCreationException
respondedAnnotation - The annotation from which the response will be composed.respondant - The human user composing this response.
ServiceAccessException - If the FPush network can't be accessed successfully or correctly.
AnnotationCreationException - If fails to create an annotation successfully.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||