|
||||||||||
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.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, 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 | |
---|---|
java.lang.String |
execute()
|
java.lang.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 MessageHolderAware
validate
in interface com.opensymphony.xwork.Validateable
validate
in class com.opensymphony.xwork.ActionSupport
public boolean isPermitted()
isPermitted
in class ConfluenceActionSupport
public java.lang.String execute()
execute
in interface com.opensymphony.xwork.Action
execute
in class com.opensymphony.xwork.ActionSupport
public java.lang.Object getBean()
getBean
in interface Beanable
public 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 |