com.wewebu.ow.server.plug.owdoccopy
Class OwDocumentFunctionCopy

java.lang.Object
  extended by com.wewebu.ow.server.app.OwFunction
      extended by com.wewebu.ow.server.app.OwDocumentFunction
          extended by com.wewebu.ow.server.plug.owdoccopy.OwDocumentFunctionAddToClipboard
              extended by com.wewebu.ow.server.plug.owdoccopy.OwDocumentFunctionCopy
All Implemented Interfaces:
com.wewebu.ow.server.app.OwPlugin

public class OwDocumentFunctionCopy
extends OwDocumentFunctionAddToClipboard

Implementation of the Document copy plugin.

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.app.OwFunction
DESCRIPTION_KEY_CLASSES, DESCRIPTION_KEY_OBJ_TYPES, DESCRIPTION_KEY_TYPE, DRAG_DROP_PROPERTY_MAX_FILESIZE, m_MainContext
 
Constructor Summary
OwDocumentFunctionCopy()
           
 
Method Summary
protected  OwCommandAddToClipboard createAddToClipboardCommand(com.wewebu.ow.server.ecm.OwObject oParent_p, List objects_p)
          Create add to clipboard command
 String getBigIcon()
          get the URL to the info icon
 String getIcon()
          get the URL to the info icon
protected  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.
 
Methods inherited from class com.wewebu.ow.server.plug.owdoccopy.OwDocumentFunctionAddToClipboard
executeAddToClipboadCommand, onClickEvent, onMultiselectClickEvent
 
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, init, 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
 

Constructor Detail

OwDocumentFunctionCopy

public OwDocumentFunctionCopy()
Method Detail

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

onClickEventPostProcessing

protected 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
Description copied from class: OwDocumentFunctionAddToClipboard
This method is called after the click event was processed.

Specified by:
onClickEventPostProcessing in class OwDocumentFunctionAddToClipboard
Throws:
Exception
com.wewebu.ow.server.exceptions.OwInvalidOperationException

createAddToClipboardCommand

protected OwCommandAddToClipboard createAddToClipboardCommand(com.wewebu.ow.server.ecm.OwObject oParent_p,
                                                              List objects_p)
Create add to clipboard command

Specified by:
createAddToClipboardCommand in class OwDocumentFunctionAddToClipboard
Parameters:
oParent_p -
objects_p -
Returns:
a OwCommandAddToClipboard object, configured for the needed operation


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.