|
||||||||||
| 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.pages.actions.AttachedImagesAction
public class AttachedImagesAction
Simple Action to retrieve the details of a ContentEntityObject's image attachments.
Since it is purpose built for the editor, it's possible this action should be moved to an editor actions package.
Warning: Think twice before removing or replacing this action. At the time of 4.0, this action was significantly faster than the equivalent REST resource /content/{id}/attachments.json
| Field Summary |
|---|
| Fields inherited from class com.atlassian.confluence.core.ConfluenceActionSupport |
|---|
CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, log, 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 | |
|---|---|
AttachedImagesAction()
|
|
| Method Summary | |
|---|---|
String |
execute()
|
Object |
getBean()
|
boolean |
isPermitted()
|
void |
setAttachmentManager(AttachmentManager attachmentManager)
|
void |
setContentEntityManager(ContentEntityManager contentEntityManager)
|
void |
setContentId(long contentId)
|
void |
setThumbnailManager(ThumbnailManager thumbnailManager)
|
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 AttachedImagesAction()
| Method Detail |
|---|
public void validate()
validate in interface MessageHolderAwarevalidate in interface com.opensymphony.xwork.Validateablevalidate in class com.opensymphony.xwork.ActionSupportpublic boolean isPermitted()
isPermitted in class ConfluenceActionSupportpublic String execute()
execute in interface com.opensymphony.xwork.Actionexecute in class com.opensymphony.xwork.ActionSupportpublic Object getBean()
getBean in interface Beanablepublic void setAttachmentManager(AttachmentManager attachmentManager)
public void setThumbnailManager(ThumbnailManager thumbnailManager)
public void setContentId(long contentId)
public void setContentEntityManager(ContentEntityManager contentEntityManager)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||