|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.wewebu.ow.server.ui.OwEventTarget
com.wewebu.ow.server.ui.OwDocument
com.wewebu.ow.server.dmsdialogs.views.OwObjectLinksDocument
public class OwObjectLinksDocument
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
Field Summary |
---|
Fields inherited from class com.wewebu.ow.server.ui.OwDocument |
---|
m_ViewList |
Constructor Summary | |
---|---|
OwObjectLinksDocument(OwObjectLinkRelation relation)
Constructor |
|
OwObjectLinksDocument(OwObjectLinkRelation relation,
Collection<String> filterClassNames,
List<String> documentFunctionIds)
Constructor |
Method Summary | |
---|---|
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()
|
Methods inherited from class com.wewebu.ow.server.ui.OwDocument |
---|
attachView, attributecount, clear, detachView, getAttribute, getAttribute, getAttributeNames, getPersistentAttributeBagWriteable, getSafeAttribute, hasAttribute, init, remove, save, setAttribute, update |
Methods inherited from class com.wewebu.ow.server.ui.OwEventTarget |
---|
attach, detach, disableRequestListener, enableRequestListener, getAjaxEventURL, getContext, getEventURL, getFormEventFunction, getFormEventURL, getFormName, getFormTarget, getID, onExternalRequest, onFormEvent, onRequest, setExternalFormTarget, updateExternalFormTarget |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
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 entriesMethod Detail |
---|
protected 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 List<String> getLinkFunctionsIDs()
public void setColumnNames(List<String> columnNames)
columnNames
- List of Strings or nullpublic List<String> getColumnNames()
public OwObjectCollection[] getSplits() throws OwException
getRelations()
.
OwException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |