org.openmdx.portal.servlet.view
Class UserDefinedView

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

public class UserDefinedView
extends View
implements Serializable

See Also:
Serialized Form

Field Summary
protected  Map attributes
           
 
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
UserDefinedView(Object object, ApplicationContext application, View parentView)
           
 
Method Summary
 Attribute addAttribute(String id, String uiElementId, Object object)
           
 Attribute addAttribute(String id, String forClass, String featureName, Object object)
           
 ValuedField findField(String forClass, String featureName)
           
 Map getAsFieldMap(Attribute[] attributes)
           
 Map getAsParameterMap(Map allParameters, String[] requiredParameters)
           
 Attribute getAttribute(String id)
           
 String getFieldLabel(String forClass, String featureName, short locale)
           
 String getType()
           
 
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, getSelectRootObjectActions, getSetGuiModeActions, getSetPanelStateAction, getSetRoleActions, handleCanNotCommitException, refresh, setMacro, structToMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

attributes

protected final Map attributes
Constructor Detail

UserDefinedView

public UserDefinedView(Object object,
                       ApplicationContext application,
                       View parentView)
Method Detail

getType

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

findField

public ValuedField findField(String forClass,
                             String featureName)
                      throws org.openmdx.base.exception.ServiceException
Throws:
org.openmdx.base.exception.ServiceException

getFieldLabel

public String getFieldLabel(String forClass,
                            String featureName,
                            short locale)
                     throws org.openmdx.base.exception.ServiceException
Throws:
org.openmdx.base.exception.ServiceException

addAttribute

public Attribute addAttribute(String id,
                              String uiElementId,
                              Object object)
                       throws org.openmdx.base.exception.ServiceException
Throws:
org.openmdx.base.exception.ServiceException

addAttribute

public Attribute addAttribute(String id,
                              String forClass,
                              String featureName,
                              Object object)
                       throws org.openmdx.base.exception.ServiceException
Throws:
org.openmdx.base.exception.ServiceException

getAttribute

public Attribute getAttribute(String id)

getAsFieldMap

public Map getAsFieldMap(Attribute[] attributes)

getAsParameterMap

public Map getAsParameterMap(Map allParameters,
                             String[] requiredParameters)


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