org.openmdx.portal.servlet.view
Class ShowObjectView

java.lang.Object
  extended by org.openmdx.portal.servlet.view.View
      extended by org.openmdx.portal.servlet.view.ObjectView
          extended by org.openmdx.portal.servlet.view.ShowObjectView
All Implemented Interfaces:
Serializable

public class ShowObjectView
extends ObjectView
implements Serializable

See Also:
Serialized Form

Field Summary
protected  ObjectCreationResult objectCreationResult
           
protected  OperationPane[] operationPane
           
protected  OperationTab operationTabResult
           
protected  ReferencePane[] referencePane
           
protected  int selectedReferencePaneIndex
           
 
Fields inherited from class org.openmdx.portal.servlet.view.ObjectView
attributePane, favoriteActions, historyActions, inspectorControl, lookupType, objectReference, restrictToElements, rootObjectActions
 
Fields inherited from class org.openmdx.portal.servlet.view.View
application, containerElementId, controlFactory, id, macro, object, REQUEST_ID_FORMAT_NONE, REQUEST_ID_FORMAT_TEMPLATE, REQUEST_ID_FORMAT_UID, REQUEST_ID_TEMPLATE, requestId, setGuiModeActions, VIEW_EDIT_OBJECT, VIEW_SHOW_OBJECT, VIEW_USER_DEFINED
 
Constructor Summary
ShowObjectView(String id, String containerElementId, String objectRefMofId, ApplicationContext application, Map historyActions, String lookupType, Map restrictToElements, ControlFactory controlFactory)
           
 
Method Summary
 Map createHistoryAppendCurrent()
           
 int getCurrentReferencePane()
           
 org.openmdx.base.accessor.jmi.cci.RefObject_1_0 getLookupObject()
           
 OperationPane[] getOperationPane()
           
 ReferencePane[] getReferencePane()
           
 Action[] getSelectLocaleAction()
           
 ShowInspectorControl getShowInspectorControl()
           
 String getType()
           
 void handleCanNotCommitException(org.openmdx.kernel.exception.BasicException e)
           
 void handleCanNotInvokeOperationException(org.openmdx.kernel.exception.BasicException e, String operationName)
           
 void refresh(boolean refreshData)
          Refresh view.
 ObjectCreationResult resetObjectCreationResult()
          The result of the last created object is set with setCreateObjectResult.
 OperationTab resetOperationTabResult()
          The tab of the last invoked operation is set with setOperationTabResult.
 void selectFilter(String filterName, String filterValues)
           
 void selectReferencePane(int paneIndex)
           
 Grid selectReferencePane(String referenceName)
           
 void setCreateObjectResult(ObjectCreationResult result)
           
 void setOperationTabResult(OperationTab operationTabResult)
           
 
Methods inherited from class org.openmdx.portal.servlet.view.ObjectView
getAttributePane, getBackAction, getHistoryAction, getHistoryActions, getLayout, getLookupType, getObjectReference, getPreviousView, getRefObject, getRestrictToElements, getSelectParentAction, getSelectRootObjectActions
 
Methods inherited from class org.openmdx.portal.servlet.view.View
createControl, createControl, createRequestId, getApplicationContext, getContainerElementId, getControlFactory, getEncodedHRef, getEncodedHRef, getEncodedHRef, getEvalHRef, getEvalHRef, getEvalHRef, getFindObjectAction, getId, getLogoffAction, getMacro, getObject, getPanelState, getQuickAccessActions, getRequestId, getSaveSettingsAction, getSetGuiModeActions, getSetPanelStateAction, getSetRoleActions, setMacro, structToMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

operationPane

protected final OperationPane[] operationPane

referencePane

protected final ReferencePane[] referencePane

selectedReferencePaneIndex

protected int selectedReferencePaneIndex

operationTabResult

protected OperationTab operationTabResult

objectCreationResult

protected ObjectCreationResult objectCreationResult
Constructor Detail

ShowObjectView

public ShowObjectView(String id,
                      String containerElementId,
                      String objectRefMofId,
                      ApplicationContext application,
                      Map historyActions,
                      String lookupType,
                      Map restrictToElements,
                      ControlFactory controlFactory)
               throws org.openmdx.base.exception.ServiceException
Throws:
org.openmdx.base.exception.ServiceException
Method Detail

refresh

public void refresh(boolean refreshData)
             throws org.openmdx.base.exception.ServiceException
Description copied from class: ObjectView
Refresh view. refreshData ==> do refresh data. Do not refresh rendering information.

Overrides:
refresh in class ObjectView
Throws:
org.openmdx.base.exception.ServiceException

handleCanNotInvokeOperationException

public void handleCanNotInvokeOperationException(org.openmdx.kernel.exception.BasicException e,
                                                 String operationName)

createHistoryAppendCurrent

public Map createHistoryAppendCurrent()

handleCanNotCommitException

public void handleCanNotCommitException(org.openmdx.kernel.exception.BasicException e)
Overrides:
handleCanNotCommitException in class View

getSelectLocaleAction

public Action[] getSelectLocaleAction()

getOperationPane

public OperationPane[] getOperationPane()

getReferencePane

public ReferencePane[] getReferencePane()

getShowInspectorControl

public ShowInspectorControl getShowInspectorControl()

selectReferencePane

public void selectReferencePane(int paneIndex)

getCurrentReferencePane

public int getCurrentReferencePane()

selectReferencePane

public Grid selectReferencePane(String referenceName)

resetOperationTabResult

public OperationTab resetOperationTabResult()
The tab of the last invoked operation is set with setOperationTabResult. resetOperationTabResult returns the tab of the last invoked operation and resets it to null.


setOperationTabResult

public void setOperationTabResult(OperationTab operationTabResult)

resetObjectCreationResult

public ObjectCreationResult resetObjectCreationResult()
The result of the last created object is set with setCreateObjectResult. resetCreateObjectResult returns the reference of the last created object and resets it null.


setCreateObjectResult

public void setCreateObjectResult(ObjectCreationResult result)

selectFilter

public void selectFilter(String filterName,
                         String filterValues)

getType

public String getType()
Specified by:
getType in class View

getLookupObject

public org.openmdx.base.accessor.jmi.cci.RefObject_1_0 getLookupObject()
Specified by:
getLookupObject in class ObjectView


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