|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.wewebu.ow.server.app.OwFunction
com.wewebu.ow.server.app.OwDocumentFunction
com.wewebu.ow.server.plug.owdms.OwDocumentFunctionSave
public class OwDocumentFunctionSave
Implementation of the DMS Document Function, Save a document (Change the content of an DMS Object).
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 | |
|---|---|
protected com.wewebu.ow.server.ecm.OwObject |
m_parentObject
the last parent object needed for status historization in onCloseDialog() |
protected com.wewebu.ow.server.ecm.OwObject |
m_saveObject
the last object to check in needed for status historization in onCloseDialog() |
| 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 | |
|---|---|
OwDocumentFunctionSave()
|
|
| Method Summary | |
|---|---|
String |
getBigIcon()
get the URL to the icon of the dialog / function |
String |
getIcon()
get the URL to the icon of the dialog / function |
void |
init(com.wewebu.ow.server.util.OwXMLUtil node_p,
com.wewebu.ow.server.app.OwMainAppContext context_p)
override to get some plugin configuration tags. |
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 |
onDialogClose(com.wewebu.ow.server.ui.OwDialog dialogView_p)
Listener for DialogClose events used to historize SUCCESS/CANCEL/FAILURE |
void |
onUpdate(com.wewebu.ow.server.ui.OwEventTarget caller_p,
int code_p,
Object param_p)
|
| 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, isEnabled, isObjectTypeSupported, onColumnClickEvent, onMultiselectClickEvent |
| 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 |
| Field Detail |
|---|
protected com.wewebu.ow.server.ecm.OwObject m_saveObject
protected com.wewebu.ow.server.ecm.OwObject m_parentObject
| Constructor Detail |
|---|
public OwDocumentFunctionSave()
| Method Detail |
|---|
public void init(com.wewebu.ow.server.util.OwXMLUtil node_p,
com.wewebu.ow.server.app.OwMainAppContext context_p)
throws Exception
init in class com.wewebu.ow.server.app.OwDocumentFunctionException
public String getIcon()
throws Exception
getIcon in interface com.wewebu.ow.server.app.OwPlugingetIcon in class com.wewebu.ow.server.app.OwFunctionException
public String getBigIcon()
throws Exception
getBigIcon in class com.wewebu.ow.server.app.OwFunctionException
public boolean isEnabled(com.wewebu.ow.server.ecm.OwObject oObject_p,
com.wewebu.ow.server.ecm.OwObject oParent_p,
int iContext_p)
throws Exception
isEnabled in class com.wewebu.ow.server.app.OwDocumentFunctionoObject_p - OwObject where event was triggeredoParent_p - Parent which listed the Object
Exception
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
onClickEvent in class com.wewebu.ow.server.app.OwDocumentFunctionoObject_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
Exception
public void onDialogClose(com.wewebu.ow.server.ui.OwDialog dialogView_p)
throws Exception
onDialogClose in interface com.wewebu.ow.server.ui.OwDialog.OwDialogListenerdialogView_p - the closed dialog
Exception
public void onUpdate(com.wewebu.ow.server.ui.OwEventTarget caller_p,
int code_p,
Object param_p)
throws Exception
onUpdate in interface com.wewebu.ow.server.ui.OwUpdateTargetException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||