public class OwTypedLinksView extends OwObjectLinksView
Displays OwObjectLink
s 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_REGION
CURRENT_MODULE_KEY, FORMULAR_PLACEHOLDER_END_DELIMITER, FORMULAR_PLACEHOLDER_START_DELIMITER, m_externalFormEventTarget
EMPTY_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, onUpdate
addRegion, addView, addView, addViewReference, getIterator, getViewRegion, isRegionMaximized, isRegionMinimized, isRegionNormal, renderNamedRegion
activate, 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, showNormal
attach, disableRequestListener, enableRequestListener, getAjaxEventURL, getContext, getEventURL, getFormEventFunction, getFormEventURL, getID, onExternalRequest, onFormEvent, onRequest, updateExternalFormTarget
public static final String LINK_CLASS_ID
public OwTypedLinksView(OwObjectLinksDocument document)
protected String usesFormWithAttributes()
OwView
usesFormWithAttributes
in class OwView
protected void init() throws Exception
OwView
init
in class OwObjectLinksView
Exception
protected OwSplitObjectListView getSplitLinksView() throws OwObjectNotFoundException
OwObjectNotFoundException
public String getFilterDisplayName()
getFilterDisplayName
in class OwObjectLinksView
public boolean isRegion(int iRegion_p)
OwLayout
isRegion
in interface OwBaseView
isRegion
in class OwLayout
iRegion_p
- ID of the region to renderpublic void renderRegion(Writer w_p, int iRegion_p) throws Exception
OwLayout
renderRegion
in interface OwBaseView
renderRegion
in class OwObjectLinksView
w_p
- Writer object to write HTML toiRegion_p
- ID of the region to renderException
public void onLinkClassChanged(javax.servlet.http.HttpServletRequest request_p) throws Exception
Exception
protected void refresh(OwObjectCollection[] splitLinks) throws Exception
OwObjectLinksView
refresh
in class OwObjectLinksView
Exception
protected void postRefresh(OwObjectCollection[] splitLinks) throws Exception
Exception
protected OwObjectClass getLinkClass(OwObject object)
protected Collection<OwFieldColumnInfo> createRelationColumnInfo(OwObjectLinkRelation relation) throws Exception
OwObjectLinksView
Attention: If columns are defined for any relation kind, the same columns will be displayed.
createRelationColumnInfo
in class OwObjectLinksView
relation
- OwObjectLinkRelation objects which will be rendered.Exception
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.