public class OwDemoRecordFunction
extends com.wewebu.ow.server.app.OwRecordFunction
Demo Record Function 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
| Modifier and Type | Field and Description |
|---|---|
protected static String |
JSP_FORM_ELEMENT_NAME
The element name for JSP file, used for rendering
|
| Constructor and Description |
|---|
OwDemoRecordFunction() |
| Modifier and Type | Method and Description |
|---|---|
String |
getBigIcon() |
String |
getIcon() |
boolean |
isEnabled(com.wewebu.ow.server.ecm.OwObject rootObject_p,
com.wewebu.ow.server.ecm.OwObject folderObject_p,
int iContext_p)
check if function is enabled for the given object parameters
|
void |
onClickEvent(com.wewebu.ow.server.ecm.OwObject rootObject_p,
com.wewebu.ow.server.ecm.OwObject folderObject_p,
com.wewebu.ow.server.app.OwClientRefreshContext refreshCtx_p)
event called when user clicked the plugin label / icon
|
addHistoryEvent, addHistoryEvent, getBigDefaultIconHTML, getBigIconHTML, getDefaultIconHTML, getDefaultLabel, getDragDropProperties, getIconHTML, getLabel, getPluginType, init, isDragDropTarget, isMultifileDragDropAllowed, onClickEventgetConfigNode, getContext, getContextMenu, getEventManager, getHelpPath, getName, getNoEvent, getPluginID, getPluginTitle, getPluginTypeDisplayName, getSafeSetting, getSupportedObjectClassesFromDescriptor, getSupportedObjectTypesFromDescriptor, getTooltip, isObjectClassSupported, setSafeSettingprotected static final String JSP_FORM_ELEMENT_NAME
public String getIcon() throws Exception
getIcon in interface com.wewebu.ow.server.app.OwPlugingetIcon in class com.wewebu.ow.server.app.OwFunctionExceptionpublic String getBigIcon() throws Exception
getBigIcon in class com.wewebu.ow.server.app.OwFunctionExceptionpublic boolean isEnabled(com.wewebu.ow.server.ecm.OwObject rootObject_p,
com.wewebu.ow.server.ecm.OwObject folderObject_p,
int iContext_p)
throws Exception
isEnabled in class com.wewebu.ow.server.app.OwRecordFunctionrootObject_p - OwObject root folder to work onfolderObject_p - OwObject selected folder to work onExceptionpublic void onClickEvent(com.wewebu.ow.server.ecm.OwObject rootObject_p,
com.wewebu.ow.server.ecm.OwObject folderObject_p,
com.wewebu.ow.server.app.OwClientRefreshContext refreshCtx_p)
throws Exception
onClickEvent in class com.wewebu.ow.server.app.OwRecordFunctionrootObject_p - OwObject root folder to work onfolderObject_p - OwObject selected folder to work onrefreshCtx_p - OwFunctionRefreshContext callback interface for the function plugins to signal refresh events to clients, can be null if no refresh is neededExceptionCopyright © 2014 Alfresco Business Solutions. All Rights Reserved.