@Transactional(readOnly=true) public abstract class AbstractLicenseService<T extends License> extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
ARREAR |
protected org.egov.eis.service.AssignmentService |
assignmentService |
protected org.egov.demand.dao.DemandGenericHibDao |
demandGenericDao |
protected DocumentTypeService |
documentTypeService |
protected org.egov.infstr.services.PersistenceService |
entityQueryService |
protected FeeMatrixService<License> |
feeMatrixService |
protected org.egov.infra.filestore.service.FileStoreService |
fileStoreService |
protected org.egov.commons.dao.InstallmentHibDao |
installmentDao |
protected LicenseApplicationIndexService |
licenseApplicationIndexService |
protected LicenseAppTypeService |
licenseAppTypeService |
protected LicenseDocumentTypeRepository |
licenseDocumentTypeRepository |
protected LicenseNumberUtils |
licenseNumberUtils |
protected LicenseRepository |
licenseRepository |
protected LicenseStatusService |
licenseStatusService |
protected org.egov.infra.workflow.service.SimpleWorkflowService<T> |
licenseWorkflowService |
protected NatureOfBusinessService |
natureOfBusinessService |
protected org.egov.eis.service.PositionMasterService |
positionMasterService |
protected org.egov.infra.security.utils.SecurityUtils |
securityUtils |
protected ValidityService |
validityService |
| Constructor and Description |
|---|
AbstractLicenseService() |
| Modifier and Type | Method and Description |
|---|---|
BigDecimal |
calculateFeeAmount(License license) |
void |
cancelLicenseWorkflow(T license,
WorkflowBean workflowBean) |
boolean |
checkOldLicenseNumberIsDuplicated(T t) |
void |
create(T license,
WorkflowBean workflowBean) |
void |
createLegacyLicense(T license,
Map<Integer,Integer> legacyInstallmentwiseFees,
Map<Integer,Boolean> legacyFeePayStatus) |
List<License> |
getAllLicensesByNatureOfBusiness(String natureOfBusiness) |
List<NatureOfBusiness> |
getAllNatureOfBusinesses() |
List<LicenseDocumentType> |
getDocumentTypesByApplicationType(ApplicationType applicationType) |
List<org.egov.commons.Installment> |
getLastFiveYearInstallmentsForLicense() |
protected abstract LicenseAppType |
getLicenseApplicationType() |
protected abstract LicenseAppType |
getLicenseApplicationTypeForRenew() |
T |
getLicenseByApplicationNumber(String applicationNumber) |
T |
getLicenseById(Long id) |
T |
getLicenseByLicenseNumber(String licenseNumber) |
protected abstract org.egov.infra.admin.master.entity.Module |
getModuleName() |
protected abstract NatureOfBusiness |
getNatureOfBusiness() |
Map<String,Map<String,BigDecimal>> |
getOutstandingFee(T license) |
Map<String,Map<String,BigDecimal>> |
getOutstandingFeeForDemandNotice(TradeLicense license,
org.egov.commons.Installment currentInstallment,
org.egov.commons.Installment previousInstallment)
This method will return arrears, current tax and penalty on arrears tax.
|
Map<org.egov.demand.model.EgDemandReason,org.egov.demand.model.EgDemandDetails> |
getReasonWiseDemandDetails(org.egov.demand.model.EgDemand currentDemand) |
protected org.egov.pims.commons.Position |
getWorkflowInitiator(T license) |
void |
processAndStoreDocument(List<LicenseDocument> documents,
License license) |
void |
raiseDemand(T licenze,
org.egov.infra.admin.master.entity.Module module,
org.egov.commons.Installment installment) |
void |
recalculateBaseDemand(LicenseDemand licenseDemand) |
void |
recalculateDemand(List<FeeMatrixDetail> feeList,
T license) |
BigDecimal |
recalculateLicenseFee(LicenseDemand licenseDemand) |
void |
renew(T license,
WorkflowBean workflowBean) |
void |
save(License license) |
protected abstract void |
sendEmailAndSMS(T license,
String currentAction) |
void |
setLicenseWorkflowService(org.egov.infra.workflow.service.SimpleWorkflowService<T> licenseWorkflowService) |
void |
transitionWorkFlow(T license,
WorkflowBean workflowBean) |
License |
updateDemandForChangeTradeArea(T license) |
void |
updateLegacyLicense(T license,
Map<Integer,Integer> updatedInstallmentFees,
Map<Integer,Boolean> legacyFeePayStatus) |
public static final String ARREAR
@Autowired @Qualifier(value="entityQueryService") protected org.egov.infstr.services.PersistenceService entityQueryService
@Autowired protected org.egov.commons.dao.InstallmentHibDao installmentDao
@Autowired protected LicenseNumberUtils licenseNumberUtils
@Autowired protected DocumentTypeService documentTypeService
@Autowired protected org.egov.eis.service.AssignmentService assignmentService
@Autowired protected org.egov.infra.filestore.service.FileStoreService fileStoreService
@Autowired protected FeeMatrixService<License> feeMatrixService
@Autowired protected LicenseDocumentTypeRepository licenseDocumentTypeRepository
@Autowired protected LicenseApplicationIndexService licenseApplicationIndexService
@Autowired protected org.egov.infra.security.utils.SecurityUtils securityUtils
@Autowired protected org.egov.demand.dao.DemandGenericHibDao demandGenericDao
@Autowired protected ValidityService validityService
protected org.egov.infra.workflow.service.SimpleWorkflowService<T extends License> licenseWorkflowService
@Autowired protected LicenseRepository licenseRepository
@Autowired protected LicenseStatusService licenseStatusService
@Autowired protected LicenseAppTypeService licenseAppTypeService
@Autowired protected org.egov.eis.service.PositionMasterService positionMasterService
@Autowired protected NatureOfBusinessService natureOfBusinessService
protected abstract LicenseAppType getLicenseApplicationTypeForRenew()
protected abstract LicenseAppType getLicenseApplicationType()
protected abstract org.egov.infra.admin.master.entity.Module getModuleName()
protected abstract NatureOfBusiness getNatureOfBusiness()
public void setLicenseWorkflowService(org.egov.infra.workflow.service.SimpleWorkflowService<T> licenseWorkflowService)
@Transactional public void create(T license, WorkflowBean workflowBean)
@Transactional public void recalculateDemand(List<FeeMatrixDetail> feeList, T license)
@Transactional public void createLegacyLicense(T license, Map<Integer,Integer> legacyInstallmentwiseFees, Map<Integer,Boolean> legacyFeePayStatus)
@Transactional public void updateLegacyLicense(T license, Map<Integer,Integer> updatedInstallmentFees, Map<Integer,Boolean> legacyFeePayStatus)
public void recalculateBaseDemand(LicenseDemand licenseDemand)
@Transactional public void renew(T license, WorkflowBean workflowBean)
@Transactional(propagation=REQUIRES_NEW) public void raiseDemand(T licenze, org.egov.infra.admin.master.entity.Module module, org.egov.commons.Installment installment)
public Map<org.egov.demand.model.EgDemandReason,org.egov.demand.model.EgDemandDetails> getReasonWiseDemandDetails(org.egov.demand.model.EgDemand currentDemand)
@Transactional public void transitionWorkFlow(T license, WorkflowBean workflowBean)
protected org.egov.pims.commons.Position getWorkflowInitiator(T license)
@Transactional public void processAndStoreDocument(List<LicenseDocument> documents, License license)
public List<LicenseDocumentType> getDocumentTypesByApplicationType(ApplicationType applicationType)
public List<NatureOfBusiness> getAllNatureOfBusinesses()
public List<org.egov.commons.Installment> getLastFiveYearInstallmentsForLicense()
public Map<String,Map<String,BigDecimal>> getOutstandingFeeForDemandNotice(TradeLicense license, org.egov.commons.Installment currentInstallment, org.egov.commons.Installment previousInstallment)
license - currentInstallment - previousInstallment - public List<License> getAllLicensesByNatureOfBusiness(String natureOfBusiness)
@Transactional public void save(License license)
public BigDecimal calculateFeeAmount(License license)
public BigDecimal recalculateLicenseFee(LicenseDemand licenseDemand)
@Transactional public void cancelLicenseWorkflow(T license, WorkflowBean workflowBean)
public boolean checkOldLicenseNumberIsDuplicated(T t)
Copyright © 2015–2017 eGovernments Foundation. All rights reserved.