public class GrowingPlanServiceImpl extends AbstractAgrosystService implements GrowingPlanService
| Modifier and Type | Field and Description |
|---|---|
protected AnonymizeService |
anonymizeService |
protected BusinessAuthorizationService |
authorizationService |
protected DomainTopiaDao |
domainDao |
protected GrowingPlanTopiaDao |
growingPlanDao |
protected GrowingSystemTopiaDao |
growingSystemDao |
protected GrowingSystemService |
growingSystemService |
context__PARANAMER_DATA| Constructor and Description |
|---|
GrowingPlanServiceImpl() |
easyBind, easyBind, easyBindNoDelete, finalize, getConfig, getContext, getPersistenceContext, getSecurityContext, getSecurityContextAsUser, getTransaction, newInstance, setContextprotected GrowingSystemService growingSystemService
protected AnonymizeService anonymizeService
protected BusinessAuthorizationService authorizationService
protected GrowingPlanTopiaDao growingPlanDao
protected GrowingSystemTopiaDao growingSystemDao
protected DomainTopiaDao domainDao
public void setGrowingSystemService(GrowingSystemService growingSystemService)
public void setAnonymizeService(AnonymizeService anonymizeService)
public void setAuthorizationService(BusinessAuthorizationService authorizationService)
public void setGrowingSystemDao(GrowingSystemTopiaDao growingSystemDao)
public void setGrowingPlanDao(GrowingPlanTopiaDao growingPlanDao)
public void setDomainDao(DomainTopiaDao domainDao)
public ResultList<GrowingPlan> getFilteredGrowingPlans(GrowingPlanFilter filter)
getFilteredGrowingPlans in interface GrowingPlanServicepublic ResultList<GrowingPlanDto> getFilteredGrowingPlansDto(GrowingPlanFilter filter)
getFilteredGrowingPlansDto in interface GrowingPlanServicepublic void unactivateGrowingPlans(List<String> growingPlanIds, boolean activate)
unactivateGrowingPlans in interface GrowingPlanServicepublic GrowingPlan getGrowingPlan(String growingPlanId)
getGrowingPlan in interface GrowingPlanServicepublic GrowingPlan createOrUpdateGrowingPlan(GrowingPlan growingPlan)
createOrUpdateGrowingPlan in interface GrowingPlanServiceprotected void addUserAuthorization(String growingPlanId, GrowingPlan result)
protected GrowingPlan createOrUpdateGrowingPlanWithoutCommit(GrowingPlan growingPlan)
public GrowingPlan newGrowingPlan()
newGrowingPlan in interface GrowingPlanServicepublic List<GrowingPlan> findAllByDomain(Domain domain)
findAllByDomain in interface GrowingPlanServicepublic GrowingPlan duplicateGrowingPlan(String growingPlanId, String duplicateDomainId, boolean duplicateGrowingSystems)
duplicateGrowingPlan in interface GrowingPlanServicepublic GrowingPlan duplicateGrowingPlan(ExtendContext extendContext, Domain clonedDomain, GrowingPlan growingPlan, boolean duplicateGrowingSystems)
duplicateGrowingPlan in interface GrowingPlanServicepublic LinkedHashMap<Integer,String> getRelatedGrowingPlans(String growingPlanCode)
getRelatedGrowingPlans in interface GrowingPlanServicepublic long getGrowingPlansCount(Boolean active)
getGrowingPlansCount in interface GrowingPlanServicepublic GrowingPlan validateAndCommit(String growingPlanId)
validateAndCommit in interface GrowingPlanServicepublic List<GrowingSystem> getGrowingPlanGrowingSystems(String growingPlanId)
getGrowingPlanGrowingSystems in interface GrowingPlanServicepublic List<GrowingPlan> getGrowingPlanWithName(String growingPlanName)
getGrowingPlanWithName in interface GrowingPlanServicepublic InputStream exportGrowingPlanAsXlsStream(List<String> growingPlanIds)
exportGrowingPlanAsXlsStream in interface GrowingPlanServicepublic void importGrowingPlanForXlsStream(InputStream is)
importGrowingPlanForXlsStream in interface GrowingPlanServicepublic void importPZ0GrowingPlans(Map<Class,ImportResults> allResults)
importPZ0GrowingPlans in interface GrowingPlanServiceCopyright © 2013–2015 Inra. All rights reserved.