public class OwBatchPropertyAssignmentDocumentFunction
extends com.wewebu.ow.server.app.OwDocumentFunction
Implementation of the Document edit properties 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
Constructor and Description |
---|
OwBatchPropertyAssignmentDocumentFunction() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canSetValue(com.wewebu.ow.server.ecm.OwProperty prop_p)
Check if this Property can be edit.
|
String |
getBigIcon() |
protected com.wewebu.ow.server.app.OwClipboard |
getClipboard() |
String |
getIcon() |
protected boolean |
isClipboardEmpty()
Helper method to Check if the clipboard is empty
|
boolean |
isEnabled(Collection objCol_p,
com.wewebu.ow.server.ecm.OwObject parent_p,
int iContext_p) |
boolean |
isEnabled(com.wewebu.ow.server.ecm.OwObject oObject_p,
com.wewebu.ow.server.ecm.OwObject oParent_p,
int iContext_p) |
protected boolean |
isSystemProperty(com.wewebu.ow.server.ecm.OwProperty prop_p)
Check if given property is a system-property.
|
protected boolean |
isValidClipboardContentType() |
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 objectCol_p,
com.wewebu.ow.server.ecm.OwObject parent_p,
com.wewebu.ow.server.app.OwClientRefreshContext refreshCtx_p) |
void |
setFinishMessage(String msg_p) |
addHistoryEvent, addHistoryEvent, getBigDefaultIconHTML, getBigIconHTML, getColumnTitle, getContextMenu, getDefaultIconHTML, getDefaultLabel, getDisplayNameFromUserId, getEnableColumnClickEvent, getIconHTML, getLabel, getMultiselect, getNeedParent, getObjectInstance, getPluginType, getRetrievalPropertyNames, getShowInEditViews, init, isObjectTypeSupported, onColumnClickEvent
getConfigNode, getContext, getDragDropProperties, getEventManager, getHelpPath, getName, getNoEvent, getPluginID, getPluginTitle, getPluginTypeDisplayName, getSafeSetting, getSupportedObjectClassesFromDescriptor, getSupportedObjectTypesFromDescriptor, getTooltip, isDragDropTarget, isObjectClassSupported, setSafeSetting
public OwBatchPropertyAssignmentDocumentFunction()
public String getIcon() throws Exception
getIcon
in interface com.wewebu.ow.server.app.OwPlugin
getIcon
in class com.wewebu.ow.server.app.OwFunction
Exception
public String getBigIcon() throws Exception
getBigIcon
in class com.wewebu.ow.server.app.OwFunction
Exception
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
onClickEvent
in class com.wewebu.ow.server.app.OwDocumentFunction
Exception
public void onMultiselectClickEvent(Collection objectCol_p, com.wewebu.ow.server.ecm.OwObject parent_p, com.wewebu.ow.server.app.OwClientRefreshContext refreshCtx_p) throws Exception
onMultiselectClickEvent
in class com.wewebu.ow.server.app.OwDocumentFunction
Exception
public void setFinishMessage(String msg_p)
protected com.wewebu.ow.server.app.OwClipboard getClipboard()
protected boolean isClipboardEmpty()
false
only if content exist and content!= null
.protected boolean isValidClipboardContentType()
protected boolean isSystemProperty(com.wewebu.ow.server.ecm.OwProperty prop_p) throws Exception
prop_p
- OwProperty which should be checkedtrue
only if given property is a system property.Exception
- if missing rights to read informationprotected boolean canSetValue(com.wewebu.ow.server.ecm.OwProperty prop_p) throws Exception
prop_p
- OwProperty which should be checked.Exception
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.OwDocumentFunction
Exception
public boolean isEnabled(Collection objCol_p, com.wewebu.ow.server.ecm.OwObject parent_p, int iContext_p) throws Exception
isEnabled
in class com.wewebu.ow.server.app.OwDocumentFunction
Exception
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.