public abstract class AbstractSearchTerritoryAction extends AbstractReferentialCardAction
| Modifier and Type | Field and Description |
|---|---|
protected Integer |
backPage
The page name to go back to
|
protected List<SearchTerritoryDto> |
mySearchsTerritorys
the list of searchTerritoryBean
|
protected PagingDto |
paging |
protected boolean |
searchForUser
True if searching territory for a user
|
protected SearchTerritoryDto |
searchTerritoryBean |
protected String |
selectionId
Current multiple selection user's filling
|
protected String |
territoryId
ID of parent mixed territory to add organisms on it.
|
protected List<String> |
territoryIdsSave
the selected territory ids
|
protected UserDto |
user
user for user's territory modification
|
id, orgId, referentialService, speaLotServicechosenExerciseId, exercise, exerciseList, exerciseServicepagingUser, searchUsersInfoapplication, configuration, formatDate, formatDateOnly, menu, nextPage, parameters, serviceMessages, session, sispeaSession, strutsMessages, submitValue, territoryService, userService| Constructor and Description |
|---|
AbstractSearchTerritoryAction() |
| Modifier and Type | Method and Description |
|---|---|
protected List<SPEADto> |
buildSPEAListFromTerritoryResult(Collection<TerritoryPairDto> pTerritoryResult,
ExerciseDto pExercise) |
protected Map<Integer,String> |
computeSpeaLotStatusMap(List<SPEADto> speaList,
Integer exerciseId) |
Boolean |
displayComplementaryTerritory()
return true if complementary territory should be displayed
|
Boolean |
displayDetailsSpea() |
int |
getAdvancedSearchCount() |
Integer |
getBackPage() |
String |
getBackPageLabelKey() |
String |
getExerciseYear(Integer pExerciseId) |
Map<String,String> |
getLotStatusTypes()
Get Map of search types.
|
List<SearchTerritoryDto> |
getMySearchsTerritorys() |
PagingDto |
getPaging() |
Map<String,String> |
getResultTypes()
Get Map of result types.
|
SearchTerritoryDto |
getSearchTerritory() |
Map<String,String> |
getSearchTypes()
Get Map of search types.
|
String |
getSelectionId() |
int |
getSimpleSearchCount() |
String |
getTerritoryId() |
List<String> |
getTerritoryIdsSave() |
UserDto |
getUser() |
boolean |
isSearchForUser() |
boolean |
isUserAdmin()
Test if currently logged user is an administrator or not.
|
protected void |
loadExerciseList() |
protected void |
loadMySearchsTerritorys() |
boolean |
searchingForFillingMultipleSelection()
return true if search is a multiple selection, false otherwise.
|
boolean |
searchingForNewUserTerritory()
return true if search is for new user's territory, false else
|
boolean |
searchingForSelections()
return true if search to fill selections
|
boolean |
searchingForTerritoryOrganism()
return true if search is for territory organisms, false otherwise.
|
boolean |
searchingForUserTerritory()
return true if search is for user's territory, false else
|
void |
setBackPage(Integer pBackPage) |
void |
setMySearchsTerritorys(List<SearchTerritoryDto> pMySearchsTerritorys) |
void |
setSearchForUser(boolean pSearchForUser) |
void |
setSelectionId(String pSelectionId) |
void |
setTerritoryId(String pTerritoryId) |
void |
setTerritoryIdsSave(List<String> pTerritoryIdsSave) |
void |
setUser(UserDto pUser) |
checkId, computeCanViewUsers, getAssociatedTerritoryId, getId, hasViewAccess, readDdt, readDepartment, setIdcheckExercise, getChosenExerciseId, getExercise, getExerciseList, setChosenExerciseId, setExercisecheckSessionParams, formatString, getAllUserTypes, getBooleanCriteria, getConnectionTypes, getPagingUser, getSearchUsersInfo, getTrueCriterion, getUserTypes, loadUsers, manageUserPaging, setSearchUsersInfobuildMenu, checkIfUserCanViewDashBoard, checkRight, checkUserRight, checkUserRight, checkUserRight, createMenu, doExecute, doHandleException, doHandleSispeaException, execute, getApplication, getCurrentUser, getCurrentUserTerritory, getFormatDate, getFormatDateOnly, getMenu, getNextPage, getOption, getParameters, getSession, getSispeaSession, getSubmitValue, initSession, isEnglish, isFrench, isSpanish, logException, openMenu, removeSession, setApplication, setMenu, setNextPage, setParameters, setSession, setSubmitValueaddActionError, 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 SearchTerritoryDto searchTerritoryBean
protected PagingDto paging
protected UserDto user
protected List<SearchTerritoryDto> mySearchsTerritorys
protected boolean searchForUser
protected String territoryId
protected String selectionId
protected Integer backPage
public Map<String,String> getSearchTypes()
public Map<String,String> getLotStatusTypes()
protected void loadExerciseList()
throws SispeaException
loadExerciseList in class AbstractExerciseListActionSispeaExceptionpublic Map<String,String> getResultTypes()
public boolean searchingForUserTerritory()
public boolean searchingForNewUserTerritory()
public boolean searchingForSelections()
public boolean searchingForTerritoryOrganism()
public boolean searchingForFillingMultipleSelection()
protected List<SPEADto> buildSPEAListFromTerritoryResult(Collection<TerritoryPairDto> pTerritoryResult, ExerciseDto pExercise) throws SispeaException
SispeaExceptionpublic boolean isUserAdmin()
public Boolean displayDetailsSpea()
public Boolean displayComplementaryTerritory()
protected void loadMySearchsTerritorys()
throws SispeaException
SispeaExceptionpublic List<SearchTerritoryDto> getMySearchsTerritorys()
public void setMySearchsTerritorys(List<SearchTerritoryDto> pMySearchsTerritorys)
public int getSimpleSearchCount()
throws SispeaException
SispeaExceptionpublic int getAdvancedSearchCount()
throws SispeaException
SispeaExceptionpublic String getExerciseYear(Integer pExerciseId) throws SispeaException
SispeaExceptionpublic String getTerritoryId()
public void setTerritoryId(String pTerritoryId)
public SearchTerritoryDto getSearchTerritory()
public UserDto getUser()
public void setUser(UserDto pUser)
public PagingDto getPaging()
public boolean isSearchForUser()
public void setSearchForUser(boolean pSearchForUser)
public Integer getBackPage()
public void setBackPage(Integer pBackPage)
public String getBackPageLabelKey()
public String getSelectionId()
public void setSelectionId(String pSelectionId)
protected Map<Integer,String> computeSpeaLotStatusMap(List<SPEADto> speaList, Integer exerciseId) throws SispeaException
SispeaExceptionCopyright © 2014–2015 eaudefrance. All rights reserved.