public class OwObjectLinksDocument extends OwDocument
Document class of OwObjectLinksView
.
Defines the links and the splits that will be displayed by the view.
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
m_ViewList
Constructor and Description |
---|
OwObjectLinksDocument(OwObjectLinkRelation relation)
Constructor
|
OwObjectLinksDocument(OwObjectLinkRelation relation,
Collection<String> filterClassNames,
List<String> documentFunctionIds)
Constructor
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
filterOut(OwObjectLink link) |
List<String> |
getColumnNames()
Will return a list of column names, which should be displayed.
|
List<String> |
getLinkFunctionsIDs() |
protected OwObjectCollection |
getLinks() |
OwObject |
getObject() |
OwObjectLinkRelation[] |
getRelations() |
OwObjectCollection[] |
getSplits()
(overridable)
Returns an array of OwObjectCollection's containing objects for specific relation direction.
By default the array will have the same order like the relation directions array of getRelations() . |
void |
setColumnNames(List<String> columnNames)
Set a list of column names, or clear a list (provide null).
|
void |
setObject(OwObject object) |
protected void |
updateLinkViews() |
attachView, attributecount, clear, detachView, getAttribute, getAttribute, getAttributeNames, getPersistentAttributeBagWriteable, getSafeAttribute, hasAttribute, init, remove, save, setAttribute, update
attach, detach, disableRequestListener, enableRequestListener, getAjaxEventURL, getContext, getEventURL, getFormEventFunction, getFormEventURL, getFormName, getFormTarget, getID, onExternalRequest, onFormEvent, onRequest, setExternalFormTarget, updateExternalFormTarget
public OwObjectLinksDocument(OwObjectLinkRelation relation)
relation
- relation used to split the lists by. The OwObjectLinkRelation.NONE
is interpreted as any relation.Resulted link splits will be displayed preserving
the order in this array.public OwObjectLinksDocument(OwObjectLinkRelation relation, Collection<String> filterClassNames, List<String> documentFunctionIds)
relation
- relation used to split the lists by. The OwObjectLinkRelation.NONE
is interpreted as any relation.Resulted link splits will be displayed preserving
the order in this array.filterClassNames
- link object class name of object links that will be displayed.
If null all object links will be displayed regardless of their class.documentFunctionIds
- document function IDs to be associated with the link object list entriesprotected boolean filterOut(OwObjectLink link)
public OwObject getObject()
protected OwObjectCollection getLinks() throws OwException
OwException
public OwObjectLinkRelation[] getRelations()
public void setObject(OwObject object) throws OwException
OwException
protected void updateLinkViews() throws OwException
OwException
public void setColumnNames(List<String> columnNames)
columnNames
- List of Strings or nullpublic List<String> getColumnNames()
public OwObjectCollection[] getSplits() throws OwException
getRelations()
.OwException
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.