public class OwTypedLinksView extends OwObjectLinksView
Displays OwObjectLinks using OwSplitObjectListView and one
link object class combo box filter.
Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.
For licensing information read the license.txt file or
go to: http://wiki.alfresco.com
OwLayout.OwDispatchRegion, OwLayout.OwLayoutViewRefrence| Modifier and Type | Field and Description |
|---|---|
static String |
LINK_CLASS_ID |
LINKS_FILTER_REGION, LINKS_REGIONCURRENT_MODULE_KEY, FORMULAR_PLACEHOLDER_END_DELIMITER, FORMULAR_PLACEHOLDER_START_DELIMITER, m_externalFormEventTargetEMPTY_STRING| Constructor and Description |
|---|
OwTypedLinksView(OwObjectLinksDocument document) |
| Modifier and Type | Method and Description |
|---|---|
protected Collection<OwFieldColumnInfo> |
createRelationColumnInfo(OwObjectLinkRelation relation)
(overridable)
Create relation dependent columns to display.
|
String |
getFilterDisplayName() |
protected OwObjectClass |
getLinkClass(OwObject object) |
protected OwSplitObjectListView |
getSplitLinksView() |
protected void |
init()
init the target after the context is set.
|
boolean |
isRegion(int iRegion_p)
determine if region exists
|
void |
onLinkClassChanged(javax.servlet.http.HttpServletRequest request_p) |
protected void |
postRefresh(OwObjectCollection[] splitLinks) |
protected void |
refresh(OwObjectCollection[] splitLinks)
Refreshes the contents of this view for the give object link collection array.
|
void |
renderRegion(Writer w_p,
int iRegion_p)
render the views of the region
|
protected void |
select(String className) |
protected String |
usesFormWithAttributes()
to get additional form attributes used for the form
override if your view needs a form.
|
createColumnInfo, createSplitObjectListDocument, createSplitView, getDocument, getDocumentFunctions, isEmpty, onRender, onUpdateaddRegion, addView, addView, addViewReference, getIterator, getViewRegion, isRegionMaximized, isRegionMinimized, isRegionNormal, renderNamedRegionactivate, detach, getBreadcrumbPart, getExternalFormEventTarget, getFormName, getFormTarget, getIcon, getMaximizeView, getParent, getRenderedNamedRegion, getRenderedRegion, getTitle, getViewList, isFormTargetExternal, isNamedRegion, isShowMaximized, isShowMinimized, isShowNormal, onActivate, render, renderHTMLFormular, serverSideDesignInclude, serverSideInclude, setDocument, setExternalFormTarget, setMaximizeView, setParent, showMaximized, showMinimized, showNormalattach, disableRequestListener, enableRequestListener, getAjaxEventURL, getContext, getEventURL, getFormEventFunction, getFormEventURL, getID, onExternalRequest, onFormEvent, onRequest, updateExternalFormTargetpublic static final String LINK_CLASS_ID
public OwTypedLinksView(OwObjectLinksDocument document)
protected String usesFormWithAttributes()
OwViewusesFormWithAttributes in class OwViewprotected void init()
throws Exception
OwViewinit in class OwObjectLinksViewExceptionprotected OwSplitObjectListView getSplitLinksView() throws OwObjectNotFoundException
OwObjectNotFoundExceptionpublic String getFilterDisplayName()
getFilterDisplayName in class OwObjectLinksViewpublic boolean isRegion(int iRegion_p)
OwLayoutisRegion in interface OwBaseViewisRegion in class OwLayoutiRegion_p - ID of the region to renderpublic void renderRegion(Writer w_p, int iRegion_p) throws Exception
OwLayoutrenderRegion in interface OwBaseViewrenderRegion in class OwObjectLinksVieww_p - Writer object to write HTML toiRegion_p - ID of the region to renderExceptionpublic void onLinkClassChanged(javax.servlet.http.HttpServletRequest request_p)
throws Exception
Exceptionprotected void refresh(OwObjectCollection[] splitLinks) throws Exception
OwObjectLinksViewrefresh in class OwObjectLinksViewExceptionprotected void postRefresh(OwObjectCollection[] splitLinks) throws Exception
Exceptionprotected OwObjectClass getLinkClass(OwObject object)
protected Collection<OwFieldColumnInfo> createRelationColumnInfo(OwObjectLinkRelation relation) throws Exception
OwObjectLinksViewAttention: If columns are defined for any relation kind, the same columns will be displayed.
createRelationColumnInfo in class OwObjectLinksViewrelation - OwObjectLinkRelation objects which will be rendered.ExceptionCopyright © 2014 Alfresco Business Solutions. All Rights Reserved.