Skip to content

Instantly share code, notes, and snippets.

@SinTeZWh1te
Last active February 28, 2024 08:19
Show Gist options
  • Save SinTeZWh1te/d05c36dcf079224b0e926e3e90612057 to your computer and use it in GitHub Desktop.
Save SinTeZWh1te/d05c36dcf079224b0e926e3e90612057 to your computer and use it in GitHub Desktop.
package ru.test.bgbilling.kernel.services;
import jakarta.jws.WebService;
import jakarta.xml.ws.Holder;
import ru.bitel.bgbilling.common.BGException;
import ru.bitel.bgbilling.kernel.contract.api.common.bean.Contract;
import ru.bitel.bgbilling.kernel.contract.api.common.service.ContractService;
import ru.bitel.bgbilling.kernel.contract.api.server.service.ContractServiceImpl;
import ru.bitel.common.model.Page;
import ru.bitel.oss.kernel.entity.common.bean.filter.FilterEntityAttr;
import java.util.List;
import java.util.Set;
@WebService(endpointInterface = "ru.bitel.bgbilling.kernel.contract.api.common.service.ContractService")
public class CustomContractServiceImpl
extends ContractServiceImpl
implements ContractService {
@Override
public List<Contract> contractList0(int contractId, String title, String comment, int fc, Set<Integer> labelsIds, List<FilterEntityAttr> entityFilter, boolean subContracts, boolean closed, boolean hidden, Holder<Page> pageHolder, boolean inAllLabels) throws BGException {
return super.contractList0(contractId, "^" + title + "$", comment, fc, labelsIds, entityFilter, subContracts, closed, hidden, pageHolder, inAllLabels);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment