Class CommentsApp
- java.lang.Object
-
- org.silverpeas.mobile.client.common.app.App
-
- org.silverpeas.mobile.client.apps.comments.CommentsApp
-
- All Implemented Interfaces:
com.google.gwt.event.shared.EventHandler,CommentsAppEventHandler,NavigationEventHandler,AppEventHandler
public class CommentsApp extends App implements CommentsAppEventHandler
-
-
Constructor Summary
Constructors Constructor Description CommentsApp(String contentId, String contentType, String pageTitle, String title, ApplicationInstanceDTO applicationInstance)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddComment(AddCommentEvent event)voidappInstanceChanged(NavigationAppInstanceChangedEvent event)voiddeleteComment(DeleteCommentEvent event)voidloadComments(CommentsLoadEvent event)voidsetApplicationInstance(ApplicationInstanceDTO instance)voidstart()voidstop()voidupdateComment(UpdateCommentEvent event)-
Methods inherited from class org.silverpeas.mobile.client.common.app.App
getApplicationInstance, getAppName, getMainPage, isStopLoading, receiveEvent, setMainPage, setStopLoading, showContent, startWithContent, stopLoadingDataEvent
-
-
-
-
Constructor Detail
-
CommentsApp
public CommentsApp(String contentId, String contentType, String pageTitle, String title, ApplicationInstanceDTO applicationInstance)
-
-
Method Detail
-
loadComments
public void loadComments(CommentsLoadEvent event)
- Specified by:
loadCommentsin interfaceCommentsAppEventHandler
-
addComment
public void addComment(AddCommentEvent event)
- Specified by:
addCommentin interfaceCommentsAppEventHandler
-
deleteComment
public void deleteComment(DeleteCommentEvent event)
- Specified by:
deleteCommentin interfaceCommentsAppEventHandler
-
setApplicationInstance
public void setApplicationInstance(ApplicationInstanceDTO instance)
- Overrides:
setApplicationInstancein classApp
-
updateComment
public void updateComment(UpdateCommentEvent event)
- Specified by:
updateCommentin interfaceCommentsAppEventHandler
-
appInstanceChanged
public void appInstanceChanged(NavigationAppInstanceChangedEvent event)
- Specified by:
appInstanceChangedin interfaceNavigationEventHandler
-
-