org.opencrx.kernel.portal
Class PortalExtension
java.lang.Object
org.openmdx.portal.servlet.DefaultPortalExtension
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
| Fields inherited from class org.openmdx.portal.servlet.DefaultPortalExtension |
WELL_KNOWN_PROTOCOLS |
|
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 |
getDataBinding(String dataBindingName)
|
List<Condition> |
getFindObjectsBaseFilter(org.openmdx.portal.servlet.ApplicationContext application,
RefObject_1_0 context,
String referenceName)
|
int |
getGridPageSize(String referencedTypeName)
|
org.openmdx.portal.servlet.view.ObjectView |
getLookupView(String id,
ModelElement_1_0 lookupType,
RefObject_1_0 startFrom,
String filterValues,
org.openmdx.portal.servlet.ApplicationContext application)
|
Filter |
getQuery(org.openmdx.ui1.jmi1.ValuedField field,
String filterValue,
int queryFilterStringParamCount,
org.openmdx.portal.servlet.ApplicationContext app)
|
protected Filter |
getQueryConditions(String clause,
List<String> stringParams,
org.openmdx.portal.servlet.ApplicationContext app)
|
String |
getTitle(RefObject_1_0 refObj,
short locale,
String localeAsString,
boolean asShortTitle,
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(org.openmdx.portal.servlet.control.Control control,
RefObject_1_0 refObj,
org.openmdx.portal.servlet.ApplicationContext application)
|
boolean |
isEnabled(String elementName,
RefObject_1_0 refObj,
org.openmdx.portal.servlet.ApplicationContext context)
|
boolean |
isLookupType(ModelElement_1_0 classDef)
|
void |
renderTextValue(org.openmdx.portal.servlet.ViewPort p,
String value,
boolean asWiki)
The default implementation handles the following tags:
activity:<activity number>
|
| Methods inherited from class org.openmdx.portal.servlet.DefaultPortalExtension |
createCompositionHierarchy, getCurrentLocale, getDateStyle, getLookupObject, getTimeStyle, getTitle, getValue, hasGridColours, isEnabled, setValue, showGridContentOnInit, targetAsValueMap, toNbspS, toS, updateObject, valueAsCollection, xmlDatatypeFactory |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PortalExtension
public PortalExtension()
getFindObjectsBaseFilter
public List<Condition> getFindObjectsBaseFilter(org.openmdx.portal.servlet.ApplicationContext application,
RefObject_1_0 context,
String referenceName)
- Specified by:
getFindObjectsBaseFilter in interface org.openmdx.portal.servlet.PortalExtension_1_0- Overrides:
getFindObjectsBaseFilter in class org.openmdx.portal.servlet.DefaultPortalExtension
getTitle
public String getTitle(RefObject_1_0 refObj,
short locale,
String localeAsString,
boolean asShortTitle,
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 elementName,
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
isEnabled
public boolean isEnabled(org.openmdx.portal.servlet.control.Control control,
RefObject_1_0 refObj,
org.openmdx.portal.servlet.ApplicationContext application)
- Specified by:
isEnabled in interface org.openmdx.portal.servlet.PortalExtension_1_0- Overrides:
isEnabled in class org.openmdx.portal.servlet.DefaultPortalExtension
getQueryConditions
protected Filter getQueryConditions(String clause,
List<String> stringParams,
org.openmdx.portal.servlet.ApplicationContext app)
getQuery
public Filter getQuery(org.openmdx.ui1.jmi1.ValuedField field,
String filterValue,
int queryFilterStringParamCount,
org.openmdx.portal.servlet.ApplicationContext app)
- Specified by:
getQuery in interface org.openmdx.portal.servlet.PortalExtension_1_0- Overrides:
getQuery 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)
throws ServiceException
- Specified by:
isLookupType in interface org.openmdx.portal.servlet.PortalExtension_1_0- Overrides:
isLookupType in class org.openmdx.portal.servlet.DefaultPortalExtension
- Throws:
ServiceException
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.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.ViewPort p,
String value,
boolean asWiki)
throws ServiceException
- The default implementation handles the following tags:
- activity:<activity number>
- 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 getDataBinding(String dataBindingName)
- 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-2010, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.