public class AttachmentsRaw extends AbstractAgrosystAction
| Modifier and Type | Field and Description |
|---|---|
protected List<AttachmentMetadata> |
attachmentMetadatas |
protected AttachmentService |
attachmentService |
protected String |
objectReferenceId |
protected boolean |
readOnly |
applicationContext, attachmentCount, authorizationService, config, currentUserAnAdmin, currentUserAnIsDataProcessor, ERROR_LAYOUT_DATA, gson, layoutData, messageService, navigationContextService, notificationSupport, parameters, richNavigationContext, servletRequest, servletResponse, session| Constructor and Description |
|---|
AttachmentsRaw() |
| Modifier and Type | Method and Description |
|---|---|
String |
execute() |
List<AttachmentMetadata> |
getAttachmentMetadatas() |
String |
getObjectReferenceId() |
boolean |
isReadOnly() |
void |
setAttachmentService(AttachmentService attachmentService) |
void |
setObjectReferenceId(String objectReferenceId) |
getAttachmentCount, getBroadcastMessages, getConfig, getEnumAsMap, getErrorNotifications, getGson, getInfoNotifications, getIsBroadcastMessagesEmpty, getIsFirstTimeMessageRead, getLayoutData, getNavigationContext, getRichNavigationContext, getServletInfo, getSession, getSessionId, getWarningNotifications, initForInput, initLayoutData, isCurrentUserAnAdmin, isCurrentUserAnIsDataProcessor, isErrorNotificationsEmpty, isInfoNotificationsEmpty, isWarningNotificationsEmpty, navigationContextEntityCreated, readNavigationContextCookie, setApplicationContext, setAuthorizationService, setConfig, setMessageService, setNavigationContextService, setNotificationSupport, setParameters, setServletRequest, setServletResponse, setSession, toJson, toTrueMap, verifyAndSaveNavigationContext, writeNavigationContextCookieaddActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, doDefault, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getFormatted, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, input, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors, validateprotected transient AttachmentService attachmentService
protected List<AttachmentMetadata> attachmentMetadatas
protected String objectReferenceId
protected boolean readOnly
public void setAttachmentService(AttachmentService attachmentService)
setAttachmentService in class AbstractAgrosystActionpublic void setObjectReferenceId(String objectReferenceId)
public String execute() throws Exception
execute in interface com.opensymphony.xwork2.Actionexecute in class com.opensymphony.xwork2.ActionSupportExceptionpublic List<AttachmentMetadata> getAttachmentMetadatas()
public String getObjectReferenceId()
public boolean isReadOnly()
isReadOnly in class AbstractAgrosystActionCopyright © 2013–2015 Inra. All rights reserved.