public class NetworksEdit extends AbstractAgrosystAction implements com.opensymphony.xwork2.Preparable
| Modifier and Type | Field and Description |
|---|---|
protected List<NetworkManagerDto> |
managers |
protected Network |
network |
protected NetworkService |
networkService |
protected String |
networkTopiaId |
protected List<String> |
parentIds |
protected UserService |
userService |
attachmentCount, attachmentService, authorizationService, config, currentUserAnAdmin, ERROR_LAYOUT_DATA, gson, layoutData, navigationContextService, nextActionName, nextParamValue, notificationSupport, parameters, readOnly, richNavigationContext, servletRequest, servletResponse, session| Constructor and Description |
|---|
NetworksEdit() |
| Modifier and Type | Method and Description |
|---|---|
String |
execute() |
List<NetworkManagerDto> |
getManagers() |
Network |
getNetwork() |
String |
getNetworkTopiaId() |
List<String> |
getParentIds() |
String |
input() |
void |
prepare() |
protected Boolean |
researchCycle(Network parent) |
protected Boolean |
researchParentsCycleProcess() |
void |
setNetwork(Network network) |
void |
setNetworkManagerDtoJson(String json) |
void |
setNetworkService(NetworkService networkService) |
void |
setNetworkTopiaId(String networkTopiaId) |
void |
setParentIdsJson(String json) |
void |
setUserService(UserService userService) |
void |
validate() |
getAttachmentCount, getConfig, getEnumAsMap, getErrorNotifications, getGson, getInfoNotifications, getLayoutData, getNavigationContext, getNextActionName, getNextParamValue, getRichNavigationContext, getSession, getWarningNotifications, initForInput, initLayoutData, isCurrentUserAnAdmin, isErrorNotificationsEmpty, isInfoNotificationsEmpty, isReadOnly, isWarningNotificationsEmpty, navigationContextEntityCreated, readNavigationContextCookie, setAttachmentService, setAuthorizationService, setConfig, setNavigationContextService, setNextActionName, setNextParamValue, setNotificationSupport, setParameters, setServletRequest, setServletResponse, setSession, toJson, 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, pause, setActionErrors, setActionMessages, setContainer, setFieldErrorsprotected NetworkService networkService
protected UserService userService
protected String networkTopiaId
protected Network network
protected List<NetworkManagerDto> managers
public void setNetworkService(NetworkService networkService)
public void setUserService(UserService userService)
public void prepare()
throws Exception
prepare in interface com.opensymphony.xwork2.PreparableExceptionpublic String input()
input in class com.opensymphony.xwork2.ActionSupportpublic void validate()
validate in interface com.opensymphony.xwork2.Validateablevalidate in class com.opensymphony.xwork2.ActionSupportprotected Boolean researchParentsCycleProcess()
public String execute() throws Exception
execute in interface com.opensymphony.xwork2.Actionexecute in class com.opensymphony.xwork2.ActionSupportExceptionpublic String getNetworkTopiaId()
public void setNetworkTopiaId(String networkTopiaId)
public void setParentIdsJson(String json)
public Network getNetwork()
public void setNetwork(Network network)
public List<NetworkManagerDto> getManagers()
public void setNetworkManagerDtoJson(String json)
Copyright © 2013 Inra. All rights reserved.