com.wewebu.ow.server.plug.owbpm
Class OwBPMResultlistAttachmentFieldControl.OwDeleteAttachmentFunction

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.owbpm.OwBPMResultlistAttachmentFieldControl.OwDeleteAttachmentFunction
All Implemented Interfaces:
com.wewebu.ow.server.app.OwPlugin
Enclosing class:
OwBPMResultlistAttachmentFieldControl

public class OwBPMResultlistAttachmentFieldControl.OwDeleteAttachmentFunction
extends com.wewebu.ow.server.app.OwDocumentFunction

Inline attachment removal document function.
This document function removes an attachment from an OwBPMResultlistAttachmentFieldControl handled attachments list.


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
OwBPMResultlistAttachmentFieldControl.OwDeleteAttachmentFunction(String fieldID_p)
          Constructor
 
Method Summary
 String getBigIcon()
          get the URL to the icon of the dialog / function
 boolean getContextMenu()
           
 String getIcon()
          get the URL to the icon of the dialog / function
 boolean getMultiselect()
           
 boolean getObjectInstance()
           
 String getPluginID()
           
 String getPluginTitle()
           
protected  Set getSupportedObjectTypesFromDescriptor(String strKey_p)
           
 String getTooltip()
           
 boolean isEnabled(com.wewebu.ow.server.ecm.OwObject object_p, com.wewebu.ow.server.ecm.OwObject parent_p, int context_p)
           
 void onClickEvent(com.wewebu.ow.server.ecm.OwObject object_p, com.wewebu.ow.server.ecm.OwObject parent_p, com.wewebu.ow.server.app.OwClientRefreshContext refreshCtx_p)
           
 void onMultiselectClickEvent(Collection objects_p, com.wewebu.ow.server.ecm.OwObject parent_p, com.wewebu.ow.server.app.OwClientRefreshContext refreshCtx_p)
           
 
Methods inherited from class com.wewebu.ow.server.app.OwDocumentFunction
addHistoryEvent, addHistoryEvent, getBigDefaultIconHTML, getBigIconHTML, getColumnTitle, getDefaultIconHTML, getDefaultLabel, getDisplayNameFromUserId, getEnableColumnClickEvent, getIconHTML, getLabel, getNeedParent, getPluginType, getRetrievalPropertyNames, getShowInEditViews, init, isEnabled, isObjectTypeSupported, onColumnClickEvent
 
Methods inherited from class com.wewebu.ow.server.app.OwFunction
getConfigNode, getContext, getDragDropProperties, getEventManager, getHelpPath, getName, getNoEvent, getPluginTypeDisplayName, getSafeSetting, getSupportedObjectClassesFromDescriptor, isDragDropTarget, isObjectClassSupported, setSafeSetting
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OwBPMResultlistAttachmentFieldControl.OwDeleteAttachmentFunction

public OwBPMResultlistAttachmentFieldControl.OwDeleteAttachmentFunction(String fieldID_p)
Constructor

Parameters:
fieldID_p - field ID as provided by the field manager control
Method Detail

getIcon

public String getIcon()
               throws Exception
get the URL to the icon of the dialog / function

Specified by:
getIcon in interface com.wewebu.ow.server.app.OwPlugin
Overrides:
getIcon in class com.wewebu.ow.server.app.OwFunction
Throws:
Exception

getBigIcon

public String getBigIcon()
                  throws Exception
get the URL to the icon of the dialog / function

Overrides:
getBigIcon in class com.wewebu.ow.server.app.OwFunction
Throws:
Exception

onClickEvent

public void onClickEvent(com.wewebu.ow.server.ecm.OwObject object_p,
                         com.wewebu.ow.server.ecm.OwObject parent_p,
                         com.wewebu.ow.server.app.OwClientRefreshContext refreshCtx_p)
                  throws Exception
Specified by:
onClickEvent in class com.wewebu.ow.server.app.OwDocumentFunction
Throws:
Exception

onMultiselectClickEvent

public void onMultiselectClickEvent(Collection objects_p,
                                    com.wewebu.ow.server.ecm.OwObject parent_p,
                                    com.wewebu.ow.server.app.OwClientRefreshContext refreshCtx_p)
                             throws Exception
Overrides:
onMultiselectClickEvent in class com.wewebu.ow.server.app.OwDocumentFunction
Throws:
Exception

getSupportedObjectTypesFromDescriptor

protected Set getSupportedObjectTypesFromDescriptor(String strKey_p)
                                             throws com.wewebu.ow.server.exceptions.OwConfigurationException
Overrides:
getSupportedObjectTypesFromDescriptor in class com.wewebu.ow.server.app.OwFunction
Throws:
com.wewebu.ow.server.exceptions.OwConfigurationException

isEnabled

public boolean isEnabled(com.wewebu.ow.server.ecm.OwObject object_p,
                         com.wewebu.ow.server.ecm.OwObject parent_p,
                         int context_p)
                  throws Exception
Overrides:
isEnabled in class com.wewebu.ow.server.app.OwDocumentFunction
Throws:
Exception

getContextMenu

public boolean getContextMenu()
Overrides:
getContextMenu in class com.wewebu.ow.server.app.OwDocumentFunction

getMultiselect

public boolean getMultiselect()
Overrides:
getMultiselect in class com.wewebu.ow.server.app.OwDocumentFunction

getObjectInstance

public boolean getObjectInstance()
Overrides:
getObjectInstance in class com.wewebu.ow.server.app.OwDocumentFunction

getPluginTitle

public String getPluginTitle()
Specified by:
getPluginTitle in interface com.wewebu.ow.server.app.OwPlugin
Overrides:
getPluginTitle in class com.wewebu.ow.server.app.OwFunction

getTooltip

public String getTooltip()
                  throws Exception
Overrides:
getTooltip in class com.wewebu.ow.server.app.OwFunction
Throws:
Exception

getPluginID

public String getPluginID()
Specified by:
getPluginID in interface com.wewebu.ow.server.app.OwPlugin
Overrides:
getPluginID in class com.wewebu.ow.server.app.OwFunction


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.