|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.webflow.action.AbstractAction
org.springframework.webflow.action.MultiAction
org.springframework.webflow.action.FormAction
com.jaspersoft.jasperserver.war.action.OlapUnitAction
public class OlapUnitAction
OlapUnitAction provides the actions for the olap view web flow
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.springframework.webflow.action.MultiAction |
---|
org.springframework.webflow.action.MultiAction.MethodResolver |
Field Summary | |
---|---|
protected JasperServerConstImpl |
constants
|
protected org.apache.commons.logging.Log |
log
|
protected OlapConnectionService |
olapConnection
|
protected RepositoryService |
repository
|
Fields inherited from class org.springframework.webflow.action.FormAction |
---|
DEFAULT_FORM_OBJECT_NAME, VALIDATOR_METHOD_ATTRIBUTE |
Fields inherited from class org.springframework.webflow.action.AbstractAction |
---|
logger |
Constructor Summary | |
---|---|
OlapUnitAction()
initialize OlapUnitAction.class object |
Method Summary | |
---|---|
java.lang.Object |
createFormObject(org.springframework.webflow.execution.RequestContext context)
createFormObject loads form object |
java.lang.String |
getConnectionWrapperClass()
|
EngineService |
getEngine()
method to get the engine service object |
OlapConnectionService |
getOlapConnection()
method to get the olap connection service object |
RepositoryService |
getRepository()
getRepository returns repository service property |
org.springframework.webflow.execution.Event |
handleTypeSelection(org.springframework.webflow.execution.RequestContext context)
handleTypeSelection receives input from mouse click and converts to the connection type. |
org.springframework.webflow.execution.Event |
initAction(org.springframework.webflow.execution.RequestContext context)
initAction performs the initialization for the olap view (unit) web flow |
protected void |
initBinder(org.springframework.webflow.execution.RequestContext context,
org.springframework.validation.DataBinder binder)
Registers a byte array editor to allow spring handle File uploads as byte arrays |
org.springframework.webflow.execution.Event |
locateOlapConnection(org.springframework.webflow.execution.RequestContext context)
locateOlapConnection creates or modify olap client connection |
protected void |
log(java.lang.String text)
log logs debug message |
org.springframework.webflow.execution.Event |
saveOlapClientConnection(org.springframework.webflow.execution.RequestContext context)
saveOlapClientConnection saves changes to olap client connection |
org.springframework.webflow.execution.Event |
saveOlapUnit(org.springframework.webflow.execution.RequestContext context)
saveOlapUnit saves changes to olap view (unit) |
org.springframework.webflow.execution.Event |
saveXmlaConnection(org.springframework.webflow.execution.RequestContext context)
saveXmlaConnection stores XML/A connection information and places its resource reference in olap unit |
void |
setConnectionWrapperClass(java.lang.String s)
|
void |
setEngine(EngineService engine)
method to set the engine service object |
void |
setOlapConnection(OlapConnectionService olapConnection)
method to set the olap connection service object |
void |
setRepository(RepositoryService repository)
setRepository sets repository service property |
org.springframework.webflow.execution.Event |
validateOlapUnit(org.springframework.webflow.execution.RequestContext context)
|
Methods inherited from class org.springframework.webflow.action.FormAction |
---|
bind, bindAndValidate, createBinder, doBind, doValidate, getFormErrors, getFormErrorsScope, getFormObject, getFormObjectAccessor, getFormObjectClass, getFormObjectName, getFormObjectScope, getMessageCodesResolver, getPropertyEditorRegistrar, getValidateMethodInvoker, getValidator, initAction, registerPropertyEditors, registerPropertyEditors, resetForm, setFormErrorsScope, setFormObjectClass, setFormObjectName, setFormObjectScope, setMessageCodesResolver, setPropertyEditorRegistrar, setupForm, setValidator, validate, validationEnabled |
Methods inherited from class org.springframework.webflow.action.MultiAction |
---|
doExecute, getMethodResolver, setMethodResolver, setTarget |
Methods inherited from class org.springframework.webflow.action.AbstractAction |
---|
afterPropertiesSet, doPostExecute, doPreExecute, error, error, execute, getActionNameForLogging, getEventFactorySupport, no, result, result, result, result, success, success, yes |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.springframework.beans.factory.InitializingBean |
---|
afterPropertiesSet |
Field Detail |
---|
protected final org.apache.commons.logging.Log log
protected RepositoryService repository
protected OlapConnectionService olapConnection
protected JasperServerConstImpl constants
Constructor Detail |
---|
public OlapUnitAction()
Method Detail |
---|
public org.springframework.webflow.execution.Event initAction(org.springframework.webflow.execution.RequestContext context) throws java.lang.Exception
context
-
java.lang.Exception
public org.springframework.webflow.execution.Event handleTypeSelection(org.springframework.webflow.execution.RequestContext context) throws java.lang.Exception
context
-
java.lang.Exception
public org.springframework.webflow.execution.Event locateOlapConnection(org.springframework.webflow.execution.RequestContext context) throws java.lang.Exception
context
-
java.lang.Exception
public org.springframework.webflow.execution.Event saveOlapClientConnection(org.springframework.webflow.execution.RequestContext context) throws java.lang.Exception
context
-
java.lang.Exception
public org.springframework.webflow.execution.Event saveOlapUnit(org.springframework.webflow.execution.RequestContext context) throws java.lang.Exception
context
-
java.lang.Exception
public org.springframework.webflow.execution.Event saveXmlaConnection(org.springframework.webflow.execution.RequestContext context) throws java.lang.Exception
context
-
java.lang.Exception
public java.lang.Object createFormObject(org.springframework.webflow.execution.RequestContext context)
createFormObject
in class org.springframework.webflow.action.FormAction
public org.springframework.webflow.execution.Event validateOlapUnit(org.springframework.webflow.execution.RequestContext context) throws java.lang.Exception
java.lang.Exception
public java.lang.String getConnectionWrapperClass()
public void setConnectionWrapperClass(java.lang.String s)
public RepositoryService getRepository()
public void setRepository(RepositoryService repository)
repository
- public OlapConnectionService getOlapConnection()
public void setOlapConnection(OlapConnectionService olapConnection)
olapConnection
- public EngineService getEngine()
public void setEngine(EngineService engine)
engine
- protected void initBinder(org.springframework.webflow.execution.RequestContext context, org.springframework.validation.DataBinder binder)
initBinder
in class org.springframework.webflow.action.FormAction
context
- binder
- protected void log(java.lang.String text)
text
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |