org.broadleafcommerce.openadmin.client
Class BLCMain

java.lang.Object
  extended by org.broadleafcommerce.openadmin.client.BLCMain
All Implemented Interfaces:
com.google.gwt.core.client.EntryPoint

public class BLCMain
extends Object
implements com.google.gwt.core.client.EntryPoint

Author:
jfischer

Field Summary
static String adminContext
           
static String assetServerUrlPrefix
           
static String csrfToken
           
static String currentModuleKey
           
static String currentPageKey
           
static String currentViewKey
           
static boolean DEBUG
           
static EntityEditDialog ENTITY_ADD
           
static boolean ISNEW
           
static MasterView MASTERVIEW
           
static MessageManager MESSAGE_MANAGER
           
static ProgressWindow MODAL_PROGRESS
           
static SimpleProgress NON_MODAL_PROGRESS
           
static PolymorphicTypeSelectionDialog POLYMORPHIC_ADD
           
static PostLaunch postLaunch
           
static ServerProcessProgressWindow progressWindow
           
static SplashView SPLASH_PROGRESS
           
static String storeFrontWebAppPrefix
           
static String webAppContext
           
static boolean workflowEnabled
           
 
Constructor Summary
BLCMain()
           
 
Method Summary
static void addModule(Module module)
           
static void addPreProcessor(PreProcessor preProcessor)
           
static String buildStoreFrontBaseUrl()
           
static String buildStoreFrontBaseUrl(String path)
           
static void drawCurrentState(String requestedModuleKey, String requestedPageKey)
           
static MessageManager getMessageManager()
           
static Module getModule(String moduleKey)
           
static boolean isLogDebugEnabled(String category)
           
static void logDebug(String message, String category)
          Log a debug.
 void onModuleLoad()
           
static void removeModule(String moduleKey)
           
static void removeSplashWindow()
           
static void setCurrentModuleKey(String requestedModuleKey)
           
static void setCurrentPageKey(String requestedPageKey)
           
static void setSplashWindow(SplashView splashWindow)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MESSAGE_MANAGER

public static final MessageManager MESSAGE_MANAGER

progressWindow

public static final ServerProcessProgressWindow progressWindow

csrfToken

public static String csrfToken

webAppContext

public static String webAppContext

storeFrontWebAppPrefix

public static String storeFrontWebAppPrefix

assetServerUrlPrefix

public static String assetServerUrlPrefix

adminContext

public static String adminContext

MODAL_PROGRESS

public static ProgressWindow MODAL_PROGRESS

SPLASH_PROGRESS

public static SplashView SPLASH_PROGRESS

NON_MODAL_PROGRESS

public static SimpleProgress NON_MODAL_PROGRESS

ENTITY_ADD

public static EntityEditDialog ENTITY_ADD

POLYMORPHIC_ADD

public static PolymorphicTypeSelectionDialog POLYMORPHIC_ADD

MASTERVIEW

public static MasterView MASTERVIEW

ISNEW

public static boolean ISNEW

currentModuleKey

public static String currentModuleKey

currentPageKey

public static String currentPageKey

currentViewKey

public static String currentViewKey

postLaunch

public static PostLaunch postLaunch

workflowEnabled

public static boolean workflowEnabled

DEBUG

public static final boolean DEBUG
See Also:
Constant Field Values
Constructor Detail

BLCMain

public BLCMain()
Method Detail

addModule

public static void addModule(Module module)

removeModule

public static void removeModule(String moduleKey)

getModule

public static Module getModule(String moduleKey)

addPreProcessor

public static void addPreProcessor(PreProcessor preProcessor)

setSplashWindow

public static void setSplashWindow(SplashView splashWindow)

removeSplashWindow

public static void removeSplashWindow()

setCurrentModuleKey

public static void setCurrentModuleKey(String requestedModuleKey)

setCurrentPageKey

public static void setCurrentPageKey(String requestedPageKey)

buildStoreFrontBaseUrl

public static String buildStoreFrontBaseUrl()

buildStoreFrontBaseUrl

public static String buildStoreFrontBaseUrl(String path)

drawCurrentState

public static void drawCurrentState(String requestedModuleKey,
                                    String requestedPageKey)

onModuleLoad

public void onModuleLoad()
Specified by:
onModuleLoad in interface com.google.gwt.core.client.EntryPoint

getMessageManager

public static MessageManager getMessageManager()

logDebug

public static void logDebug(String message,
                            String category)
Log a debug.

Parameters:
message - the message to log
category - category to log in, defaults to "Log"

isLogDebugEnabled

public static boolean isLogDebugEnabled(String category)


Copyright © 2013. All Rights Reserved.