public class NetworksEdit extends AbstractAgrosystAction implements com.opensymphony.xwork2.Preparable
| Modifier and Type | Field and Description |
|---|---|
protected NetworkIndicators |
indicators |
protected List<NetworkManagerDto> |
managers |
protected Network |
network |
protected NetworkService |
networkService |
protected String |
networkTopiaId |
protected List<String> |
parentIds |
protected UserService |
userService |
applicationContext, attachmentCount, attachmentService, authorizationService, config, currentUserAnAdmin, currentUserAnIsDataProcessor, ERROR_LAYOUT_DATA, gson, layoutData, navigationContextService, notificationSupport, parameters, readOnly, richNavigationContext, servletRequest, servletResponse, session| Constructor and Description |
|---|
NetworksEdit() |
| Modifier and Type | Method and Description |
|---|---|
String |
execute() |
NetworkIndicators |
getIndicators() |
List<NetworkManagerDto> |
getManagers() |
Network |
getNetwork() |
String |
getNetworkTopiaId() |
List<String> |
getParentIds() |
Map<Sector,String> |
getSectors() |
Map<TypeDEPHY,String> |
getTypesDephy() |
protected void |
initForInput() |
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, getRichNavigationContext, getServletInfo, getSession, getSessionId, getWarningNotifications, initLayoutData, isCurrentUserAnAdmin, isCurrentUserAnIsDataProcessor, isErrorNotificationsEmpty, isInfoNotificationsEmpty, isReadOnly, isWarningNotificationsEmpty, navigationContextEntityCreated, readNavigationContextCookie, setApplicationContext, setAttachmentService, setAuthorizationService, setConfig, 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, pause, setActionErrors, setActionMessages, setContainer, setFieldErrorsprotected transient NetworkService networkService
protected transient UserService userService
protected String networkTopiaId
protected Network network
protected List<NetworkManagerDto> managers
protected NetworkIndicators indicators
public void setNetworkService(NetworkService networkService)
public void setUserService(UserService userService)
public void prepare()
throws Exception
prepare in interface com.opensymphony.xwork2.PreparableExceptionprotected void initForInput()
initForInput in class AbstractAgrosystActionpublic 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)
public NetworkIndicators getIndicators()
Copyright © 2013–2014 Inra. All rights reserved.