public class NomenclatureLinkService
extends java.lang.Object
| Constructor and Description |
|---|
NomenclatureLinkService(NomenclatureLinkDao dao,
ru.ufanet.tmc.EquipmentDAO eqDao) |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteGroupRule(int groupId) |
void |
deleteNomenclatureLink(int nomenclatureId) |
void |
getLinks(SearchResult<NomenclatureLink> searchResult,
java.lang.String nomenclatureId) |
java.util.List<NomenclatureLink> |
getLinksAsList(java.lang.String nomenclatureId) |
RentCost |
getRentCost(StorageLeftoverMoving tmc,
int contractID,
int cityId) |
java.util.List<RentCost> |
getRentCosts(java.util.List<? extends StorageLeftover> tmcList,
int contractID)
Получение цен аренды (абонплаты) для списка номенклатур.
|
void |
getRuleGroups(SearchResult<RuleGroup> searchResult) |
JsonNode |
getRules() |
java.util.List<Service> |
getServices() |
java.util.List<StorageLeftover> |
searchNomenclature(java.lang.String search) |
NomenclatureLink |
updateLink(NomenclatureLink link) |
RuleGroup |
updateRuleGroup(RuleGroup group) |
public NomenclatureLinkService(NomenclatureLinkDao dao, ru.ufanet.tmc.EquipmentDAO eqDao)
public java.util.List<StorageLeftover> searchNomenclature(java.lang.String search)
public java.util.List<NomenclatureLink> getLinksAsList(java.lang.String nomenclatureId) throws BGException
BGExceptionpublic void getLinks(SearchResult<NomenclatureLink> searchResult, java.lang.String nomenclatureId) throws BGException
BGExceptionpublic void getRuleGroups(SearchResult<RuleGroup> searchResult) throws BGException
BGExceptionpublic NomenclatureLink updateLink(NomenclatureLink link) throws BGException
BGExceptionpublic RuleGroup updateRuleGroup(RuleGroup group) throws BGException
BGExceptionpublic void deleteNomenclatureLink(int nomenclatureId)
throws BGException
BGExceptionpublic void deleteGroupRule(int groupId)
throws BGException
BGExceptionpublic java.util.List<Service> getServices() throws BGException
BGExceptionpublic java.util.List<RentCost> getRentCosts(java.util.List<? extends StorageLeftover> tmcList, int contractID)
tmcList - - список номенклатур для определения цен за аренту (абонплата)contractID - - договор по тарифу которого определяется абонплатаpublic RentCost getRentCost(StorageLeftoverMoving tmc, int contractID, int cityId)
public JsonNode getRules()
throws BGException
BGException