com.wewebu.ow.server.plug.owdms
Class OwDocumentFunctionPromote
java.lang.Object
com.wewebu.ow.server.app.OwFunction
com.wewebu.ow.server.app.OwDocumentFunction
com.wewebu.ow.server.plug.owdms.OwDocumentFunctionPromote
- All Implemented Interfaces:
- com.wewebu.ow.server.app.OwPlugin
public class OwDocumentFunctionPromote
- extends com.wewebu.ow.server.app.OwDocumentFunction
Implementation of the DMS document function promote.
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
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 |
Method Summary |
String |
getBigIcon()
|
String |
getIcon()
|
boolean |
isEnabled(com.wewebu.ow.server.ecm.OwObject oObject_p,
com.wewebu.ow.server.ecm.OwObject oParent_p,
int iContext_p)
check if function is enabled for the given object parameters |
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 |
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 |
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, 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 |
OwDocumentFunctionPromote
public OwDocumentFunctionPromote()
getIcon
public String getIcon()
throws Exception
- 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
- Overrides:
getBigIcon
in class com.wewebu.ow.server.app.OwFunction
- Throws:
Exception
isEnabled
public boolean isEnabled(com.wewebu.ow.server.ecm.OwObject oObject_p,
com.wewebu.ow.server.ecm.OwObject oParent_p,
int iContext_p)
throws Exception
- check if function is enabled for the given object parameters
- Overrides:
isEnabled
in class com.wewebu.ow.server.app.OwDocumentFunction
- Parameters:
oObject_p
- OwObject where event was triggeredoParent_p
- Parent which listed the Object
- Returns:
- true = enabled, false otherwise
- Throws:
Exception
onClickEvent
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
- event called when user clicked the plugin label / icon
- Specified by:
onClickEvent
in class com.wewebu.ow.server.app.OwDocumentFunction
- Parameters:
oObject_p
- OwObject where event was triggeredoParent_p
- Parent which listed the ObjectrefreshCtx_p
- OwFunctionRefreshContext callback interface for the function plugins to signal refresh events to clients, can be null if no refresh is needed
- Throws:
Exception
onMultiselectClickEvent
public void onMultiselectClickEvent(Collection objects_p,
com.wewebu.ow.server.ecm.OwObject oParent_p,
com.wewebu.ow.server.app.OwClientRefreshContext refreshCtx_p)
throws Exception
- event called when user clicked the plugin for multiple selected items
- Overrides:
onMultiselectClickEvent
in class com.wewebu.ow.server.app.OwDocumentFunction
- Parameters:
objects_p
- Iterator of OwObjectoParent_p
- Parent which listed the ObjectsrefreshCtx_p
- OwFunctionRefreshContext callback interface for the function plugins to signal refresh events to clients, can be null if no refresh is needed
- Throws:
Exception
Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.