|
|||||||||
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 |
void |
initializeAction(ServiceRegistry serviceRegistry,
AlfrescoContext filesysContext)
Initialize the desktop action |
DesktopResponse |
runAction(DesktopParams params)
Run the desktop action |
void |
setAttributeList(java.lang.String attributes)
Set the action attributes |
void |
setPreprocess(java.lang.String preProcessActions)
Set the client side pre-processing actions |
void |
setScriptName(java.lang.String name)
Set the script name |
void |
standardInitialize(org.springframework.extensions.config.ConfigElement global,
org.springframework.extensions.config.ConfigElement config,
org.alfresco.jlan.server.filesys.DiskSharedDevice fileSys)
Perform standard desktop action initialization |
Methods inherited from class org.alfresco.filesys.alfresco.DesktopAction |
---|
equals, getAttributes, getContext, getName, getPreProcessActions, getPseudoFile, getServiceRegistry, getWebappURL, hasAttribute, hasDebug, hasPreProcessAction, hasPseudoFile, hasWebappURL, initializeAction, setAttributes, setDebug, setFilename, setName, setPath, setPreProcessActions, setPseudoFile, setServiceRegistry, setWebappURL, 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 standardInitialize(org.springframework.extensions.config.ConfigElement global, org.springframework.extensions.config.ConfigElement config, org.alfresco.jlan.server.filesys.DiskSharedDevice fileSys) throws DesktopActionException
standardInitialize
in class DesktopAction
global
- ConfigElementconfig
- ConfigElementfileSys
- DiskSharedDevice
DesktopActionException
public void initializeAction(ServiceRegistry serviceRegistry, AlfrescoContext filesysContext) throws DesktopActionException
DesktopAction
initializeAction
in class DesktopAction
DesktopActionException
public DesktopResponse runAction(DesktopParams params) throws DesktopActionException
runAction
in class DesktopAction
params
- DesktopParams
DesktopActionException
public final java.lang.String getScriptName()
public final java.lang.String getScript()
public final void setScriptName(java.lang.String name)
name
- Stringpublic void setAttributeList(java.lang.String attributes) throws DesktopActionException
attributes
- String
DesktopActionException
public void setPreprocess(java.lang.String preProcessActions) throws DesktopActionException
preProcessActions
- String
DesktopActionException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |