|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.alfresco.filesys.alfresco.DesktopAction
org.alfresco.filesys.repo.desk.JavaScriptDesktopAction
public class JavaScriptDesktopAction
Javascript Desktop Action Class
Run a server-side script against the target node(s).
| Field Summary |
|---|
| Fields inherited from class org.alfresco.filesys.alfresco.DesktopAction |
|---|
AttrAlfrescoFiles, AttrAlfrescoFolders, AttrAllowNoParams, AttrAnyFiles, AttrAnyFilesFolders, AttrAnyFolders, AttrClientFiles, AttrClientFolders, AttrMultiplePaths, AttrTargetFiles, AttrTargetFolders, logger, PreConfirmAction, PreCopyToTarget, PreLocalToWorkingCopy, StsAccessDenied, StsAuthTicket, StsBadParameter, StsCommandLine, StsError, StsFileNotFound, StsLaunchURL, StsNoSuchAction, StsNotWorkingCopy, StsSuccess |
| Constructor Summary | |
|---|---|
JavaScriptDesktopAction()
Class constructor |
|
| Method Summary | |
|---|---|
java.lang.String |
getConfirmationString()
Return the confirmation string to be displayed by the client |
java.lang.String |
getScript()
Return the script data |
java.lang.String |
getScriptName()
Get the script name |
protected ScriptService |
getScriptService()
Get the script service |
void |
initializeAction(org.alfresco.config.ConfigElement global,
org.alfresco.config.ConfigElement config,
org.alfresco.jlan.server.filesys.DiskSharedDevice fileSys)
Initialize the action |
DesktopResponse |
runAction(DesktopParams params)
Run the desktop action |
protected void |
setScriptName(java.lang.String name)
Set the script name |
| Methods inherited from class org.alfresco.filesys.alfresco.DesktopAction |
|---|
equals, getAttributes, getContext, getDriver, getName, getPreProcessActions, getPseudoFile, getServiceRegistry, getWebappURL, hasAttribute, hasDebug, hasPreProcessAction, hasPseudoFile, hasWebappURL, setAttributes, setDebug, setName, setPreProcessActions, setPseudoFile, setWebappURL, standardInitialize, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public JavaScriptDesktopAction()
| Method Detail |
|---|
public java.lang.String getConfirmationString()
getConfirmationString in class DesktopAction
public void initializeAction(org.alfresco.config.ConfigElement global,
org.alfresco.config.ConfigElement config,
org.alfresco.jlan.server.filesys.DiskSharedDevice fileSys)
throws DesktopActionException
initializeAction in class DesktopActionglobal - ConfigElementconfig - ConfigElementfileSys - DiskSharedDevice
DesktopActionException
public DesktopResponse runAction(DesktopParams params)
throws DesktopActionException
runAction in class DesktopActionparams - DesktopParams
DesktopActionExceptionprotected final ScriptService getScriptService()
public final java.lang.String getScriptName()
public final java.lang.String getScript()
protected final void setScriptName(java.lang.String name)
name - String
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||