org.openmdx.portal.servlet.loader
Class UiLoader

java.lang.Object
  extended by org.openmdx.portal.servlet.loader.Loader
      extended by org.openmdx.portal.servlet.loader.UiLoader

public class UiLoader
extends Loader


Nested Class Summary
protected static class UiLoader.Dataprovider
           
 
Field Summary
 
Fields inherited from class org.openmdx.portal.servlet.loader.Loader
context, roleMapper
 
Constructor Summary
UiLoader(ServletContext context, RoleMapper_1_0 roleMapper, org.openmdx.model1.accessor.basic.cci.Model_1_3 model, org.openmdx.compatibility.base.naming.Path providerPath)
           
 
Method Summary
protected static org.openmdx.compatibility.base.dataprovider.spi.Layer_1 createUiRepository(org.openmdx.model1.accessor.basic.cci.Model_1_3 model)
          Constructs an in-memory ui repository
 javax.jdo.PersistenceManager getRepository()
           
 boolean load(String[] locale)
          load ui config in case the ui config resources have changed
 
Methods inherited from class org.openmdx.portal.servlet.loader.Loader
getAdminPrincipal, getCRCForResourcePath, getDirectories, getSegmentName, removeTrailingEmptyStrings
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UiLoader

public UiLoader(ServletContext context,
                RoleMapper_1_0 roleMapper,
                org.openmdx.model1.accessor.basic.cci.Model_1_3 model,
                org.openmdx.compatibility.base.naming.Path providerPath)
         throws org.openmdx.base.exception.ServiceException
Throws:
org.openmdx.base.exception.ServiceException
Method Detail

createUiRepository

protected static org.openmdx.compatibility.base.dataprovider.spi.Layer_1 createUiRepository(org.openmdx.model1.accessor.basic.cci.Model_1_3 model)
                                                                                     throws org.openmdx.base.exception.ServiceException
Constructs an in-memory ui repository

Throws:
org.openmdx.base.exception.ServiceException

getRepository

public javax.jdo.PersistenceManager getRepository()
                                           throws org.openmdx.base.exception.ServiceException
Throws:
org.openmdx.base.exception.ServiceException

load

public boolean load(String[] locale)
             throws org.openmdx.base.exception.ServiceException
load ui config in case the ui config resources have changed

Throws:
org.openmdx.base.exception.ServiceException


This software is published under the BSD license. Copyright © 2006-2008, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.