Package ru.bgcrm.plugin.ufanet.util
Class ProcessLinkedObjectsUseCase
java.lang.Object
ru.bgcrm.plugin.ufanet.util.ProcessLinkedObjectsUseCase
12.10.17 by E.Baiburin
Общие полезные методы связанные с привязанными к процессу объектами
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddLink(CommonObjectLink commonObjectLink) getCommonContract(int processId) intgetCommonContractId(int processId) getContractLinkList(int processId) getCustomer(int processId) intgetCustomerId(int processId) getCustomerLinkList(int processId) getLinkedProcesses(int processId) getLinkedProcesses(int processId, Set<Integer> typeIds, Set<Integer> statusIds)
-
Constructor Details
-
ProcessLinkedObjectsUseCase
-
-
Method Details
-
getCustomerId
- Throws:
BGException
-
getCommonContractId
- Throws:
BGException
-
getCommonContract
- Throws:
BGException
-
getCustomerLinkList
- Throws:
BGException
-
getCustomer
- Throws:
BGException
-
addLink
- Throws:
BGException
-
getContractLinkList
public List<ProcessLinkedObjectsUseCase.ContractLink> getContractLinkList(int processId) throws BGException - Throws:
BGException
-
convertLinkToContract
-
getLinkedProcessList
public List<Process> getLinkedProcessList(String objectType, int objectId, Set<Integer> typeIds, Set<Integer> statusIds) throws BGException - Throws:
BGException
-
getLinkedProcesses
- Throws:
BGException
-
getLinkedProcesses
public List<Process> getLinkedProcesses(int processId, Set<Integer> typeIds, Set<Integer> statusIds) throws BGException - Throws:
BGException
-