info.magnolia.messages.app
Class MessagesMainSubApp

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

public class MessagesMainSubApp
extends BaseSubApp
implements MessagesView.Listener

Sub app for the main tab in the message app.


Constructor Summary
MessagesMainSubApp(SubAppContext subAppContext, MessagesView view)
           
 
Method Summary
 void handleGlobalMessage(MessageType type, String subject, String message)
           
 void handleGroupMessage(String group, MessageType type, String subject, String message)
           
 void handleLocalMessage(MessageType type, String subject, String message)
           
 void handleUserMessage(String user, MessageType type, String subject, String message)
           
 void locationChanged(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(SubAppContext subAppContext,
                                 MessagesView view)
Method Detail

locationChanged

public void locationChanged(Location location)
Specified by:
locationChanged in interface SubApp
Overrides:
locationChanged in class BaseSubApp

showConfirmationMessage

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

handleUserMessage

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

handleGroupMessage

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

handleLocalMessage

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

handleGlobalMessage

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


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