Package overit.geocall.platform
Class CompanyService
java.lang.Object
overit.geocall.platform.CompanyService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancompanyExists(Company company) Checks if the provided company exists and is active.Retrieves the list of active companies.getCompanies(Predicate<Company> filter) Retrieves the list of active companies that match the provided filter.
-
Constructor Details
-
CompanyService
public CompanyService()
-
-
Method Details
-
getCompanies
Retrieves the list of active companies.- Returns:
- the list of active companies
-
getCompanies
Retrieves the list of active companies that match the provided filter.- Parameters:
filter- the filter to apply- Returns:
- the list of companies that match the provided filter
-
companyExists
Checks if the provided company exists and is active.- Parameters:
company- the company to check- Returns:
- true if the company exists and is active, false otherwise
-