com.wewebu.ow.server.dmsdialogs.views
Class OwTypedLinksView
java.lang.Object
com.wewebu.ow.server.ui.OwEventTarget
com.wewebu.ow.server.ui.OwView
com.wewebu.ow.server.ui.OwLayout
com.wewebu.ow.server.dmsdialogs.views.OwObjectLinksView
com.wewebu.ow.server.dmsdialogs.views.OwTypedLinksView
- All Implemented Interfaces:
- OwBaseView, OwUpdateTarget
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
- Since:
- 4.1.1.0
Methods inherited from class com.wewebu.ow.server.ui.OwView |
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 |
Methods inherited from class com.wewebu.ow.server.ui.OwEventTarget |
attach, disableRequestListener, enableRequestListener, getAjaxEventURL, getContext, getEventURL, getFormEventFunction, getFormEventURL, getID, onExternalRequest, onFormEvent, onRequest, updateExternalFormTarget |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OwTypedLinksView
public OwTypedLinksView(OwObjectLinksDocument document)
usesFormWithAttributes
protected String usesFormWithAttributes()
- Description copied from class:
OwView
- to get additional form attributes used for the form
override if your view needs a form. Base class will then render a form automatically
- Overrides:
usesFormWithAttributes
in class OwView
- Returns:
- String with form attributes, or null if view does not render a form
init
protected void init()
throws Exception
- Description copied from class:
OwView
- init the target after the context is set.
- Overrides:
init
in class OwObjectLinksView
- Throws:
Exception
getSplitLinksView
protected OwSplitObjectListView getSplitLinksView()
throws OwObjectNotFoundException
- Throws:
OwObjectNotFoundException
getFilterDisplayName
public String getFilterDisplayName()
- Overrides:
getFilterDisplayName
in class OwObjectLinksView
- Returns:
- filter region display name
isRegion
public boolean isRegion(int iRegion_p)
- Description copied from class:
OwLayout
- determine if region exists
- Specified by:
isRegion
in interface OwBaseView
- Overrides:
isRegion
in class OwLayout
- Parameters:
iRegion_p
- ID of the region to render
- Returns:
- true if region contains anything and should be rendered
renderRegion
public void renderRegion(Writer w_p,
int iRegion_p)
throws Exception
- Description copied from class:
OwLayout
- render the views of the region
- Specified by:
renderRegion
in interface OwBaseView
- Overrides:
renderRegion
in class OwObjectLinksView
- Parameters:
w_p
- Writer object to write HTML toiRegion_p
- ID of the region to render
- Throws:
Exception
onLinkClassChanged
public void onLinkClassChanged(javax.servlet.http.HttpServletRequest request_p)
throws Exception
- Throws:
Exception
select
protected void select(String className)
throws Exception
- Throws:
Exception
refresh
protected void refresh(OwObjectCollection[] splitLinks)
throws Exception
- Description copied from class:
OwObjectLinksView
- Refreshes the contents of this view for the give object link collection array.
Each element in the array contains the collection of objects for the relation split
at the same index defined in the document of this view
- Overrides:
refresh
in class OwObjectLinksView
- Throws:
Exception
postRefresh
protected void postRefresh(OwObjectCollection[] splitLinks)
throws Exception
- Throws:
Exception
getLinkClass
protected OwObjectClass getLinkClass(OwObject object)
createRelationColumnInfo
protected Collection<OwFieldColumnInfo> createRelationColumnInfo(OwObjectLinkRelation relation)
throws Exception
- Description copied from class:
OwObjectLinksView
- (overridable)
Create relation dependent columns to display.
Attention: If columns are defined for any relation kind, the same columns will be displayed.
- Overrides:
createRelationColumnInfo
in class OwObjectLinksView
- Parameters:
relation
- OwObjectLinkRelation objects which will be rendered.
- Returns:
- Collection of OwFieldColumnInfo
- Throws:
Exception
Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.