com.wewebu.ow.server.plug.owlink
Class OwDocumentFunctionShowLinks
java.lang.Object
com.wewebu.ow.server.app.OwFunction
com.wewebu.ow.server.app.OwDocumentFunction
com.wewebu.ow.server.plug.owlink.OwDocumentFunctionShowLinks
- All Implemented Interfaces:
- com.wewebu.ow.server.app.OwPlugin, com.wewebu.ow.server.ui.OwDialog.OwDialogListener, com.wewebu.ow.server.ui.OwUpdateTarget, EventListener
public class OwDocumentFunctionShowLinks
- extends com.wewebu.ow.server.app.OwDocumentFunction
- implements com.wewebu.ow.server.ui.OwDialog.OwDialogListener
Document object links 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
- Since:
- 4.1.1.0
Fields inherited from class com.wewebu.ow.server.app.OwFunction |
DESCRIPTION_KEY_CLASSES, DESCRIPTION_KEY_OBJ_TYPES, DESCRIPTION_KEY_TYPE, DRAG_DROP_PROPERTY_MAX_FILESIZE, m_MainContext |
Method Summary |
protected OwShowLinksDialog |
createShowLinksDialog(List<com.wewebu.ow.server.ecm.OwObject> enabledObjects,
boolean typedList,
Collection<String> linkClassNames,
com.wewebu.ow.server.ecm.OwObjectLinkRelation relation,
List<String> documentFunctionIds)
|
String |
getBigIcon()
get the URL to the info icon |
String |
getIcon()
get the URL to the info icon |
void |
init(com.wewebu.ow.server.util.OwXMLUtil node_p,
com.wewebu.ow.server.app.OwMainAppContext context_p)
|
void |
onClickEvent(com.wewebu.ow.server.ecm.OwObject oObject_p,
com.wewebu.ow.server.ecm.OwObject oParent_p,
com.wewebu.ow.server.app.OwClientRefreshContext refreshCtx_p)
event called when user clicked the label / icon |
void |
onDialogClose(com.wewebu.ow.server.ui.OwDialog dialogView_p)
|
void |
onMultiselectClickEvent(Collection objects_p,
com.wewebu.ow.server.ecm.OwObject oParent_p,
com.wewebu.ow.server.app.OwClientRefreshContext refreshCtx_p)
event called when user clicked the plugin for multiple selected items |
void |
onUpdate(com.wewebu.ow.server.ui.OwEventTarget caller_p,
int iCode_p,
Object param_p)
|
Methods inherited from class com.wewebu.ow.server.app.OwDocumentFunction |
addHistoryEvent, addHistoryEvent, getBigDefaultIconHTML, getBigIconHTML, getColumnTitle, getContextMenu, getDefaultIconHTML, getDefaultLabel, getDisplayNameFromUserId, getEnableColumnClickEvent, getIconHTML, getLabel, getMultiselect, getNeedParent, getObjectInstance, getPluginType, getRetrievalPropertyNames, getShowInEditViews, isEnabled, isEnabled, isObjectTypeSupported, onColumnClickEvent |
Methods inherited from class com.wewebu.ow.server.app.OwFunction |
getConfigNode, getContext, getDragDropProperties, getEventManager, getHelpPath, getName, getNoEvent, getPluginID, getPluginTitle, getPluginTypeDisplayName, getSafeSetting, getSupportedObjectClassesFromDescriptor, getSupportedObjectTypesFromDescriptor, getTooltip, isDragDropTarget, isObjectClassSupported, setSafeSetting |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SETTINGS_COLUMN_INFO
protected static final String SETTINGS_COLUMN_INFO
- See Also:
- Constant Field Values
OwDocumentFunctionShowLinks
public OwDocumentFunctionShowLinks()
init
public void init(com.wewebu.ow.server.util.OwXMLUtil node_p,
com.wewebu.ow.server.app.OwMainAppContext context_p)
throws Exception
- Overrides:
init
in class com.wewebu.ow.server.app.OwDocumentFunction
- Throws:
Exception
getIcon
public String getIcon()
throws Exception
- get the URL to the info icon
- Specified by:
getIcon
in interface com.wewebu.ow.server.app.OwPlugin
- Overrides:
getIcon
in class com.wewebu.ow.server.app.OwFunction
- Returns:
- String URL
- Throws:
Exception
getBigIcon
public String getBigIcon()
throws Exception
- get the URL to the info icon
- Overrides:
getBigIcon
in class com.wewebu.ow.server.app.OwFunction
- Returns:
- String URL
- Throws:
Exception
onClickEvent
public void onClickEvent(com.wewebu.ow.server.ecm.OwObject oObject_p,
com.wewebu.ow.server.ecm.OwObject oParent_p,
com.wewebu.ow.server.app.OwClientRefreshContext refreshCtx_p)
throws Exception
- event called when user clicked the label / icon
- Specified by:
onClickEvent
in class com.wewebu.ow.server.app.OwDocumentFunction
- Parameters:
oObject_p
- OwObject where event was triggeredoParent_p
- Parent which listed the ObjectrefreshCtx_p
- OwFunctionRefreshContext callback interface for the function plugins to signal refresh events to clients, can be null if no refresh is needed
- Throws:
Exception
createShowLinksDialog
protected OwShowLinksDialog createShowLinksDialog(List<com.wewebu.ow.server.ecm.OwObject> enabledObjects,
boolean typedList,
Collection<String> linkClassNames,
com.wewebu.ow.server.ecm.OwObjectLinkRelation relation,
List<String> documentFunctionIds)
onMultiselectClickEvent
public void onMultiselectClickEvent(Collection objects_p,
com.wewebu.ow.server.ecm.OwObject oParent_p,
com.wewebu.ow.server.app.OwClientRefreshContext refreshCtx_p)
throws Exception
- event called when user clicked the plugin for multiple selected items
- Overrides:
onMultiselectClickEvent
in class com.wewebu.ow.server.app.OwDocumentFunction
- Parameters:
objects_p
- Collection of OwObjectoParent_p
- Parent which listed the ObjectsrefreshCtx_p
- OwClientRefreshContext callback interface for the function plugins to signal refresh events to clients, can be null if no refresh is needed
- Throws:
Exception
onUpdate
public void onUpdate(com.wewebu.ow.server.ui.OwEventTarget caller_p,
int iCode_p,
Object param_p)
throws Exception
- Specified by:
onUpdate
in interface com.wewebu.ow.server.ui.OwUpdateTarget
- Throws:
Exception
onDialogClose
public void onDialogClose(com.wewebu.ow.server.ui.OwDialog dialogView_p)
throws Exception
- Specified by:
onDialogClose
in interface com.wewebu.ow.server.ui.OwDialog.OwDialogListener
- Throws:
Exception
Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.