org.opencrx.kernel.portal
Class PortalExtension

java.lang.Object
  extended by org.openmdx.portal.servlet.DefaultPortalExtension
      extended by org.opencrx.kernel.portal.PortalExtension
All Implemented Interfaces:
Serializable, org.openmdx.portal.servlet.PortalExtension_1_0

public class PortalExtension
extends org.openmdx.portal.servlet.DefaultPortalExtension
implements Serializable

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.openmdx.portal.servlet.DefaultPortalExtension
WELL_KNOWN_PROTOCOLS
 
Constructor Summary
PortalExtension()
           
 
Method Summary
 org.openmdx.portal.servlet.Autocompleter_1_0 getAutocompleter(org.openmdx.portal.servlet.ApplicationContext application, RefObject_1_0 context, String qualifiedFeatureName)
           
 org.openmdx.portal.servlet.DataBinding_1_0 getDataBinding(String dataBindingName, org.openmdx.portal.servlet.ApplicationContext application)
           
 int getGridPageSize(String referencedTypeName)
           
 String getGridRowLevelId(RefObject_1_0 refObj)
           
 int getGridRowNestingLevel(RefObject_1_0 refObj)
           
 int getGridRowNestingLevel(String rowLevelId)
           
 String getIdentityQueryFilterClause(String qualifiedReferenceName)
           
 org.openmdx.portal.servlet.view.ObjectView getLookupView(String id, ModelElement_1_0 lookupType, RefObject_1_0 startFrom, String filterValues, org.openmdx.portal.servlet.control.ControlFactory controlFactory, org.openmdx.portal.servlet.ApplicationContext application)
           
 String getTitle(RefObject_1_0 refObj, short locale, String localeAsString, org.openmdx.portal.servlet.ApplicationContext application)
           
 RefObject_1_0 handleOperationResult(RefObject_1_0 target, String operationName, RefStruct params, RefStruct result)
           
 boolean hasUserDefineableQualifier(org.openmdx.ui1.jmi1.Inspector inspector, org.openmdx.portal.servlet.ApplicationContext application)
           
 boolean isEnabled(String uiElementName, RefObject_1_0 refObj, org.openmdx.portal.servlet.ApplicationContext context)
           
 boolean isLookupType(ModelElement_1_0 classDef)
           
 void renderTextValue(org.openmdx.portal.servlet.HtmlPage p, String value)
          The default implementation handles the following tags: activity:<activity number>
 
Methods inherited from class org.openmdx.portal.servlet.DefaultPortalExtension
createCompositionHierarchy, getCurrentLocale, getDateStyle, getFindObjectsBaseFilter, getLookupObject, getTimeStyle, hasGridColours, showGridContentOnInit, toS, updateObject, xmlDatatypeFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortalExtension

public PortalExtension()
Method Detail

getTitle

public String getTitle(RefObject_1_0 refObj,
                       short locale,
                       String localeAsString,
                       org.openmdx.portal.servlet.ApplicationContext application)
Specified by:
getTitle in interface org.openmdx.portal.servlet.PortalExtension_1_0
Overrides:
getTitle in class org.openmdx.portal.servlet.DefaultPortalExtension

isEnabled

public boolean isEnabled(String uiElementName,
                         RefObject_1_0 refObj,
                         org.openmdx.portal.servlet.ApplicationContext context)
Specified by:
isEnabled in interface org.openmdx.portal.servlet.PortalExtension_1_0
Overrides:
isEnabled in class org.openmdx.portal.servlet.DefaultPortalExtension

getIdentityQueryFilterClause

public String getIdentityQueryFilterClause(String qualifiedReferenceName)
Specified by:
getIdentityQueryFilterClause in interface org.openmdx.portal.servlet.PortalExtension_1_0
Overrides:
getIdentityQueryFilterClause in class org.openmdx.portal.servlet.DefaultPortalExtension

getGridRowNestingLevel

public int getGridRowNestingLevel(String rowLevelId)

getGridRowNestingLevel

public int getGridRowNestingLevel(RefObject_1_0 refObj)
Specified by:
getGridRowNestingLevel in interface org.openmdx.portal.servlet.PortalExtension_1_0
Overrides:
getGridRowNestingLevel in class org.openmdx.portal.servlet.DefaultPortalExtension

getGridRowLevelId

public String getGridRowLevelId(RefObject_1_0 refObj)
Specified by:
getGridRowLevelId in interface org.openmdx.portal.servlet.PortalExtension_1_0
Overrides:
getGridRowLevelId in class org.openmdx.portal.servlet.DefaultPortalExtension

getGridPageSize

public int getGridPageSize(String referencedTypeName)
Specified by:
getGridPageSize in interface org.openmdx.portal.servlet.PortalExtension_1_0
Overrides:
getGridPageSize in class org.openmdx.portal.servlet.DefaultPortalExtension

isLookupType

public boolean isLookupType(ModelElement_1_0 classDef)
Specified by:
isLookupType in interface org.openmdx.portal.servlet.PortalExtension_1_0
Overrides:
isLookupType in class org.openmdx.portal.servlet.DefaultPortalExtension

getAutocompleter

public org.openmdx.portal.servlet.Autocompleter_1_0 getAutocompleter(org.openmdx.portal.servlet.ApplicationContext application,
                                                                     RefObject_1_0 context,
                                                                     String qualifiedFeatureName)
Specified by:
getAutocompleter in interface org.openmdx.portal.servlet.PortalExtension_1_0
Overrides:
getAutocompleter in class org.openmdx.portal.servlet.DefaultPortalExtension

getLookupView

public org.openmdx.portal.servlet.view.ObjectView getLookupView(String id,
                                                                ModelElement_1_0 lookupType,
                                                                RefObject_1_0 startFrom,
                                                                String filterValues,
                                                                org.openmdx.portal.servlet.control.ControlFactory controlFactory,
                                                                org.openmdx.portal.servlet.ApplicationContext application)
                                                         throws ServiceException
Specified by:
getLookupView in interface org.openmdx.portal.servlet.PortalExtension_1_0
Overrides:
getLookupView in class org.openmdx.portal.servlet.DefaultPortalExtension
Throws:
ServiceException

hasUserDefineableQualifier

public boolean hasUserDefineableQualifier(org.openmdx.ui1.jmi1.Inspector inspector,
                                          org.openmdx.portal.servlet.ApplicationContext application)
Specified by:
hasUserDefineableQualifier in interface org.openmdx.portal.servlet.PortalExtension_1_0
Overrides:
hasUserDefineableQualifier in class org.openmdx.portal.servlet.DefaultPortalExtension

renderTextValue

public void renderTextValue(org.openmdx.portal.servlet.HtmlPage p,
                            String value)
                     throws ServiceException
The default implementation handles the following tags:

Specified by:
renderTextValue in interface org.openmdx.portal.servlet.PortalExtension_1_0
Overrides:
renderTextValue in class org.openmdx.portal.servlet.DefaultPortalExtension
Throws:
ServiceException

getDataBinding

public org.openmdx.portal.servlet.DataBinding_1_0 getDataBinding(String dataBindingName,
                                                                 org.openmdx.portal.servlet.ApplicationContext application)
Specified by:
getDataBinding in interface org.openmdx.portal.servlet.PortalExtension_1_0
Overrides:
getDataBinding in class org.openmdx.portal.servlet.DefaultPortalExtension

handleOperationResult

public RefObject_1_0 handleOperationResult(RefObject_1_0 target,
                                           String operationName,
                                           RefStruct params,
                                           RefStruct result)
                                    throws ServiceException
Specified by:
handleOperationResult in interface org.openmdx.portal.servlet.PortalExtension_1_0
Overrides:
handleOperationResult in class org.openmdx.portal.servlet.DefaultPortalExtension
Throws:
ServiceException


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