public class GrowingSystemServiceImpl extends AbstractAgrosystService implements GrowingSystemService
| Modifier and Type | Field and Description |
|---|---|
protected AnonymizeService |
anonymizeService |
protected BusinessAuthorizationService |
authorizationService |
protected CacheService |
cacheService |
protected DecisionRuleTopiaDao |
decisionRuleDao |
protected GrowingSystemTopiaDao |
growingSystemDao |
protected ManagementModeTopiaDao |
managementModeDao |
protected ManagementModeService |
managementModeService |
protected NetworkTopiaDao |
networkDao |
protected PlotService |
plotService |
protected PracticedSystemTopiaDao |
practicedSystemDao |
protected RefTraitSdCTopiaDao |
refTraitSdCDao |
protected RefTypeAgricultureTopiaDao |
refTypeAgricultureDao |
context__PARANAMER_DATA| Constructor and Description |
|---|
GrowingSystemServiceImpl() |
easyBind, easyBind, easyBindNoDelete, finalize, getConfig, getContext, getPersistenceContext, getSecurityContext, getSecurityContextAsUser, getTransaction, newInstance, setContextprotected PlotService plotService
protected ManagementModeService managementModeService
protected AnonymizeService anonymizeService
protected BusinessAuthorizationService authorizationService
protected CacheService cacheService
protected GrowingSystemTopiaDao growingSystemDao
protected NetworkTopiaDao networkDao
protected DecisionRuleTopiaDao decisionRuleDao
protected ManagementModeTopiaDao managementModeDao
protected RefTypeAgricultureTopiaDao refTypeAgricultureDao
protected PracticedSystemTopiaDao practicedSystemDao
protected RefTraitSdCTopiaDao refTraitSdCDao
public void setPlotService(PlotService plotService)
public void setManagementModeService(ManagementModeService managementModeService)
public void setAnonymizeService(AnonymizeService anonymizeService)
public void setAuthorizationService(BusinessAuthorizationService authorizationService)
public void setCacheService(CacheService cacheService)
public void setGrowingSystemDao(GrowingSystemTopiaDao growingSystemDao)
public void setNetworkDao(NetworkTopiaDao networkDao)
public void setDecisionRuleDao(DecisionRuleTopiaDao decisionRuleDao)
public void setManagementModeDao(ManagementModeTopiaDao managementModeDao)
public void setRefTypeAgricultureDao(RefTypeAgricultureTopiaDao refTypeAgricultureDao)
public void setPracticedSystemDao(PracticedSystemTopiaDao practicedSystemDao)
public void setRefTraitSdCDao(RefTraitSdCTopiaDao refTraitSdCDao)
public ResultList<GrowingSystem> getFilteredGrowingSystems(GrowingSystemFilter filter)
getFilteredGrowingSystems in interface GrowingSystemServicepublic ResultList<GrowingSystemDto> getFilteredGrowingSystemsDto(GrowingSystemFilter filter)
getFilteredGrowingSystemsDto in interface GrowingSystemServicepublic List<GrowingSystemDto> getGrowingSystems(Collection<String> growingSystemIds)
getGrowingSystems in interface GrowingSystemServicepublic GrowingSystem getGrowingSystem(String growingSystemId)
getGrowingSystem in interface GrowingSystemServicepublic GrowingSystem newGrowingSystem()
newGrowingSystem in interface GrowingSystemServicepublic GrowingSystem createOrUpdateGrowingSystem(GrowingSystem growingSystem, List<String> growingSystemNetworkIds, Collection<String> selectedPlotsIds, String typeAgricultureTopiaId, List<String> growingSystemCharacteristicIds)
createOrUpdateGrowingSystem in interface GrowingSystemServiceprotected void addUserAuthorization(String growingSystemId, GrowingSystem result)
protected GrowingSystem createOrUpdateGrowingSystemWithoutCommit(GrowingSystem growingSystem, List<String> growingSystemNetworkIds, Collection<String> selectedPlotsIds, String typeAgricultureId, List<String> growingSystemCharacteristicIds)
public List<GrowingSystem> findAllByGrowingPlan(GrowingPlan growingPlan)
findAllByGrowingPlan in interface GrowingSystemServicepublic GrowingSystem duplicateGrowingSystem(ExtendContext extendContext, GrowingPlan clonedGrowingPlan, GrowingSystem growingSystem)
duplicateGrowingSystem in interface GrowingSystemServicepublic void unactivateGrowingSystems(List<String> growingSystemsIds, boolean activate)
unactivateGrowingSystems in interface GrowingSystemServicepublic List<GrowingSystem> findAllActiveByDomainForPlotEdit(Domain domain)
findAllActiveByDomainForPlotEdit in interface GrowingSystemServicepublic LinkedHashMap<Integer,String> getRelatedGrowingSystems(String growingSystemCode)
getRelatedGrowingSystems in interface GrowingSystemServicepublic long getGrowingSystemsCount(Boolean active)
getGrowingSystemsCount in interface GrowingSystemServicepublic List<GrowingSystem> findAllByNetwork(Network network)
findAllByNetwork in interface GrowingSystemServicepublic GrowingSystem validate(String growingSystemId)
validate in interface GrowingSystemServicepublic List<RefTypeAgriculture> findAllTypeAgricultures()
findAllTypeAgricultures in interface GrowingSystemServicepublic List<PracticedSystem> getPracticedSystems(String growingSystemCode)
getPracticedSystems in interface GrowingSystemServicepublic List<ManagementMode> getManagementModes(String growingSystemId)
getManagementModes in interface GrowingSystemServicepublic List<Integer> getGrowingSystemCampaigns(String growingSystemCode)
getGrowingSystemCampaigns in interface GrowingSystemServicepublic List<GrowingSystem> getAvailableGsForDuplication(String practicedSystemId, NavigationContext navigationContext)
getAvailableGsForDuplication in interface GrowingSystemServicepublic List<GrowingSystem> getGrowingSystemWithNameAndCampaign(String growingSystemName, Integer campaign)
getGrowingSystemWithNameAndCampaign in interface GrowingSystemServicepublic InputStream exportGrowingSystemsAsXlsStream(List<String> growingSystemIds)
exportGrowingSystemsAsXlsStream in interface GrowingSystemServicepublic LinkedHashMap<Integer,List<String>> getGSCodeGPCodeDomainCodeByCampaignForGrowingSystemDephyId(String dephy)
getGSCodeGPCodeDomainCodeByCampaignForGrowingSystemDephyId in interface GrowingSystemServicepublic void importPZ0GrowingSystems(Map<Class,ImportResults> allResults)
importPZ0GrowingSystems in interface GrowingSystemServiceCopyright © 2013–2015 Inra. All rights reserved.