|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.wewebu.ow.server.dmsdialogs.views.OwStandardPasteMetadataHandler
public class OwStandardPasteMetadataHandler
OwStandardPasteMetadataHandler - Used for plugins with JSPForm. Provide support for paste operations inside properties view.
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 OwPropertyCollection |
m_properties
properties from the object |
protected static String |
QUERY_KEY_PROPNAME
query string for the property name |
Constructor Summary | |
---|---|
OwStandardPasteMetadataHandler(OwMainAppContext context_p,
boolean isSystemPropertiesView_p,
boolean hasPasteMetadataEnabled_p)
Constructor |
Method Summary | |
---|---|
protected OwClipboard |
getClipboard()
Get current Clipboard, often used in this class. |
boolean |
isPasteMetadataActivated()
check if paste metadata is active and should be displayed for user |
void |
onPasteAllMetaData(javax.servlet.http.HttpServletRequest request_p)
called when user presses the paste all metadata button |
void |
onPasteThisMetaData(javax.servlet.http.HttpServletRequest request_p)
called when user presses the paste this metadata button |
void |
renderPasteAllMetadata(Writer w_p,
OwEventTarget view_p)
Render the "paste all" metadata HTML code. |
void |
renderPasteMetadata(Writer w_p,
OwProperty prop_p,
OwEventTarget view_p)
Render the "paste" metadata HTML code |
void |
setProperties(OwPropertyCollection properties_p)
Set the current properties. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final String QUERY_KEY_PROPNAME
protected OwPropertyCollection m_properties
Constructor Detail |
---|
public OwStandardPasteMetadataHandler(OwMainAppContext context_p, boolean isSystemPropertiesView_p, boolean hasPasteMetadataEnabled_p)
Method Detail |
---|
public void setProperties(OwPropertyCollection properties_p)
OwPasteMetadataHandler
setProperties
in interface OwPasteMetadataHandler
properties_p
- - the properties.public void onPasteAllMetaData(javax.servlet.http.HttpServletRequest request_p) throws Exception
OwPasteMetadataHandler
onPasteAllMetaData
in interface OwPasteMetadataHandler
Exception
public void onPasteThisMetaData(javax.servlet.http.HttpServletRequest request_p) throws Exception
OwPasteMetadataHandler
onPasteThisMetaData
in interface OwPasteMetadataHandler
Exception
protected OwClipboard getClipboard()
public boolean isPasteMetadataActivated()
OwPasteMetadataHandler
isPasteMetadataActivated
in interface OwPasteMetadataHandler
public void renderPasteAllMetadata(Writer w_p, OwEventTarget view_p) throws Exception
OwPasteMetadataHandler
renderPasteAllMetadata
in interface OwPasteMetadataHandler
w_p
- - the writerview_p
- - the view
Exception
public void renderPasteMetadata(Writer w_p, OwProperty prop_p, OwEventTarget view_p) throws Exception
OwPasteMetadataHandler
renderPasteMetadata
in interface OwPasteMetadataHandler
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |