|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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, 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 |
setDraftManager(DraftManager draftManager)
|
void |
setDraftType(String draftType)
|
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 |
setSpaceKey(String spaceKey)
|
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 com.opensymphony.xwork.Validateable
validate
in class com.opensymphony.xwork.ActionSupport
public String execute() throws Exception
execute
in interface com.opensymphony.xwork.Action
execute
in class com.opensymphony.xwork.ActionSupport
Exception
public Object getBean()
getBean
in interface Beanable
public 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.ServletRequestAware
public void setFileUploadManager(FileUploadManager fileUploadManager)
public void setPageId(long pageId)
public void setDraftType(String draftType)
public void setDraftManager(DraftManager draftManager)
public void setEditorFormatService(EditorFormatService editorFormatService)
public void setSpaceKey(String spaceKey)
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |