org.openmdx.portal.servlet.loader
Class Loader

java.lang.Object
  extended by org.openmdx.portal.servlet.loader.Loader
Direct Known Subclasses:
CodesLoader, DataLoader, FilterLoader, LayoutLoader, ReportsLoader, TextsLoader, UiLoader, WizardsLoader

public class Loader
extends Object


Field Summary
protected  ServletContext context
           
protected  RoleMapper_1_0 roleMapper
           
 
Constructor Summary
Loader(ServletContext context, RoleMapper_1_0 roleMapper)
           
 
Method Summary
protected  String getAdminPrincipal(String path)
           
protected  long getCRCForResourcePath(ServletContext context, String resourcePath)
           
protected  List getDirectories(String path)
           
protected  String getSegmentName(String path)
          Map last path component to segment name, i.e.
protected  void removeTrailingEmptyStrings(org.openmdx.compatibility.base.dataprovider.cci.DataproviderObject object)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

context

protected final ServletContext context

roleMapper

protected final RoleMapper_1_0 roleMapper
Constructor Detail

Loader

public Loader(ServletContext context,
              RoleMapper_1_0 roleMapper)
Method Detail

getSegmentName

protected String getSegmentName(String path)
Map last path component to segment name, i.e. path ../WEB-INF/config/ui/Root will be mapped to segment Root


getAdminPrincipal

protected String getAdminPrincipal(String path)

getDirectories

protected List getDirectories(String path)

removeTrailingEmptyStrings

protected void removeTrailingEmptyStrings(org.openmdx.compatibility.base.dataprovider.cci.DataproviderObject object)
                                   throws org.openmdx.base.exception.ServiceException
Throws:
org.openmdx.base.exception.ServiceException

getCRCForResourcePath

protected long getCRCForResourcePath(ServletContext context,
                                     String resourcePath)


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