|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.opensymphony.xwork.ActionSupport
com.atlassian.confluence.core.ConfluenceActionSupport
com.atlassian.confluence.plugins.dragdrop.UploadAction
public class UploadAction
| Field Summary |
|---|
| Fields inherited from class com.atlassian.confluence.core.ConfluenceActionSupport |
|---|
CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, messageHolder, permissionManager, permitted, pluginAccessor, PREVIEW, settingsManager, spacePermissionManager, userAccessor, webInterfaceManager |
| Fields inherited from class com.opensymphony.xwork.ActionSupport |
|---|
LOG |
| Fields inherited from interface com.opensymphony.xwork.Action |
|---|
ERROR, INPUT, LOGIN, NONE, SUCCESS |
| Constructor Summary | |
|---|---|
UploadAction()
|
|
| Method Summary | |
|---|---|
String |
execute()
|
Object |
getBean()
|
ContentEntityManager |
getContentEntityManager()
The following accessors have been created because I couldn't (at the time of writing), coerce the autowiring of this action. |
void |
setDraftId(long draftId)
|
void |
setDraftService(DraftService draftService)
|
void |
setEditorFormatService(EditorFormatService editorFormatService)
|
void |
setFilename(String filename)
|
void |
setFileUploadManager(FileUploadManager fileUploadManager)
|
void |
setMimeType(String mimeType)
|
void |
setPageId(long pageId)
|
void |
setServletRequest(javax.servlet.http.HttpServletRequest httpServletRequest)
|
void |
setSize(long size)
|
void |
validate()
|
| Methods inherited from class com.opensymphony.xwork.ActionSupport |
|---|
addActionError, addActionMessage, addFieldError, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, setActionErrors, setActionMessages, setFieldErrors |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UploadAction()
| Method Detail |
|---|
public void validate()
validate in interface MessageHolderAwarevalidate in interface com.opensymphony.xwork.Validateablevalidate in class com.opensymphony.xwork.ActionSupport
public String execute()
throws Exception
execute in interface com.opensymphony.xwork.Actionexecute in class com.opensymphony.xwork.ActionSupportExceptionpublic Object getBean()
getBean in interface Beanablepublic void setMimeType(String mimeType)
public void setFilename(String filename)
public void setSize(long size)
public void setServletRequest(javax.servlet.http.HttpServletRequest httpServletRequest)
setServletRequest in interface com.opensymphony.webwork.interceptor.ServletRequestAwarepublic void setFileUploadManager(FileUploadManager fileUploadManager)
public void setPageId(long pageId)
public void setDraftId(long draftId)
public void setEditorFormatService(EditorFormatService editorFormatService)
public ContentEntityManager getContentEntityManager()
I've already tried using the @Qualifier annotation, both on the a private field and on a constructor argument. It doesn't work. It doesn't seem to be respected at the moment.
public void setDraftService(DraftService draftService)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||