com.tensegrity.palowebviewer.modules.engine.server
Class EngineLogic

java.lang.Object
  extended by com.tensegrity.palowebviewer.modules.engine.server.EngineLogic

public class EngineLogic
extends java.lang.Object


Constructor Summary
EngineLogic()
           
 
Method Summary
 IUser authenticate(java.lang.String login, java.lang.String password, boolean remember, IEngineContext context)
           
 boolean checkExistance(XPath path, IEngineContext ctx)
           
 boolean checkExistance(XPath contextPath, java.lang.String elementId, IEngineContext ctx)
           
 void forceReload(IEngineContext context)
           
 IClientProperties getClientProperties(IEngineContext context)
           
 XElement[] getParentsOf(XPath contextPath, java.lang.String elementId, IEngineContext ctx)
           
 java.lang.Boolean isAuthenticated(IEngineContext context)
           
 XObject loadChild(XPath path, java.lang.String childId, int type, IEngineContext context)
           
 XObject loadChildByName(XPath path, java.lang.String name, int type, IEngineContext context)
           
 XObject[] loadChildren(XPath path, int type, IEngineContext ctx)
           
 XDefaultView loadDefaultView(XPath path, IEngineContext context)
           
 XFolder loadFavoriteViews(IEngineContext context)
           
 void logoff(IEngineContext context)
           
 XResult[] query(XQueryPath[] queries, IEngineContext context)
           
 java.lang.String saveView(XViewPath viewPath, IConnectionPool pool)
           
 void updateData(XPath cube, IXPoint point, IResultElement value, IEngineContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EngineLogic

public EngineLogic()
Method Detail

authenticate

public IUser authenticate(java.lang.String login,
                          java.lang.String password,
                          boolean remember,
                          IEngineContext context)
                   throws InternalErrorException
Throws:
InternalErrorException

logoff

public void logoff(IEngineContext context)

forceReload

public void forceReload(IEngineContext context)

isAuthenticated

public java.lang.Boolean isAuthenticated(IEngineContext context)

query

public XResult[] query(XQueryPath[] queries,
                       IEngineContext context)
                throws InvalidObjectPathException
Throws:
InvalidObjectPathException

updateData

public void updateData(XPath cube,
                       IXPoint point,
                       IResultElement value,
                       IEngineContext context)
                throws InvalidObjectPathException
Throws:
InvalidObjectPathException

saveView

public java.lang.String saveView(XViewPath viewPath,
                                 IConnectionPool pool)
                          throws InvalidObjectPathException
Throws:
InvalidObjectPathException

getClientProperties

public IClientProperties getClientProperties(IEngineContext context)

loadChildren

public XObject[] loadChildren(XPath path,
                              int type,
                              IEngineContext ctx)
                       throws InvalidObjectPathException
Throws:
InvalidObjectPathException

getParentsOf

public XElement[] getParentsOf(XPath contextPath,
                               java.lang.String elementId,
                               IEngineContext ctx)
                        throws InvalidObjectPathException
Throws:
InvalidObjectPathException

loadDefaultView

public XDefaultView loadDefaultView(XPath path,
                                    IEngineContext context)
                             throws InvalidObjectPathException
Throws:
InvalidObjectPathException

checkExistance

public boolean checkExistance(XPath contextPath,
                              java.lang.String elementId,
                              IEngineContext ctx)
                       throws InvalidObjectPathException
Throws:
InvalidObjectPathException

checkExistance

public boolean checkExistance(XPath path,
                              IEngineContext ctx)

loadFavoriteViews

public XFolder loadFavoriteViews(IEngineContext context)

loadChild

public XObject loadChild(XPath path,
                         java.lang.String childId,
                         int type,
                         IEngineContext context)
                  throws InvalidObjectPathException
Throws:
InvalidObjectPathException

loadChildByName

public XObject loadChildByName(XPath path,
                               java.lang.String name,
                               int type,
                               IEngineContext context)
                        throws InvalidObjectPathException
Throws:
InvalidObjectPathException