info.magnolia.messages.app
Class MessagesMainSubApp

java.lang.Object
  extended by info.magnolia.ui.framework.app.BaseSubApp<MessagesView>
      extended by info.magnolia.messages.app.MessagesMainSubApp
All Implemented Interfaces:
MessagesView.Listener, info.magnolia.ui.api.app.SubApp

public class MessagesMainSubApp
extends info.magnolia.ui.framework.app.BaseSubApp<MessagesView>
implements MessagesView.Listener

Sub app for the main tab in the message app.


Constructor Summary
MessagesMainSubApp(info.magnolia.ui.api.app.SubAppContext subAppContext, MessagesView view)
           
 
Method Summary
 void handleGlobalMessage(info.magnolia.ui.api.message.MessageType type, String subject, String message)
           
 void handleGroupMessage(String group, info.magnolia.ui.api.message.MessageType type, String subject, String message)
           
 void handleLocalMessage(info.magnolia.ui.api.message.MessageType type, String subject, String message)
           
 void handleUserMessage(String user, info.magnolia.ui.api.message.MessageType type, String subject, String message)
           
 void locationChanged(info.magnolia.ui.api.location.Location location)
           
 void showConfirmationMessage(String message)
           
 
Methods inherited from class info.magnolia.ui.framework.app.BaseSubApp
getAppContext, getCaption, getCurrentLocation, getSubAppContext, getSubAppId, getView, isCloseable, onSubAppStart, onSubAppStop, start, stop, supportsLocation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface info.magnolia.ui.api.app.SubApp
getCaption, getSubAppId, getView, isCloseable, start, stop, supportsLocation
 

Constructor Detail

MessagesMainSubApp

@Inject
public MessagesMainSubApp(info.magnolia.ui.api.app.SubAppContext subAppContext,
                                 MessagesView view)
Method Detail

locationChanged

public void locationChanged(info.magnolia.ui.api.location.Location location)
Specified by:
locationChanged in interface info.magnolia.ui.api.app.SubApp
Overrides:
locationChanged in class info.magnolia.ui.framework.app.BaseSubApp<MessagesView>

showConfirmationMessage

public void showConfirmationMessage(String message)
Specified by:
showConfirmationMessage in interface MessagesView.Listener

handleUserMessage

public void handleUserMessage(String user,
                              info.magnolia.ui.api.message.MessageType type,
                              String subject,
                              String message)
Specified by:
handleUserMessage in interface MessagesView.Listener

handleGroupMessage

public void handleGroupMessage(String group,
                               info.magnolia.ui.api.message.MessageType type,
                               String subject,
                               String message)
Specified by:
handleGroupMessage in interface MessagesView.Listener

handleLocalMessage

public void handleLocalMessage(info.magnolia.ui.api.message.MessageType type,
                               String subject,
                               String message)
Specified by:
handleLocalMessage in interface MessagesView.Listener

handleGlobalMessage

public void handleGlobalMessage(info.magnolia.ui.api.message.MessageType type,
                                String subject,
                                String message)
Specified by:
handleGlobalMessage in interface MessagesView.Listener


Copyright © 2014 Magnolia International Ltd.. All Rights Reserved.