org.broadleafcommerce.openadmin.client
Class AbstractModule

java.lang.Object
  extended by org.broadleafcommerce.openadmin.client.AbstractModule
All Implemented Interfaces:
com.google.gwt.core.client.EntryPoint, Module
Direct Known Subclasses:
AbstractHtmlEditingModule, UserManagementModule

public abstract class AbstractModule
extends Object
implements com.google.gwt.core.client.EntryPoint, Module

Author:
jfischer

Field Summary
protected  String moduleKey
           
protected  String moduleTitle
           
protected  Integer order
           
protected  LinkedHashMap<String,String[]> pages
           
 
Constructor Summary
AbstractModule()
           
 
Method Summary
 void addConstants(com.google.gwt.i18n.client.ConstantsWithLookup constants)
           
 String getModuleKey()
           
 String getModuleTitle()
           
 Integer getOrder()
           
 LinkedHashMap<String,String[]> getPages()
           
 void postDraw()
           
 void preDraw()
           
 void registerModule()
           
 void removeSection(String sectionTitle)
           
 void setModuleKey(String moduleKey)
           
 void setModuleTitle(String moduleTitle)
           
 void setOrder(Integer order)
           
 void setSection(String sectionTitle, String sectionViewKey, String sectionViewClass, String sectionPresenterKey, String sectionPresenterClass, List<String> sectionPermissions)
           
 void setSecurity(String sectionViewKey, List<String> sectionPermissions)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.google.gwt.core.client.EntryPoint
onModuleLoad
 

Field Detail

pages

protected LinkedHashMap<String,String[]> pages

moduleTitle

protected String moduleTitle

moduleKey

protected String moduleKey

order

protected Integer order
Constructor Detail

AbstractModule

public AbstractModule()
Method Detail

registerModule

public void registerModule()

getModuleTitle

public String getModuleTitle()
Specified by:
getModuleTitle in interface Module

setModuleTitle

public void setModuleTitle(String moduleTitle)

getModuleKey

public String getModuleKey()
Specified by:
getModuleKey in interface Module

setModuleKey

public void setModuleKey(String moduleKey)

addConstants

public void addConstants(com.google.gwt.i18n.client.ConstantsWithLookup constants)

setSection

public void setSection(String sectionTitle,
                       String sectionViewKey,
                       String sectionViewClass,
                       String sectionPresenterKey,
                       String sectionPresenterClass,
                       List<String> sectionPermissions)

setSecurity

public void setSecurity(String sectionViewKey,
                        List<String> sectionPermissions)

removeSection

public void removeSection(String sectionTitle)

getPages

public LinkedHashMap<String,String[]> getPages()
Specified by:
getPages in interface Module

postDraw

public void postDraw()
Specified by:
postDraw in interface Module

preDraw

public void preDraw()
Specified by:
preDraw in interface Module

getOrder

public Integer getOrder()
Specified by:
getOrder in interface Module

setOrder

public void setOrder(Integer order)
Specified by:
setOrder in interface Module


Copyright © 2012. All Rights Reserved.