public class OwBPMResultlistAttachmentFieldControl
extends com.wewebu.ow.server.app.OwFieldManagerControl
Field Control to display Attachments in the BPM Workitems using a standard object list.
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
OwObjectListView
Modifier and Type | Class and Description |
---|---|
class |
OwBPMResultlistAttachmentFieldControl.OwDeleteAttachmentFunction
Inline attachment removal document function.
This document function removes an attachment from an OwBPMResultlistAttachmentFieldControl
handled attachments list. |
Modifier and Type | Field and Description |
---|---|
static String |
PLUGIN_CONFIG_ID_ATTACHMENT_FUNCTION
general ID in the plugin ID to be configure the plugin IDs for attachments
|
Constructor and Description |
---|
OwBPMResultlistAttachmentFieldControl()
Constructor
All document functions will be enabled. In order to enable only certain document functions use OwBPMResultlistAttachmentFieldControl(List) . |
OwBPMResultlistAttachmentFieldControl(List attachmentFunctionIDs_p)
Constructor
|
Modifier and Type | Method and Description |
---|---|
protected void |
applyConfiguration(com.wewebu.ow.server.dmsdialogs.views.OwObjectListView listView_p)
Applies a hard coded/default configuration to the give list view.
|
void |
detach() |
void |
init(com.wewebu.ow.server.app.OwFieldManager fieldmanager_p,
Node configNode_p) |
void |
insertEditField(Writer w_p,
com.wewebu.ow.server.field.OwFieldDefinition fieldDef_p,
com.wewebu.ow.server.field.OwField field_p,
String strID_p) |
void |
insertLabel(Writer w_p,
String suffix_p,
com.wewebu.ow.server.field.OwField field,
String strID_p,
boolean writeLabel_p) |
void |
insertReadOnlyField(Writer w_p,
com.wewebu.ow.server.field.OwFieldDefinition fieldDef_p,
Object value_p) |
void |
onPasteObjects(javax.servlet.http.HttpServletRequest request_p)
Called when user clicks to paste objects from clipboard
|
Object |
updateField(javax.servlet.http.HttpServletRequest request_p,
com.wewebu.ow.server.field.OwFieldDefinition fieldDef_p,
Object value_p,
String strID_p) |
getFieldManager, getFormEventFunction, getFormEventURL, getFormName, getFormTarget, init
attach, disableRequestListener, enableRequestListener, getAjaxEventURL, getContext, getEventURL, getFormEventFunction, getFormEventURL, getID, onExternalRequest, onFormEvent, onRequest, setExternalFormTarget, updateExternalFormTarget
public static final String PLUGIN_CONFIG_ID_ATTACHMENT_FUNCTION
public OwBPMResultlistAttachmentFieldControl()
OwBPMResultlistAttachmentFieldControl(List)
.public OwBPMResultlistAttachmentFieldControl(List attachmentFunctionIDs_p)
attachmentFunctionIDs_p
- a List
of String document function IDs to enable for this
field control. If null
NO DOCUMENT FUNCTION will be enabled.OwBPMResultlistAttachmentFieldControl()
.protected void applyConfiguration(com.wewebu.ow.server.dmsdialogs.views.OwObjectListView listView_p)
listView_p
- public void detach()
detach
in class com.wewebu.ow.server.ui.OwEventTarget
public void init(com.wewebu.ow.server.app.OwFieldManager fieldmanager_p, Node configNode_p) throws Exception
init
in class com.wewebu.ow.server.app.OwFieldManagerControl
Exception
public void insertEditField(Writer w_p, com.wewebu.ow.server.field.OwFieldDefinition fieldDef_p, com.wewebu.ow.server.field.OwField field_p, String strID_p) throws Exception
insertEditField
in class com.wewebu.ow.server.app.OwFieldManagerControl
Exception
public void insertReadOnlyField(Writer w_p, com.wewebu.ow.server.field.OwFieldDefinition fieldDef_p, Object value_p) throws Exception
insertReadOnlyField
in class com.wewebu.ow.server.app.OwFieldManagerControl
Exception
public void onPasteObjects(javax.servlet.http.HttpServletRequest request_p) throws Exception
Exception
public Object updateField(javax.servlet.http.HttpServletRequest request_p, com.wewebu.ow.server.field.OwFieldDefinition fieldDef_p, Object value_p, String strID_p) throws Exception
updateField
in class com.wewebu.ow.server.app.OwFieldManagerControl
Exception
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.