public abstract class OwDocumentFunctionAddToClipboard
extends com.wewebu.ow.server.app.OwDocumentFunction
Implementation of common behavior for Cut and Copy document functions.
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
Constructor and Description |
---|
OwDocumentFunctionAddToClipboard() |
Modifier and Type | Method and Description |
---|---|
protected abstract OwCommandAddToClipboard |
createAddToClipboardCommand(com.wewebu.ow.server.ecm.OwObject oParent_p,
List objects_p)
Create the concrete
OwCommandAddToClipboard object. |
protected void |
executeAddToClipboadCommand(com.wewebu.ow.server.ecm.OwObject oParent_p,
List objects_p)
Executes the addToClipboard command
|
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 plugin label / icon
|
protected abstract void |
onClickEventPostProcessing(com.wewebu.ow.server.ecm.OwObject oObject_p,
com.wewebu.ow.server.ecm.OwObject oParent_p)
This method is called after the click event was processed.
|
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
|
addHistoryEvent, addHistoryEvent, getBigDefaultIconHTML, getBigIconHTML, getColumnTitle, getContextMenu, getDefaultIconHTML, getDefaultLabel, getDisplayNameFromUserId, getEnableColumnClickEvent, getIconHTML, getLabel, getMultiselect, getNeedParent, getObjectInstance, getPluginType, getRetrievalPropertyNames, getShowInEditViews, init, isEnabled, isEnabled, isObjectTypeSupported, onColumnClickEvent
getBigIcon, getConfigNode, getContext, getDragDropProperties, getEventManager, getHelpPath, getIcon, getName, getNoEvent, getPluginID, getPluginTitle, getPluginTypeDisplayName, getSafeSetting, getSupportedObjectClassesFromDescriptor, getSupportedObjectTypesFromDescriptor, getTooltip, isDragDropTarget, isObjectClassSupported, setSafeSetting
protected abstract OwCommandAddToClipboard createAddToClipboardCommand(com.wewebu.ow.server.ecm.OwObject oParent_p, List objects_p)
OwCommandAddToClipboard
object.oParent_p
- - the parent folderobjects_p
- - the collection of objectsOwCommandAddToClipboard
object.protected void executeAddToClipboadCommand(com.wewebu.ow.server.ecm.OwObject oParent_p, List objects_p) throws Exception
oParent_p
- objects_p
- Exception
public void onMultiselectClickEvent(Collection objects_p, com.wewebu.ow.server.ecm.OwObject oParent_p, com.wewebu.ow.server.app.OwClientRefreshContext refreshCtx_p) throws Exception
onMultiselectClickEvent
in class com.wewebu.ow.server.app.OwDocumentFunction
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 neededException
protected abstract void onClickEventPostProcessing(com.wewebu.ow.server.ecm.OwObject oObject_p, com.wewebu.ow.server.ecm.OwObject oParent_p) throws Exception, com.wewebu.ow.server.exceptions.OwInvalidOperationException
oObject_p
- oParent_p
- Exception
com.wewebu.ow.server.exceptions.OwInvalidOperationException
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
onClickEvent
in class com.wewebu.ow.server.app.OwDocumentFunction
oObject_p
- OwObject where event was triggeredoParent_p
- Parent which listed the ObjectException
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.