Interface CountryPersistence
- All Superinterfaces:
BasePersistence<Country>,CTPersistence<Country>
Caching information and settings can be found in portal.properties
- Author:
- Brian Wing Shun Chan
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoidcacheResult(Country country) Caches the country in the entity cache if it is enabled.voidcacheResult(List<Country> countries) Caches the countries in the entity cache if it is enabled.intcountAll()Returns the number of countries.intcountByActive(boolean active) Returns the number of countries where active = ?.intcountByC_A_B(long companyId, boolean active, boolean billingAllowed) Returns the number of countries where companyId = ? and active = ? and billingAllowed = ?.intcountByC_A_B_G(long countryId, boolean active, boolean billingAllowed, boolean groupFilterEnabled) Returns the number of countries where countryId = ? and active = ? and billingAllowed = ? and groupFilterEnabled = ?.intcountByC_A_B_G_S(long countryId, boolean active, boolean billingAllowed, boolean groupFilterEnabled, boolean shippingAllowed) Returns the number of countries where countryId = ? and active = ? and billingAllowed = ? and groupFilterEnabled = ? and shippingAllowed = ?.intcountByC_A_G_S(long countryId, boolean active, boolean groupFilterEnabled, boolean shippingAllowed) Returns the number of countries where countryId = ? and active = ? and groupFilterEnabled = ? and shippingAllowed = ?.intcountByC_A_S(long companyId, boolean active, boolean shippingAllowed) Returns the number of countries where companyId = ? and active = ? and shippingAllowed = ?.intcountByC_A2(long companyId, String a2) Returns the number of countries where companyId = ? and a2 = ?.intcountByC_A3(long companyId, String a3) Returns the number of countries where companyId = ? and a3 = ?.intcountByC_Active(long companyId, boolean active) Returns the number of countries where companyId = ? and active = ?.intcountByC_Name(long companyId, String name) Returns the number of countries where companyId = ? and name = ?.intcountByC_Number(long companyId, String number) Returns the number of countries where companyId = ? and number = ?.intcountByCompanyId(long companyId) Returns the number of countries where companyId = ?.intcountByUuid(String uuid) Returns the number of countries where uuid = ?.intcountByUuid_C(String uuid, long companyId) Returns the number of countries where uuid = ? and companyId = ?.create(long countryId) Creates a new country with the primary key.fetchByActive_First(boolean active, OrderByComparator<Country> orderByComparator) Returns the first country in the ordered set where active = ?.fetchByC_A_B_First(long companyId, boolean active, boolean billingAllowed, OrderByComparator<Country> orderByComparator) Returns the first country in the ordered set where companyId = ? and active = ? and billingAllowed = ?.fetchByC_A_B_G_First(long countryId, boolean active, boolean billingAllowed, boolean groupFilterEnabled, OrderByComparator<Country> orderByComparator) Returns the first country in the ordered set where countryId = ? and active = ? and billingAllowed = ? and groupFilterEnabled = ?.fetchByC_A_B_G_S_First(long countryId, boolean active, boolean billingAllowed, boolean groupFilterEnabled, boolean shippingAllowed, OrderByComparator<Country> orderByComparator) Returns the first country in the ordered set where countryId = ? and active = ? and billingAllowed = ? and groupFilterEnabled = ? and shippingAllowed = ?.fetchByC_A_G_S_First(long countryId, boolean active, boolean groupFilterEnabled, boolean shippingAllowed, OrderByComparator<Country> orderByComparator) Returns the first country in the ordered set where countryId = ? and active = ? and groupFilterEnabled = ? and shippingAllowed = ?.fetchByC_A_S_First(long companyId, boolean active, boolean shippingAllowed, OrderByComparator<Country> orderByComparator) Returns the first country in the ordered set where companyId = ? and active = ? and shippingAllowed = ?.fetchByC_A2(long companyId, String a2) Returns the country where companyId = ? and a2 = ? or returnsnullif it could not be found.fetchByC_A2(long companyId, String a2, boolean useFinderCache) Returns the country where companyId = ? and a2 = ? or returnsnullif it could not be found, optionally using the finder cache.fetchByC_A3(long companyId, String a3) Returns the country where companyId = ? and a3 = ? or returnsnullif it could not be found.fetchByC_A3(long companyId, String a3, boolean useFinderCache) Returns the country where companyId = ? and a3 = ? or returnsnullif it could not be found, optionally using the finder cache.fetchByC_Active_First(long companyId, boolean active, OrderByComparator<Country> orderByComparator) Returns the first country in the ordered set where companyId = ? and active = ?.fetchByC_Name(long companyId, String name) Returns the country where companyId = ? and name = ? or returnsnullif it could not be found.fetchByC_Name(long companyId, String name, boolean useFinderCache) Returns the country where companyId = ? and name = ? or returnsnullif it could not be found, optionally using the finder cache.fetchByC_Number(long companyId, String number) Returns the country where companyId = ? and number = ? or returnsnullif it could not be found.fetchByC_Number(long companyId, String number, boolean useFinderCache) Returns the country where companyId = ? and number = ? or returnsnullif it could not be found, optionally using the finder cache.fetchByCompanyId_First(long companyId, OrderByComparator<Country> orderByComparator) Returns the first country in the ordered set where companyId = ?.fetchByPrimaryKey(long countryId) Returns the country with the primary key or returnsnullif it could not be found.fetchByUuid_C_First(String uuid, long companyId, OrderByComparator<Country> orderByComparator) Returns the first country in the ordered set where uuid = ? and companyId = ?.fetchByUuid_First(String uuid, OrderByComparator<Country> orderByComparator) Returns the first country in the ordered set where uuid = ?.intfilterCountByActive(boolean active) Returns the number of countries that the user has permission to view where active = ?.intfilterCountByC_A_B(long companyId, boolean active, boolean billingAllowed) Returns the number of countries that the user has permission to view where companyId = ? and active = ? and billingAllowed = ?.intfilterCountByC_A_B_G(long countryId, boolean active, boolean billingAllowed, boolean groupFilterEnabled) Returns the number of countries that the user has permission to view where countryId = ? and active = ? and billingAllowed = ? and groupFilterEnabled = ?.intfilterCountByC_A_B_G_S(long countryId, boolean active, boolean billingAllowed, boolean groupFilterEnabled, boolean shippingAllowed) Returns the number of countries that the user has permission to view where countryId = ? and active = ? and billingAllowed = ? and groupFilterEnabled = ? and shippingAllowed = ?.intfilterCountByC_A_G_S(long countryId, boolean active, boolean groupFilterEnabled, boolean shippingAllowed) Returns the number of countries that the user has permission to view where countryId = ? and active = ? and groupFilterEnabled = ? and shippingAllowed = ?.intfilterCountByC_A_S(long companyId, boolean active, boolean shippingAllowed) Returns the number of countries that the user has permission to view where companyId = ? and active = ? and shippingAllowed = ?.intfilterCountByC_Active(long companyId, boolean active) Returns the number of countries that the user has permission to view where companyId = ? and active = ?.intfilterCountByCompanyId(long companyId) Returns the number of countries that the user has permission to view where companyId = ?.intfilterCountByUuid(String uuid) Returns the number of countries that the user has permission to view where uuid = ?.intfilterCountByUuid_C(String uuid, long companyId) Returns the number of countries that the user has permission to view where uuid = ? and companyId = ?.filterFindByActive(boolean active) Returns all the countries that the user has permission to view where active = ?.filterFindByActive(boolean active, int start, int end) Returns a range of all the countries that the user has permission to view where active = ?.filterFindByActive(boolean active, int start, int end, OrderByComparator<Country> orderByComparator) Returns an ordered range of all the countries that the user has permissions to view where active = ?.filterFindByC_A_B(long companyId, boolean active, boolean billingAllowed) Returns all the countries that the user has permission to view where companyId = ? and active = ? and billingAllowed = ?.filterFindByC_A_B(long companyId, boolean active, boolean billingAllowed, int start, int end) Returns a range of all the countries that the user has permission to view where companyId = ? and active = ? and billingAllowed = ?.filterFindByC_A_B(long companyId, boolean active, boolean billingAllowed, int start, int end, OrderByComparator<Country> orderByComparator) Returns an ordered range of all the countries that the user has permissions to view where companyId = ? and active = ? and billingAllowed = ?.filterFindByC_A_B_G(long countryId, boolean active, boolean billingAllowed, boolean groupFilterEnabled) Returns all the countries that the user has permission to view where countryId = ? and active = ? and billingAllowed = ? and groupFilterEnabled = ?.filterFindByC_A_B_G(long countryId, boolean active, boolean billingAllowed, boolean groupFilterEnabled, int start, int end) Returns a range of all the countries that the user has permission to view where countryId = ? and active = ? and billingAllowed = ? and groupFilterEnabled = ?.filterFindByC_A_B_G(long countryId, boolean active, boolean billingAllowed, boolean groupFilterEnabled, int start, int end, OrderByComparator<Country> orderByComparator) Returns an ordered range of all the countries that the user has permissions to view where countryId = ? and active = ? and billingAllowed = ? and groupFilterEnabled = ?.filterFindByC_A_B_G_S(long countryId, boolean active, boolean billingAllowed, boolean groupFilterEnabled, boolean shippingAllowed) Returns all the countries that the user has permission to view where countryId = ? and active = ? and billingAllowed = ? and groupFilterEnabled = ? and shippingAllowed = ?.filterFindByC_A_B_G_S(long countryId, boolean active, boolean billingAllowed, boolean groupFilterEnabled, boolean shippingAllowed, int start, int end) Returns a range of all the countries that the user has permission to view where countryId = ? and active = ? and billingAllowed = ? and groupFilterEnabled = ? and shippingAllowed = ?.filterFindByC_A_B_G_S(long countryId, boolean active, boolean billingAllowed, boolean groupFilterEnabled, boolean shippingAllowed, int start, int end, OrderByComparator<Country> orderByComparator) Returns an ordered range of all the countries that the user has permissions to view where countryId = ? and active = ? and billingAllowed = ? and groupFilterEnabled = ? and shippingAllowed = ?.filterFindByC_A_G_S(long countryId, boolean active, boolean groupFilterEnabled, boolean shippingAllowed) Returns all the countries that the user has permission to view where countryId = ? and active = ? and groupFilterEnabled = ? and shippingAllowed = ?.filterFindByC_A_G_S(long countryId, boolean active, boolean groupFilterEnabled, boolean shippingAllowed, int start, int end) Returns a range of all the countries that the user has permission to view where countryId = ? and active = ? and groupFilterEnabled = ? and shippingAllowed = ?.filterFindByC_A_G_S(long countryId, boolean active, boolean groupFilterEnabled, boolean shippingAllowed, int start, int end, OrderByComparator<Country> orderByComparator) Returns an ordered range of all the countries that the user has permissions to view where countryId = ? and active = ? and groupFilterEnabled = ? and shippingAllowed = ?.filterFindByC_A_S(long companyId, boolean active, boolean shippingAllowed) Returns all the countries that the user has permission to view where companyId = ? and active = ? and shippingAllowed = ?.filterFindByC_A_S(long companyId, boolean active, boolean shippingAllowed, int start, int end) Returns a range of all the countries that the user has permission to view where companyId = ? and active = ? and shippingAllowed = ?.filterFindByC_A_S(long companyId, boolean active, boolean shippingAllowed, int start, int end, OrderByComparator<Country> orderByComparator) Returns an ordered range of all the countries that the user has permissions to view where companyId = ? and active = ? and shippingAllowed = ?.filterFindByC_Active(long companyId, boolean active) Returns all the countries that the user has permission to view where companyId = ? and active = ?.filterFindByC_Active(long companyId, boolean active, int start, int end) Returns a range of all the countries that the user has permission to view where companyId = ? and active = ?.filterFindByC_Active(long companyId, boolean active, int start, int end, OrderByComparator<Country> orderByComparator) Returns an ordered range of all the countries that the user has permissions to view where companyId = ? and active = ?.filterFindByCompanyId(long companyId) Returns all the countries that the user has permission to view where companyId = ?.filterFindByCompanyId(long companyId, int start, int end) Returns a range of all the countries that the user has permission to view where companyId = ?.filterFindByCompanyId(long companyId, int start, int end, OrderByComparator<Country> orderByComparator) Returns an ordered range of all the countries that the user has permissions to view where companyId = ?.filterFindByUuid(String uuid) Returns all the countries that the user has permission to view where uuid = ?.filterFindByUuid(String uuid, int start, int end) Returns a range of all the countries that the user has permission to view where uuid = ?.filterFindByUuid(String uuid, int start, int end, OrderByComparator<Country> orderByComparator) Returns an ordered range of all the countries that the user has permissions to view where uuid = ?.filterFindByUuid_C(String uuid, long companyId) Returns all the countries that the user has permission to view where uuid = ? and companyId = ?.filterFindByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the countries that the user has permission to view where uuid = ? and companyId = ?.filterFindByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<Country> orderByComparator) Returns an ordered range of all the countries that the user has permissions to view where uuid = ? and companyId = ?.findAll()Returns all the countries.findAll(int start, int end) Returns a range of all the countries.findAll(int start, int end, OrderByComparator<Country> orderByComparator) Returns an ordered range of all the countries.findAll(int start, int end, OrderByComparator<Country> orderByComparator, boolean useFinderCache) Returns an ordered range of all the countries.findByActive(boolean active) Returns all the countries where active = ?.findByActive(boolean active, int start, int end) Returns a range of all the countries where active = ?.findByActive(boolean active, int start, int end, OrderByComparator<Country> orderByComparator) Returns an ordered range of all the countries where active = ?.findByActive(boolean active, int start, int end, OrderByComparator<Country> orderByComparator, boolean useFinderCache) Returns an ordered range of all the countries where active = ?.findByActive_First(boolean active, OrderByComparator<Country> orderByComparator) Returns the first country in the ordered set where active = ?.findByC_A_B(long companyId, boolean active, boolean billingAllowed) Returns all the countries where companyId = ? and active = ? and billingAllowed = ?.findByC_A_B(long companyId, boolean active, boolean billingAllowed, int start, int end) Returns a range of all the countries where companyId = ? and active = ? and billingAllowed = ?.findByC_A_B(long companyId, boolean active, boolean billingAllowed, int start, int end, OrderByComparator<Country> orderByComparator) Returns an ordered range of all the countries where companyId = ? and active = ? and billingAllowed = ?.findByC_A_B(long companyId, boolean active, boolean billingAllowed, int start, int end, OrderByComparator<Country> orderByComparator, boolean useFinderCache) Returns an ordered range of all the countries where companyId = ? and active = ? and billingAllowed = ?.findByC_A_B_First(long companyId, boolean active, boolean billingAllowed, OrderByComparator<Country> orderByComparator) Returns the first country in the ordered set where companyId = ? and active = ? and billingAllowed = ?.findByC_A_B_G(long countryId, boolean active, boolean billingAllowed, boolean groupFilterEnabled) Returns all the countries where countryId = ? and active = ? and billingAllowed = ? and groupFilterEnabled = ?.findByC_A_B_G(long countryId, boolean active, boolean billingAllowed, boolean groupFilterEnabled, int start, int end) Returns a range of all the countries where countryId = ? and active = ? and billingAllowed = ? and groupFilterEnabled = ?.findByC_A_B_G(long countryId, boolean active, boolean billingAllowed, boolean groupFilterEnabled, int start, int end, OrderByComparator<Country> orderByComparator) Returns an ordered range of all the countries where countryId = ? and active = ? and billingAllowed = ? and groupFilterEnabled = ?.findByC_A_B_G(long countryId, boolean active, boolean billingAllowed, boolean groupFilterEnabled, int start, int end, OrderByComparator<Country> orderByComparator, boolean useFinderCache) Returns an ordered range of all the countries where countryId = ? and active = ? and billingAllowed = ? and groupFilterEnabled = ?.findByC_A_B_G_First(long countryId, boolean active, boolean billingAllowed, boolean groupFilterEnabled, OrderByComparator<Country> orderByComparator) Returns the first country in the ordered set where countryId = ? and active = ? and billingAllowed = ? and groupFilterEnabled = ?.findByC_A_B_G_S(long countryId, boolean active, boolean billingAllowed, boolean groupFilterEnabled, boolean shippingAllowed) Returns all the countries where countryId = ? and active = ? and billingAllowed = ? and groupFilterEnabled = ? and shippingAllowed = ?.findByC_A_B_G_S(long countryId, boolean active, boolean billingAllowed, boolean groupFilterEnabled, boolean shippingAllowed, int start, int end) Returns a range of all the countries where countryId = ? and active = ? and billingAllowed = ? and groupFilterEnabled = ? and shippingAllowed = ?.findByC_A_B_G_S(long countryId, boolean active, boolean billingAllowed, boolean groupFilterEnabled, boolean shippingAllowed, int start, int end, OrderByComparator<Country> orderByComparator) Returns an ordered range of all the countries where countryId = ? and active = ? and billingAllowed = ? and groupFilterEnabled = ? and shippingAllowed = ?.findByC_A_B_G_S(long countryId, boolean active, boolean billingAllowed, boolean groupFilterEnabled, boolean shippingAllowed, int start, int end, OrderByComparator<Country> orderByComparator, boolean useFinderCache) Returns an ordered range of all the countries where countryId = ? and active = ? and billingAllowed = ? and groupFilterEnabled = ? and shippingAllowed = ?.findByC_A_B_G_S_First(long countryId, boolean active, boolean billingAllowed, boolean groupFilterEnabled, boolean shippingAllowed, OrderByComparator<Country> orderByComparator) Returns the first country in the ordered set where countryId = ? and active = ? and billingAllowed = ? and groupFilterEnabled = ? and shippingAllowed = ?.findByC_A_G_S(long countryId, boolean active, boolean groupFilterEnabled, boolean shippingAllowed) Returns all the countries where countryId = ? and active = ? and groupFilterEnabled = ? and shippingAllowed = ?.findByC_A_G_S(long countryId, boolean active, boolean groupFilterEnabled, boolean shippingAllowed, int start, int end) Returns a range of all the countries where countryId = ? and active = ? and groupFilterEnabled = ? and shippingAllowed = ?.findByC_A_G_S(long countryId, boolean active, boolean groupFilterEnabled, boolean shippingAllowed, int start, int end, OrderByComparator<Country> orderByComparator) Returns an ordered range of all the countries where countryId = ? and active = ? and groupFilterEnabled = ? and shippingAllowed = ?.findByC_A_G_S(long countryId, boolean active, boolean groupFilterEnabled, boolean shippingAllowed, int start, int end, OrderByComparator<Country> orderByComparator, boolean useFinderCache) Returns an ordered range of all the countries where countryId = ? and active = ? and groupFilterEnabled = ? and shippingAllowed = ?.findByC_A_G_S_First(long countryId, boolean active, boolean groupFilterEnabled, boolean shippingAllowed, OrderByComparator<Country> orderByComparator) Returns the first country in the ordered set where countryId = ? and active = ? and groupFilterEnabled = ? and shippingAllowed = ?.findByC_A_S(long companyId, boolean active, boolean shippingAllowed) Returns all the countries where companyId = ? and active = ? and shippingAllowed = ?.findByC_A_S(long companyId, boolean active, boolean shippingAllowed, int start, int end) Returns a range of all the countries where companyId = ? and active = ? and shippingAllowed = ?.findByC_A_S(long companyId, boolean active, boolean shippingAllowed, int start, int end, OrderByComparator<Country> orderByComparator) Returns an ordered range of all the countries where companyId = ? and active = ? and shippingAllowed = ?.findByC_A_S(long companyId, boolean active, boolean shippingAllowed, int start, int end, OrderByComparator<Country> orderByComparator, boolean useFinderCache) Returns an ordered range of all the countries where companyId = ? and active = ? and shippingAllowed = ?.findByC_A_S_First(long companyId, boolean active, boolean shippingAllowed, OrderByComparator<Country> orderByComparator) Returns the first country in the ordered set where companyId = ? and active = ? and shippingAllowed = ?.findByC_A2(long companyId, String a2) Returns the country where companyId = ? and a2 = ? or throws aNoSuchCountryExceptionif it could not be found.findByC_A3(long companyId, String a3) Returns the country where companyId = ? and a3 = ? or throws aNoSuchCountryExceptionif it could not be found.findByC_Active(long companyId, boolean active) Returns all the countries where companyId = ? and active = ?.findByC_Active(long companyId, boolean active, int start, int end) Returns a range of all the countries where companyId = ? and active = ?.findByC_Active(long companyId, boolean active, int start, int end, OrderByComparator<Country> orderByComparator) Returns an ordered range of all the countries where companyId = ? and active = ?.findByC_Active(long companyId, boolean active, int start, int end, OrderByComparator<Country> orderByComparator, boolean useFinderCache) Returns an ordered range of all the countries where companyId = ? and active = ?.findByC_Active_First(long companyId, boolean active, OrderByComparator<Country> orderByComparator) Returns the first country in the ordered set where companyId = ? and active = ?.findByC_Name(long companyId, String name) Returns the country where companyId = ? and name = ? or throws aNoSuchCountryExceptionif it could not be found.findByC_Number(long companyId, String number) Returns the country where companyId = ? and number = ? or throws aNoSuchCountryExceptionif it could not be found.findByCompanyId(long companyId) Returns all the countries where companyId = ?.findByCompanyId(long companyId, int start, int end) Returns a range of all the countries where companyId = ?.findByCompanyId(long companyId, int start, int end, OrderByComparator<Country> orderByComparator) Returns an ordered range of all the countries where companyId = ?.findByCompanyId(long companyId, int start, int end, OrderByComparator<Country> orderByComparator, boolean useFinderCache) Returns an ordered range of all the countries where companyId = ?.findByCompanyId_First(long companyId, OrderByComparator<Country> orderByComparator) Returns the first country in the ordered set where companyId = ?.findByPrimaryKey(long countryId) Returns the country with the primary key or throws aNoSuchCountryExceptionif it could not be found.findByUuid(String uuid) Returns all the countries where uuid = ?.findByUuid(String uuid, int start, int end) Returns a range of all the countries where uuid = ?.findByUuid(String uuid, int start, int end, OrderByComparator<Country> orderByComparator) Returns an ordered range of all the countries where uuid = ?.findByUuid(String uuid, int start, int end, OrderByComparator<Country> orderByComparator, boolean useFinderCache) Returns an ordered range of all the countries where uuid = ?.findByUuid_C(String uuid, long companyId) Returns all the countries where uuid = ? and companyId = ?.findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the countries where uuid = ? and companyId = ?.findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<Country> orderByComparator) Returns an ordered range of all the countries where uuid = ? and companyId = ?.findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<Country> orderByComparator, boolean useFinderCache) Returns an ordered range of all the countries where uuid = ? and companyId = ?.findByUuid_C_First(String uuid, long companyId, OrderByComparator<Country> orderByComparator) Returns the first country in the ordered set where uuid = ? and companyId = ?.findByUuid_First(String uuid, OrderByComparator<Country> orderByComparator) Returns the first country in the ordered set where uuid = ?.remove(long countryId) Removes the country with the primary key from the database.voidRemoves all the countries from the database.voidremoveByActive(boolean active) Removes all the countries where active = ? from the database.voidremoveByC_A_B(long companyId, boolean active, boolean billingAllowed) Removes all the countries where companyId = ? and active = ? and billingAllowed = ? from the database.voidremoveByC_A_B_G(long countryId, boolean active, boolean billingAllowed, boolean groupFilterEnabled) Removes all the countries where countryId = ? and active = ? and billingAllowed = ? and groupFilterEnabled = ? from the database.voidremoveByC_A_B_G_S(long countryId, boolean active, boolean billingAllowed, boolean groupFilterEnabled, boolean shippingAllowed) Removes all the countries where countryId = ? and active = ? and billingAllowed = ? and groupFilterEnabled = ? and shippingAllowed = ? from the database.voidremoveByC_A_G_S(long countryId, boolean active, boolean groupFilterEnabled, boolean shippingAllowed) Removes all the countries where countryId = ? and active = ? and groupFilterEnabled = ? and shippingAllowed = ? from the database.voidremoveByC_A_S(long companyId, boolean active, boolean shippingAllowed) Removes all the countries where companyId = ? and active = ? and shippingAllowed = ? from the database.removeByC_A2(long companyId, String a2) Removes the country where companyId = ? and a2 = ? from the database.removeByC_A3(long companyId, String a3) Removes the country where companyId = ? and a3 = ? from the database.voidremoveByC_Active(long companyId, boolean active) Removes all the countries where companyId = ? and active = ? from the database.removeByC_Name(long companyId, String name) Removes the country where companyId = ? and name = ? from the database.removeByC_Number(long companyId, String number) Removes the country where companyId = ? and number = ? from the database.voidremoveByCompanyId(long companyId) Removes all the countries where companyId = ? from the database.voidremoveByUuid(String uuid) Removes all the countries where uuid = ? from the database.voidremoveByUuid_C(String uuid, long companyId) Removes all the countries where uuid = ? and companyId = ? from the database.updateImpl(Country country) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQuery, dslQueryCount, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, updateMethods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
-
Method Details
-
findByUuid
Returns all the countries where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the matching countries
-
findByUuid
Returns a range of all the countries where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.CountryModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of countriesend- the upper bound of the range of countries (not inclusive)- Returns:
- the range of matching countries
-
findByUuid
List<Country> findByUuid(String uuid, int start, int end, OrderByComparator<Country> orderByComparator) Returns an ordered range of all the countries where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.CountryModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of countriesend- the upper bound of the range of countries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching countries
-
findByUuid
List<Country> findByUuid(String uuid, int start, int end, OrderByComparator<Country> orderByComparator, boolean useFinderCache) Returns an ordered range of all the countries where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.CountryModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of countriesend- the upper bound of the range of countries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching countries
-
findByUuid_First
Country findByUuid_First(String uuid, OrderByComparator<Country> orderByComparator) throws NoSuchCountryException Returns the first country in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching country
- Throws:
NoSuchCountryException- if a matching country could not be found
-
fetchByUuid_First
Returns the first country in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching country, or
nullif a matching country could not be found
-
filterFindByUuid
Returns all the countries that the user has permission to view where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the matching countries that the user has permission to view
-
filterFindByUuid
Returns a range of all the countries that the user has permission to view where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.CountryModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of countriesend- the upper bound of the range of countries (not inclusive)- Returns:
- the range of matching countries that the user has permission to view
-
filterFindByUuid
List<Country> filterFindByUuid(String uuid, int start, int end, OrderByComparator<Country> orderByComparator) Returns an ordered range of all the countries that the user has permissions to view where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.CountryModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of countriesend- the upper bound of the range of countries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching countries that the user has permission to view
-
removeByUuid
Removes all the countries where uuid = ? from the database.- Parameters:
uuid- the uuid
-
countByUuid
Returns the number of countries where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the number of matching countries
-
filterCountByUuid
Returns the number of countries that the user has permission to view where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the number of matching countries that the user has permission to view
-
findByUuid_C
Returns all the countries where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the matching countries
-
findByUuid_C
Returns a range of all the countries where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.CountryModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of countriesend- the upper bound of the range of countries (not inclusive)- Returns:
- the range of matching countries
-
findByUuid_C
List<Country> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<Country> orderByComparator) Returns an ordered range of all the countries where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.CountryModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of countriesend- the upper bound of the range of countries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching countries
-
findByUuid_C
List<Country> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<Country> orderByComparator, boolean useFinderCache) Returns an ordered range of all the countries where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.CountryModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of countriesend- the upper bound of the range of countries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching countries
-
findByUuid_C_First
Country findByUuid_C_First(String uuid, long companyId, OrderByComparator<Country> orderByComparator) throws NoSuchCountryException Returns the first country in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching country
- Throws:
NoSuchCountryException- if a matching country could not be found
-
fetchByUuid_C_First
Country fetchByUuid_C_First(String uuid, long companyId, OrderByComparator<Country> orderByComparator) Returns the first country in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching country, or
nullif a matching country could not be found
-
filterFindByUuid_C
Returns all the countries that the user has permission to view where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the matching countries that the user has permission to view
-
filterFindByUuid_C
Returns a range of all the countries that the user has permission to view where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.CountryModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of countriesend- the upper bound of the range of countries (not inclusive)- Returns:
- the range of matching countries that the user has permission to view
-
filterFindByUuid_C
List<Country> filterFindByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<Country> orderByComparator) Returns an ordered range of all the countries that the user has permissions to view where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.CountryModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of countriesend- the upper bound of the range of countries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching countries that the user has permission to view
-
removeByUuid_C
Removes all the countries where uuid = ? and companyId = ? from the database.- Parameters:
uuid- the uuidcompanyId- the company ID
-
countByUuid_C
Returns the number of countries where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching countries
-
filterCountByUuid_C
Returns the number of countries that the user has permission to view where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching countries that the user has permission to view
-
findByCompanyId
Returns all the countries where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the matching countries
-
findByCompanyId
Returns a range of all the countries where companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.CountryModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of countriesend- the upper bound of the range of countries (not inclusive)- Returns:
- the range of matching countries
-
findByCompanyId
List<Country> findByCompanyId(long companyId, int start, int end, OrderByComparator<Country> orderByComparator) Returns an ordered range of all the countries where companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.CountryModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of countriesend- the upper bound of the range of countries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching countries
-
findByCompanyId
List<Country> findByCompanyId(long companyId, int start, int end, OrderByComparator<Country> orderByComparator, boolean useFinderCache) Returns an ordered range of all the countries where companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.CountryModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of countriesend- the upper bound of the range of countries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching countries
-
findByCompanyId_First
Country findByCompanyId_First(long companyId, OrderByComparator<Country> orderByComparator) throws NoSuchCountryException Returns the first country in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching country
- Throws:
NoSuchCountryException- if a matching country could not be found
-
fetchByCompanyId_First
Returns the first country in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching country, or
nullif a matching country could not be found
-
filterFindByCompanyId
Returns all the countries that the user has permission to view where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the matching countries that the user has permission to view
-
filterFindByCompanyId
Returns a range of all the countries that the user has permission to view where companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.CountryModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of countriesend- the upper bound of the range of countries (not inclusive)- Returns:
- the range of matching countries that the user has permission to view
-
filterFindByCompanyId
List<Country> filterFindByCompanyId(long companyId, int start, int end, OrderByComparator<Country> orderByComparator) Returns an ordered range of all the countries that the user has permissions to view where companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.CountryModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of countriesend- the upper bound of the range of countries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching countries that the user has permission to view
-
removeByCompanyId
void removeByCompanyId(long companyId) Removes all the countries where companyId = ? from the database.- Parameters:
companyId- the company ID
-
countByCompanyId
int countByCompanyId(long companyId) Returns the number of countries where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the number of matching countries
-
filterCountByCompanyId
int filterCountByCompanyId(long companyId) Returns the number of countries that the user has permission to view where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the number of matching countries that the user has permission to view
-
findByActive
Returns all the countries where active = ?.- Parameters:
active- the active- Returns:
- the matching countries
-
findByActive
Returns a range of all the countries where active = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.CountryModelImpl.- Parameters:
active- the activestart- the lower bound of the range of countriesend- the upper bound of the range of countries (not inclusive)- Returns:
- the range of matching countries
-
findByActive
List<Country> findByActive(boolean active, int start, int end, OrderByComparator<Country> orderByComparator) Returns an ordered range of all the countries where active = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.CountryModelImpl.- Parameters:
active- the activestart- the lower bound of the range of countriesend- the upper bound of the range of countries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching countries
-
findByActive
List<Country> findByActive(boolean active, int start, int end, OrderByComparator<Country> orderByComparator, boolean useFinderCache) Returns an ordered range of all the countries where active = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.CountryModelImpl.- Parameters:
active- the activestart- the lower bound of the range of countriesend- the upper bound of the range of countries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching countries
-
findByActive_First
Country findByActive_First(boolean active, OrderByComparator<Country> orderByComparator) throws NoSuchCountryException Returns the first country in the ordered set where active = ?.- Parameters:
active- the activeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching country
- Throws:
NoSuchCountryException- if a matching country could not be found
-
fetchByActive_First
Returns the first country in the ordered set where active = ?.- Parameters:
active- the activeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching country, or
nullif a matching country could not be found
-
filterFindByActive
Returns all the countries that the user has permission to view where active = ?.- Parameters:
active- the active- Returns:
- the matching countries that the user has permission to view
-
filterFindByActive
Returns a range of all the countries that the user has permission to view where active = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.CountryModelImpl.- Parameters:
active- the activestart- the lower bound of the range of countriesend- the upper bound of the range of countries (not inclusive)- Returns:
- the range of matching countries that the user has permission to view
-
filterFindByActive
List<Country> filterFindByActive(boolean active, int start, int end, OrderByComparator<Country> orderByComparator) Returns an ordered range of all the countries that the user has permissions to view where active = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.CountryModelImpl.- Parameters:
active- the activestart- the lower bound of the range of countriesend- the upper bound of the range of countries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching countries that the user has permission to view
-
removeByActive
void removeByActive(boolean active) Removes all the countries where active = ? from the database.- Parameters:
active- the active
-
countByActive
int countByActive(boolean active) Returns the number of countries where active = ?.- Parameters:
active- the active- Returns:
- the number of matching countries
-
filterCountByActive
int filterCountByActive(boolean active) Returns the number of countries that the user has permission to view where active = ?.- Parameters:
active- the active- Returns:
- the number of matching countries that the user has permission to view
-
findByC_A2
Returns the country where companyId = ? and a2 = ? or throws aNoSuchCountryExceptionif it could not be found.- Parameters:
companyId- the company IDa2- the a2- Returns:
- the matching country
- Throws:
NoSuchCountryException- if a matching country could not be found
-
fetchByC_A2
Returns the country where companyId = ? and a2 = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
companyId- the company IDa2- the a2- Returns:
- the matching country, or
nullif a matching country could not be found
-
fetchByC_A2
Returns the country where companyId = ? and a2 = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
companyId- the company IDa2- the a2useFinderCache- whether to use the finder cache- Returns:
- the matching country, or
nullif a matching country could not be found
-
removeByC_A2
Removes the country where companyId = ? and a2 = ? from the database.- Parameters:
companyId- the company IDa2- the a2- Returns:
- the country that was removed
- Throws:
NoSuchCountryException
-
countByC_A2
Returns the number of countries where companyId = ? and a2 = ?.- Parameters:
companyId- the company IDa2- the a2- Returns:
- the number of matching countries
-
findByC_A3
Returns the country where companyId = ? and a3 = ? or throws aNoSuchCountryExceptionif it could not be found.- Parameters:
companyId- the company IDa3- the a3- Returns:
- the matching country
- Throws:
NoSuchCountryException- if a matching country could not be found
-
fetchByC_A3
Returns the country where companyId = ? and a3 = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
companyId- the company IDa3- the a3- Returns:
- the matching country, or
nullif a matching country could not be found
-
fetchByC_A3
Returns the country where companyId = ? and a3 = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
companyId- the company IDa3- the a3useFinderCache- whether to use the finder cache- Returns:
- the matching country, or
nullif a matching country could not be found
-
removeByC_A3
Removes the country where companyId = ? and a3 = ? from the database.- Parameters:
companyId- the company IDa3- the a3- Returns:
- the country that was removed
- Throws:
NoSuchCountryException
-
countByC_A3
Returns the number of countries where companyId = ? and a3 = ?.- Parameters:
companyId- the company IDa3- the a3- Returns:
- the number of matching countries
-
findByC_Active
Returns all the countries where companyId = ? and active = ?.- Parameters:
companyId- the company IDactive- the active- Returns:
- the matching countries
-
findByC_Active
Returns a range of all the countries where companyId = ? and active = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.CountryModelImpl.- Parameters:
companyId- the company IDactive- the activestart- the lower bound of the range of countriesend- the upper bound of the range of countries (not inclusive)- Returns:
- the range of matching countries
-
findByC_Active
List<Country> findByC_Active(long companyId, boolean active, int start, int end, OrderByComparator<Country> orderByComparator) Returns an ordered range of all the countries where companyId = ? and active = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.CountryModelImpl.- Parameters:
companyId- the company IDactive- the activestart- the lower bound of the range of countriesend- the upper bound of the range of countries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching countries
-
findByC_Active
List<Country> findByC_Active(long companyId, boolean active, int start, int end, OrderByComparator<Country> orderByComparator, boolean useFinderCache) Returns an ordered range of all the countries where companyId = ? and active = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.CountryModelImpl.- Parameters:
companyId- the company IDactive- the activestart- the lower bound of the range of countriesend- the upper bound of the range of countries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching countries
-
findByC_Active_First
Country findByC_Active_First(long companyId, boolean active, OrderByComparator<Country> orderByComparator) throws NoSuchCountryException Returns the first country in the ordered set where companyId = ? and active = ?.- Parameters:
companyId- the company IDactive- the activeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching country
- Throws:
NoSuchCountryException- if a matching country could not be found
-
fetchByC_Active_First
Country fetchByC_Active_First(long companyId, boolean active, OrderByComparator<Country> orderByComparator) Returns the first country in the ordered set where companyId = ? and active = ?.- Parameters:
companyId- the company IDactive- the activeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching country, or
nullif a matching country could not be found
-
filterFindByC_Active
Returns all the countries that the user has permission to view where companyId = ? and active = ?.- Parameters:
companyId- the company IDactive- the active- Returns:
- the matching countries that the user has permission to view
-
filterFindByC_Active
Returns a range of all the countries that the user has permission to view where companyId = ? and active = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.CountryModelImpl.- Parameters:
companyId- the company IDactive- the activestart- the lower bound of the range of countriesend- the upper bound of the range of countries (not inclusive)- Returns:
- the range of matching countries that the user has permission to view
-
filterFindByC_Active
List<Country> filterFindByC_Active(long companyId, boolean active, int start, int end, OrderByComparator<Country> orderByComparator) Returns an ordered range of all the countries that the user has permissions to view where companyId = ? and active = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.CountryModelImpl.- Parameters:
companyId- the company IDactive- the activestart- the lower bound of the range of countriesend- the upper bound of the range of countries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching countries that the user has permission to view
-
removeByC_Active
void removeByC_Active(long companyId, boolean active) Removes all the countries where companyId = ? and active = ? from the database.- Parameters:
companyId- the company IDactive- the active
-
countByC_Active
int countByC_Active(long companyId, boolean active) Returns the number of countries where companyId = ? and active = ?.- Parameters:
companyId- the company IDactive- the active- Returns:
- the number of matching countries
-
filterCountByC_Active
int filterCountByC_Active(long companyId, boolean active) Returns the number of countries that the user has permission to view where companyId = ? and active = ?.- Parameters:
companyId- the company IDactive- the active- Returns:
- the number of matching countries that the user has permission to view
-
findByC_Name
Returns the country where companyId = ? and name = ? or throws aNoSuchCountryExceptionif it could not be found.- Parameters:
companyId- the company IDname- the name- Returns:
- the matching country
- Throws:
NoSuchCountryException- if a matching country could not be found
-
fetchByC_Name
Returns the country where companyId = ? and name = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
companyId- the company IDname- the name- Returns:
- the matching country, or
nullif a matching country could not be found
-
fetchByC_Name
Returns the country where companyId = ? and name = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
companyId- the company IDname- the nameuseFinderCache- whether to use the finder cache- Returns:
- the matching country, or
nullif a matching country could not be found
-
removeByC_Name
Removes the country where companyId = ? and name = ? from the database.- Parameters:
companyId- the company IDname- the name- Returns:
- the country that was removed
- Throws:
NoSuchCountryException
-
countByC_Name
Returns the number of countries where companyId = ? and name = ?.- Parameters:
companyId- the company IDname- the name- Returns:
- the number of matching countries
-
findByC_Number
Returns the country where companyId = ? and number = ? or throws aNoSuchCountryExceptionif it could not be found.- Parameters:
companyId- the company IDnumber- the number- Returns:
- the matching country
- Throws:
NoSuchCountryException- if a matching country could not be found
-
fetchByC_Number
Returns the country where companyId = ? and number = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
companyId- the company IDnumber- the number- Returns:
- the matching country, or
nullif a matching country could not be found
-
fetchByC_Number
Returns the country where companyId = ? and number = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
companyId- the company IDnumber- the numberuseFinderCache- whether to use the finder cache- Returns:
- the matching country, or
nullif a matching country could not be found
-
removeByC_Number
Removes the country where companyId = ? and number = ? from the database.- Parameters:
companyId- the company IDnumber- the number- Returns:
- the country that was removed
- Throws:
NoSuchCountryException
-
countByC_Number
Returns the number of countries where companyId = ? and number = ?.- Parameters:
companyId- the company IDnumber- the number- Returns:
- the number of matching countries
-
findByC_A_B
Returns all the countries where companyId = ? and active = ? and billingAllowed = ?.- Parameters:
companyId- the company IDactive- the activebillingAllowed- the billing allowed- Returns:
- the matching countries
-
findByC_A_B
List<Country> findByC_A_B(long companyId, boolean active, boolean billingAllowed, int start, int end) Returns a range of all the countries where companyId = ? and active = ? and billingAllowed = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.CountryModelImpl.- Parameters:
companyId- the company IDactive- the activebillingAllowed- the billing allowedstart- the lower bound of the range of countriesend- the upper bound of the range of countries (not inclusive)- Returns:
- the range of matching countries
-
findByC_A_B
List<Country> findByC_A_B(long companyId, boolean active, boolean billingAllowed, int start, int end, OrderByComparator<Country> orderByComparator) Returns an ordered range of all the countries where companyId = ? and active = ? and billingAllowed = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.CountryModelImpl.- Parameters:
companyId- the company IDactive- the activebillingAllowed- the billing allowedstart- the lower bound of the range of countriesend- the upper bound of the range of countries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching countries
-
findByC_A_B
List<Country> findByC_A_B(long companyId, boolean active, boolean billingAllowed, int start, int end, OrderByComparator<Country> orderByComparator, boolean useFinderCache) Returns an ordered range of all the countries where companyId = ? and active = ? and billingAllowed = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.CountryModelImpl.- Parameters:
companyId- the company IDactive- the activebillingAllowed- the billing allowedstart- the lower bound of the range of countriesend- the upper bound of the range of countries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching countries
-
findByC_A_B_First
Country findByC_A_B_First(long companyId, boolean active, boolean billingAllowed, OrderByComparator<Country> orderByComparator) throws NoSuchCountryException Returns the first country in the ordered set where companyId = ? and active = ? and billingAllowed = ?.- Parameters:
companyId- the company IDactive- the activebillingAllowed- the billing allowedorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching country
- Throws:
NoSuchCountryException- if a matching country could not be found
-
fetchByC_A_B_First
Country fetchByC_A_B_First(long companyId, boolean active, boolean billingAllowed, OrderByComparator<Country> orderByComparator) Returns the first country in the ordered set where companyId = ? and active = ? and billingAllowed = ?.- Parameters:
companyId- the company IDactive- the activebillingAllowed- the billing allowedorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching country, or
nullif a matching country could not be found
-
filterFindByC_A_B
Returns all the countries that the user has permission to view where companyId = ? and active = ? and billingAllowed = ?.- Parameters:
companyId- the company IDactive- the activebillingAllowed- the billing allowed- Returns:
- the matching countries that the user has permission to view
-
filterFindByC_A_B
List<Country> filterFindByC_A_B(long companyId, boolean active, boolean billingAllowed, int start, int end) Returns a range of all the countries that the user has permission to view where companyId = ? and active = ? and billingAllowed = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.CountryModelImpl.- Parameters:
companyId- the company IDactive- the activebillingAllowed- the billing allowedstart- the lower bound of the range of countriesend- the upper bound of the range of countries (not inclusive)- Returns:
- the range of matching countries that the user has permission to view
-
filterFindByC_A_B
List<Country> filterFindByC_A_B(long companyId, boolean active, boolean billingAllowed, int start, int end, OrderByComparator<Country> orderByComparator) Returns an ordered range of all the countries that the user has permissions to view where companyId = ? and active = ? and billingAllowed = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.CountryModelImpl.- Parameters:
companyId- the company IDactive- the activebillingAllowed- the billing allowedstart- the lower bound of the range of countriesend- the upper bound of the range of countries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching countries that the user has permission to view
-
removeByC_A_B
void removeByC_A_B(long companyId, boolean active, boolean billingAllowed) Removes all the countries where companyId = ? and active = ? and billingAllowed = ? from the database.- Parameters:
companyId- the company IDactive- the activebillingAllowed- the billing allowed
-
countByC_A_B
int countByC_A_B(long companyId, boolean active, boolean billingAllowed) Returns the number of countries where companyId = ? and active = ? and billingAllowed = ?.- Parameters:
companyId- the company IDactive- the activebillingAllowed- the billing allowed- Returns:
- the number of matching countries
-
filterCountByC_A_B
int filterCountByC_A_B(long companyId, boolean active, boolean billingAllowed) Returns the number of countries that the user has permission to view where companyId = ? and active = ? and billingAllowed = ?.- Parameters:
companyId- the company IDactive- the activebillingAllowed- the billing allowed- Returns:
- the number of matching countries that the user has permission to view
-
findByC_A_S
Returns all the countries where companyId = ? and active = ? and shippingAllowed = ?.- Parameters:
companyId- the company IDactive- the activeshippingAllowed- the shipping allowed- Returns:
- the matching countries
-
findByC_A_S
List<Country> findByC_A_S(long companyId, boolean active, boolean shippingAllowed, int start, int end) Returns a range of all the countries where companyId = ? and active = ? and shippingAllowed = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.CountryModelImpl.- Parameters:
companyId- the company IDactive- the activeshippingAllowed- the shipping allowedstart- the lower bound of the range of countriesend- the upper bound of the range of countries (not inclusive)- Returns:
- the range of matching countries
-
findByC_A_S
List<Country> findByC_A_S(long companyId, boolean active, boolean shippingAllowed, int start, int end, OrderByComparator<Country> orderByComparator) Returns an ordered range of all the countries where companyId = ? and active = ? and shippingAllowed = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.CountryModelImpl.- Parameters:
companyId- the company IDactive- the activeshippingAllowed- the shipping allowedstart- the lower bound of the range of countriesend- the upper bound of the range of countries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching countries
-
findByC_A_S
List<Country> findByC_A_S(long companyId, boolean active, boolean shippingAllowed, int start, int end, OrderByComparator<Country> orderByComparator, boolean useFinderCache) Returns an ordered range of all the countries where companyId = ? and active = ? and shippingAllowed = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.CountryModelImpl.- Parameters:
companyId- the company IDactive- the activeshippingAllowed- the shipping allowedstart- the lower bound of the range of countriesend- the upper bound of the range of countries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching countries
-
findByC_A_S_First
Country findByC_A_S_First(long companyId, boolean active, boolean shippingAllowed, OrderByComparator<Country> orderByComparator) throws NoSuchCountryException Returns the first country in the ordered set where companyId = ? and active = ? and shippingAllowed = ?.- Parameters:
companyId- the company IDactive- the activeshippingAllowed- the shipping allowedorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching country
- Throws:
NoSuchCountryException- if a matching country could not be found
-
fetchByC_A_S_First
Country fetchByC_A_S_First(long companyId, boolean active, boolean shippingAllowed, OrderByComparator<Country> orderByComparator) Returns the first country in the ordered set where companyId = ? and active = ? and shippingAllowed = ?.- Parameters:
companyId- the company IDactive- the activeshippingAllowed- the shipping allowedorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching country, or
nullif a matching country could not be found
-
filterFindByC_A_S
Returns all the countries that the user has permission to view where companyId = ? and active = ? and shippingAllowed = ?.- Parameters:
companyId- the company IDactive- the activeshippingAllowed- the shipping allowed- Returns:
- the matching countries that the user has permission to view
-
filterFindByC_A_S
List<Country> filterFindByC_A_S(long companyId, boolean active, boolean shippingAllowed, int start, int end) Returns a range of all the countries that the user has permission to view where companyId = ? and active = ? and shippingAllowed = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.CountryModelImpl.- Parameters:
companyId- the company IDactive- the activeshippingAllowed- the shipping allowedstart- the lower bound of the range of countriesend- the upper bound of the range of countries (not inclusive)- Returns:
- the range of matching countries that the user has permission to view
-
filterFindByC_A_S
List<Country> filterFindByC_A_S(long companyId, boolean active, boolean shippingAllowed, int start, int end, OrderByComparator<Country> orderByComparator) Returns an ordered range of all the countries that the user has permissions to view where companyId = ? and active = ? and shippingAllowed = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.CountryModelImpl.- Parameters:
companyId- the company IDactive- the activeshippingAllowed- the shipping allowedstart- the lower bound of the range of countriesend- the upper bound of the range of countries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching countries that the user has permission to view
-
removeByC_A_S
void removeByC_A_S(long companyId, boolean active, boolean shippingAllowed) Removes all the countries where companyId = ? and active = ? and shippingAllowed = ? from the database.- Parameters:
companyId- the company IDactive- the activeshippingAllowed- the shipping allowed
-
countByC_A_S
int countByC_A_S(long companyId, boolean active, boolean shippingAllowed) Returns the number of countries where companyId = ? and active = ? and shippingAllowed = ?.- Parameters:
companyId- the company IDactive- the activeshippingAllowed- the shipping allowed- Returns:
- the number of matching countries
-
filterCountByC_A_S
int filterCountByC_A_S(long companyId, boolean active, boolean shippingAllowed) Returns the number of countries that the user has permission to view where companyId = ? and active = ? and shippingAllowed = ?.- Parameters:
companyId- the company IDactive- the activeshippingAllowed- the shipping allowed- Returns:
- the number of matching countries that the user has permission to view
-
findByC_A_B_G
List<Country> findByC_A_B_G(long countryId, boolean active, boolean billingAllowed, boolean groupFilterEnabled) Returns all the countries where countryId = ? and active = ? and billingAllowed = ? and groupFilterEnabled = ?.- Parameters:
countryId- the country IDactive- the activebillingAllowed- the billing allowedgroupFilterEnabled- the group filter enabled- Returns:
- the matching countries
-
findByC_A_B_G
List<Country> findByC_A_B_G(long countryId, boolean active, boolean billingAllowed, boolean groupFilterEnabled, int start, int end) Returns a range of all the countries where countryId = ? and active = ? and billingAllowed = ? and groupFilterEnabled = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.CountryModelImpl.- Parameters:
countryId- the country IDactive- the activebillingAllowed- the billing allowedgroupFilterEnabled- the group filter enabledstart- the lower bound of the range of countriesend- the upper bound of the range of countries (not inclusive)- Returns:
- the range of matching countries
-
findByC_A_B_G
List<Country> findByC_A_B_G(long countryId, boolean active, boolean billingAllowed, boolean groupFilterEnabled, int start, int end, OrderByComparator<Country> orderByComparator) Returns an ordered range of all the countries where countryId = ? and active = ? and billingAllowed = ? and groupFilterEnabled = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.CountryModelImpl.- Parameters:
countryId- the country IDactive- the activebillingAllowed- the billing allowedgroupFilterEnabled- the group filter enabledstart- the lower bound of the range of countriesend- the upper bound of the range of countries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching countries
-
findByC_A_B_G
List<Country> findByC_A_B_G(long countryId, boolean active, boolean billingAllowed, boolean groupFilterEnabled, int start, int end, OrderByComparator<Country> orderByComparator, boolean useFinderCache) Returns an ordered range of all the countries where countryId = ? and active = ? and billingAllowed = ? and groupFilterEnabled = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.CountryModelImpl.- Parameters:
countryId- the country IDactive- the activebillingAllowed- the billing allowedgroupFilterEnabled- the group filter enabledstart- the lower bound of the range of countriesend- the upper bound of the range of countries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching countries
-
findByC_A_B_G_First
Country findByC_A_B_G_First(long countryId, boolean active, boolean billingAllowed, boolean groupFilterEnabled, OrderByComparator<Country> orderByComparator) throws NoSuchCountryException Returns the first country in the ordered set where countryId = ? and active = ? and billingAllowed = ? and groupFilterEnabled = ?.- Parameters:
countryId- the country IDactive- the activebillingAllowed- the billing allowedgroupFilterEnabled- the group filter enabledorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching country
- Throws:
NoSuchCountryException- if a matching country could not be found
-
fetchByC_A_B_G_First
Country fetchByC_A_B_G_First(long countryId, boolean active, boolean billingAllowed, boolean groupFilterEnabled, OrderByComparator<Country> orderByComparator) Returns the first country in the ordered set where countryId = ? and active = ? and billingAllowed = ? and groupFilterEnabled = ?.- Parameters:
countryId- the country IDactive- the activebillingAllowed- the billing allowedgroupFilterEnabled- the group filter enabledorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching country, or
nullif a matching country could not be found
-
filterFindByC_A_B_G
List<Country> filterFindByC_A_B_G(long countryId, boolean active, boolean billingAllowed, boolean groupFilterEnabled) Returns all the countries that the user has permission to view where countryId = ? and active = ? and billingAllowed = ? and groupFilterEnabled = ?.- Parameters:
countryId- the country IDactive- the activebillingAllowed- the billing allowedgroupFilterEnabled- the group filter enabled- Returns:
- the matching countries that the user has permission to view
-
filterFindByC_A_B_G
List<Country> filterFindByC_A_B_G(long countryId, boolean active, boolean billingAllowed, boolean groupFilterEnabled, int start, int end) Returns a range of all the countries that the user has permission to view where countryId = ? and active = ? and billingAllowed = ? and groupFilterEnabled = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.CountryModelImpl.- Parameters:
countryId- the country IDactive- the activebillingAllowed- the billing allowedgroupFilterEnabled- the group filter enabledstart- the lower bound of the range of countriesend- the upper bound of the range of countries (not inclusive)- Returns:
- the range of matching countries that the user has permission to view
-
filterFindByC_A_B_G
List<Country> filterFindByC_A_B_G(long countryId, boolean active, boolean billingAllowed, boolean groupFilterEnabled, int start, int end, OrderByComparator<Country> orderByComparator) Returns an ordered range of all the countries that the user has permissions to view where countryId = ? and active = ? and billingAllowed = ? and groupFilterEnabled = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.CountryModelImpl.- Parameters:
countryId- the country IDactive- the activebillingAllowed- the billing allowedgroupFilterEnabled- the group filter enabledstart- the lower bound of the range of countriesend- the upper bound of the range of countries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching countries that the user has permission to view
-
removeByC_A_B_G
void removeByC_A_B_G(long countryId, boolean active, boolean billingAllowed, boolean groupFilterEnabled) Removes all the countries where countryId = ? and active = ? and billingAllowed = ? and groupFilterEnabled = ? from the database.- Parameters:
countryId- the country IDactive- the activebillingAllowed- the billing allowedgroupFilterEnabled- the group filter enabled
-
countByC_A_B_G
int countByC_A_B_G(long countryId, boolean active, boolean billingAllowed, boolean groupFilterEnabled) Returns the number of countries where countryId = ? and active = ? and billingAllowed = ? and groupFilterEnabled = ?.- Parameters:
countryId- the country IDactive- the activebillingAllowed- the billing allowedgroupFilterEnabled- the group filter enabled- Returns:
- the number of matching countries
-
filterCountByC_A_B_G
int filterCountByC_A_B_G(long countryId, boolean active, boolean billingAllowed, boolean groupFilterEnabled) Returns the number of countries that the user has permission to view where countryId = ? and active = ? and billingAllowed = ? and groupFilterEnabled = ?.- Parameters:
countryId- the country IDactive- the activebillingAllowed- the billing allowedgroupFilterEnabled- the group filter enabled- Returns:
- the number of matching countries that the user has permission to view
-
findByC_A_G_S
List<Country> findByC_A_G_S(long countryId, boolean active, boolean groupFilterEnabled, boolean shippingAllowed) Returns all the countries where countryId = ? and active = ? and groupFilterEnabled = ? and shippingAllowed = ?.- Parameters:
countryId- the country IDactive- the activegroupFilterEnabled- the group filter enabledshippingAllowed- the shipping allowed- Returns:
- the matching countries
-
findByC_A_G_S
List<Country> findByC_A_G_S(long countryId, boolean active, boolean groupFilterEnabled, boolean shippingAllowed, int start, int end) Returns a range of all the countries where countryId = ? and active = ? and groupFilterEnabled = ? and shippingAllowed = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.CountryModelImpl.- Parameters:
countryId- the country IDactive- the activegroupFilterEnabled- the group filter enabledshippingAllowed- the shipping allowedstart- the lower bound of the range of countriesend- the upper bound of the range of countries (not inclusive)- Returns:
- the range of matching countries
-
findByC_A_G_S
List<Country> findByC_A_G_S(long countryId, boolean active, boolean groupFilterEnabled, boolean shippingAllowed, int start, int end, OrderByComparator<Country> orderByComparator) Returns an ordered range of all the countries where countryId = ? and active = ? and groupFilterEnabled = ? and shippingAllowed = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.CountryModelImpl.- Parameters:
countryId- the country IDactive- the activegroupFilterEnabled- the group filter enabledshippingAllowed- the shipping allowedstart- the lower bound of the range of countriesend- the upper bound of the range of countries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching countries
-
findByC_A_G_S
List<Country> findByC_A_G_S(long countryId, boolean active, boolean groupFilterEnabled, boolean shippingAllowed, int start, int end, OrderByComparator<Country> orderByComparator, boolean useFinderCache) Returns an ordered range of all the countries where countryId = ? and active = ? and groupFilterEnabled = ? and shippingAllowed = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.CountryModelImpl.- Parameters:
countryId- the country IDactive- the activegroupFilterEnabled- the group filter enabledshippingAllowed- the shipping allowedstart- the lower bound of the range of countriesend- the upper bound of the range of countries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching countries
-
findByC_A_G_S_First
Country findByC_A_G_S_First(long countryId, boolean active, boolean groupFilterEnabled, boolean shippingAllowed, OrderByComparator<Country> orderByComparator) throws NoSuchCountryException Returns the first country in the ordered set where countryId = ? and active = ? and groupFilterEnabled = ? and shippingAllowed = ?.- Parameters:
countryId- the country IDactive- the activegroupFilterEnabled- the group filter enabledshippingAllowed- the shipping allowedorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching country
- Throws:
NoSuchCountryException- if a matching country could not be found
-
fetchByC_A_G_S_First
Country fetchByC_A_G_S_First(long countryId, boolean active, boolean groupFilterEnabled, boolean shippingAllowed, OrderByComparator<Country> orderByComparator) Returns the first country in the ordered set where countryId = ? and active = ? and groupFilterEnabled = ? and shippingAllowed = ?.- Parameters:
countryId- the country IDactive- the activegroupFilterEnabled- the group filter enabledshippingAllowed- the shipping allowedorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching country, or
nullif a matching country could not be found
-
filterFindByC_A_G_S
List<Country> filterFindByC_A_G_S(long countryId, boolean active, boolean groupFilterEnabled, boolean shippingAllowed) Returns all the countries that the user has permission to view where countryId = ? and active = ? and groupFilterEnabled = ? and shippingAllowed = ?.- Parameters:
countryId- the country IDactive- the activegroupFilterEnabled- the group filter enabledshippingAllowed- the shipping allowed- Returns:
- the matching countries that the user has permission to view
-
filterFindByC_A_G_S
List<Country> filterFindByC_A_G_S(long countryId, boolean active, boolean groupFilterEnabled, boolean shippingAllowed, int start, int end) Returns a range of all the countries that the user has permission to view where countryId = ? and active = ? and groupFilterEnabled = ? and shippingAllowed = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.CountryModelImpl.- Parameters:
countryId- the country IDactive- the activegroupFilterEnabled- the group filter enabledshippingAllowed- the shipping allowedstart- the lower bound of the range of countriesend- the upper bound of the range of countries (not inclusive)- Returns:
- the range of matching countries that the user has permission to view
-
filterFindByC_A_G_S
List<Country> filterFindByC_A_G_S(long countryId, boolean active, boolean groupFilterEnabled, boolean shippingAllowed, int start, int end, OrderByComparator<Country> orderByComparator) Returns an ordered range of all the countries that the user has permissions to view where countryId = ? and active = ? and groupFilterEnabled = ? and shippingAllowed = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.CountryModelImpl.- Parameters:
countryId- the country IDactive- the activegroupFilterEnabled- the group filter enabledshippingAllowed- the shipping allowedstart- the lower bound of the range of countriesend- the upper bound of the range of countries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching countries that the user has permission to view
-
removeByC_A_G_S
void removeByC_A_G_S(long countryId, boolean active, boolean groupFilterEnabled, boolean shippingAllowed) Removes all the countries where countryId = ? and active = ? and groupFilterEnabled = ? and shippingAllowed = ? from the database.- Parameters:
countryId- the country IDactive- the activegroupFilterEnabled- the group filter enabledshippingAllowed- the shipping allowed
-
countByC_A_G_S
int countByC_A_G_S(long countryId, boolean active, boolean groupFilterEnabled, boolean shippingAllowed) Returns the number of countries where countryId = ? and active = ? and groupFilterEnabled = ? and shippingAllowed = ?.- Parameters:
countryId- the country IDactive- the activegroupFilterEnabled- the group filter enabledshippingAllowed- the shipping allowed- Returns:
- the number of matching countries
-
filterCountByC_A_G_S
int filterCountByC_A_G_S(long countryId, boolean active, boolean groupFilterEnabled, boolean shippingAllowed) Returns the number of countries that the user has permission to view where countryId = ? and active = ? and groupFilterEnabled = ? and shippingAllowed = ?.- Parameters:
countryId- the country IDactive- the activegroupFilterEnabled- the group filter enabledshippingAllowed- the shipping allowed- Returns:
- the number of matching countries that the user has permission to view
-
findByC_A_B_G_S
List<Country> findByC_A_B_G_S(long countryId, boolean active, boolean billingAllowed, boolean groupFilterEnabled, boolean shippingAllowed) Returns all the countries where countryId = ? and active = ? and billingAllowed = ? and groupFilterEnabled = ? and shippingAllowed = ?.- Parameters:
countryId- the country IDactive- the activebillingAllowed- the billing allowedgroupFilterEnabled- the group filter enabledshippingAllowed- the shipping allowed- Returns:
- the matching countries
-
findByC_A_B_G_S
List<Country> findByC_A_B_G_S(long countryId, boolean active, boolean billingAllowed, boolean groupFilterEnabled, boolean shippingAllowed, int start, int end) Returns a range of all the countries where countryId = ? and active = ? and billingAllowed = ? and groupFilterEnabled = ? and shippingAllowed = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.CountryModelImpl.- Parameters:
countryId- the country IDactive- the activebillingAllowed- the billing allowedgroupFilterEnabled- the group filter enabledshippingAllowed- the shipping allowedstart- the lower bound of the range of countriesend- the upper bound of the range of countries (not inclusive)- Returns:
- the range of matching countries
-
findByC_A_B_G_S
List<Country> findByC_A_B_G_S(long countryId, boolean active, boolean billingAllowed, boolean groupFilterEnabled, boolean shippingAllowed, int start, int end, OrderByComparator<Country> orderByComparator) Returns an ordered range of all the countries where countryId = ? and active = ? and billingAllowed = ? and groupFilterEnabled = ? and shippingAllowed = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.CountryModelImpl.- Parameters:
countryId- the country IDactive- the activebillingAllowed- the billing allowedgroupFilterEnabled- the group filter enabledshippingAllowed- the shipping allowedstart- the lower bound of the range of countriesend- the upper bound of the range of countries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching countries
-
findByC_A_B_G_S
List<Country> findByC_A_B_G_S(long countryId, boolean active, boolean billingAllowed, boolean groupFilterEnabled, boolean shippingAllowed, int start, int end, OrderByComparator<Country> orderByComparator, boolean useFinderCache) Returns an ordered range of all the countries where countryId = ? and active = ? and billingAllowed = ? and groupFilterEnabled = ? and shippingAllowed = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.CountryModelImpl.- Parameters:
countryId- the country IDactive- the activebillingAllowed- the billing allowedgroupFilterEnabled- the group filter enabledshippingAllowed- the shipping allowedstart- the lower bound of the range of countriesend- the upper bound of the range of countries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching countries
-
findByC_A_B_G_S_First
Country findByC_A_B_G_S_First(long countryId, boolean active, boolean billingAllowed, boolean groupFilterEnabled, boolean shippingAllowed, OrderByComparator<Country> orderByComparator) throws NoSuchCountryException Returns the first country in the ordered set where countryId = ? and active = ? and billingAllowed = ? and groupFilterEnabled = ? and shippingAllowed = ?.- Parameters:
countryId- the country IDactive- the activebillingAllowed- the billing allowedgroupFilterEnabled- the group filter enabledshippingAllowed- the shipping allowedorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching country
- Throws:
NoSuchCountryException- if a matching country could not be found
-
fetchByC_A_B_G_S_First
Country fetchByC_A_B_G_S_First(long countryId, boolean active, boolean billingAllowed, boolean groupFilterEnabled, boolean shippingAllowed, OrderByComparator<Country> orderByComparator) Returns the first country in the ordered set where countryId = ? and active = ? and billingAllowed = ? and groupFilterEnabled = ? and shippingAllowed = ?.- Parameters:
countryId- the country IDactive- the activebillingAllowed- the billing allowedgroupFilterEnabled- the group filter enabledshippingAllowed- the shipping allowedorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching country, or
nullif a matching country could not be found
-
filterFindByC_A_B_G_S
List<Country> filterFindByC_A_B_G_S(long countryId, boolean active, boolean billingAllowed, boolean groupFilterEnabled, boolean shippingAllowed) Returns all the countries that the user has permission to view where countryId = ? and active = ? and billingAllowed = ? and groupFilterEnabled = ? and shippingAllowed = ?.- Parameters:
countryId- the country IDactive- the activebillingAllowed- the billing allowedgroupFilterEnabled- the group filter enabledshippingAllowed- the shipping allowed- Returns:
- the matching countries that the user has permission to view
-
filterFindByC_A_B_G_S
List<Country> filterFindByC_A_B_G_S(long countryId, boolean active, boolean billingAllowed, boolean groupFilterEnabled, boolean shippingAllowed, int start, int end) Returns a range of all the countries that the user has permission to view where countryId = ? and active = ? and billingAllowed = ? and groupFilterEnabled = ? and shippingAllowed = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.CountryModelImpl.- Parameters:
countryId- the country IDactive- the activebillingAllowed- the billing allowedgroupFilterEnabled- the group filter enabledshippingAllowed- the shipping allowedstart- the lower bound of the range of countriesend- the upper bound of the range of countries (not inclusive)- Returns:
- the range of matching countries that the user has permission to view
-
filterFindByC_A_B_G_S
List<Country> filterFindByC_A_B_G_S(long countryId, boolean active, boolean billingAllowed, boolean groupFilterEnabled, boolean shippingAllowed, int start, int end, OrderByComparator<Country> orderByComparator) Returns an ordered range of all the countries that the user has permissions to view where countryId = ? and active = ? and billingAllowed = ? and groupFilterEnabled = ? and shippingAllowed = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.CountryModelImpl.- Parameters:
countryId- the country IDactive- the activebillingAllowed- the billing allowedgroupFilterEnabled- the group filter enabledshippingAllowed- the shipping allowedstart- the lower bound of the range of countriesend- the upper bound of the range of countries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching countries that the user has permission to view
-
removeByC_A_B_G_S
void removeByC_A_B_G_S(long countryId, boolean active, boolean billingAllowed, boolean groupFilterEnabled, boolean shippingAllowed) Removes all the countries where countryId = ? and active = ? and billingAllowed = ? and groupFilterEnabled = ? and shippingAllowed = ? from the database.- Parameters:
countryId- the country IDactive- the activebillingAllowed- the billing allowedgroupFilterEnabled- the group filter enabledshippingAllowed- the shipping allowed
-
countByC_A_B_G_S
int countByC_A_B_G_S(long countryId, boolean active, boolean billingAllowed, boolean groupFilterEnabled, boolean shippingAllowed) Returns the number of countries where countryId = ? and active = ? and billingAllowed = ? and groupFilterEnabled = ? and shippingAllowed = ?.- Parameters:
countryId- the country IDactive- the activebillingAllowed- the billing allowedgroupFilterEnabled- the group filter enabledshippingAllowed- the shipping allowed- Returns:
- the number of matching countries
-
filterCountByC_A_B_G_S
int filterCountByC_A_B_G_S(long countryId, boolean active, boolean billingAllowed, boolean groupFilterEnabled, boolean shippingAllowed) Returns the number of countries that the user has permission to view where countryId = ? and active = ? and billingAllowed = ? and groupFilterEnabled = ? and shippingAllowed = ?.- Parameters:
countryId- the country IDactive- the activebillingAllowed- the billing allowedgroupFilterEnabled- the group filter enabledshippingAllowed- the shipping allowed- Returns:
- the number of matching countries that the user has permission to view
-
cacheResult
Caches the country in the entity cache if it is enabled.- Parameters:
country- the country
-
cacheResult
Caches the countries in the entity cache if it is enabled.- Parameters:
countries- the countries
-
create
Creates a new country with the primary key. Does not add the country to the database.- Parameters:
countryId- the primary key for the new country- Returns:
- the new country
-
remove
Removes the country with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
countryId- the primary key of the country- Returns:
- the country that was removed
- Throws:
NoSuchCountryException- if a country with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
Returns the country with the primary key or throws aNoSuchCountryExceptionif it could not be found.- Parameters:
countryId- the primary key of the country- Returns:
- the country
- Throws:
NoSuchCountryException- if a country with the primary key could not be found
-
fetchByPrimaryKey
Returns the country with the primary key or returnsnullif it could not be found.- Parameters:
countryId- the primary key of the country- Returns:
- the country, or
nullif a country with the primary key could not be found
-
findAll
Returns all the countries.- Returns:
- the countries
-
findAll
Returns a range of all the countries.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.CountryModelImpl.- Parameters:
start- the lower bound of the range of countriesend- the upper bound of the range of countries (not inclusive)- Returns:
- the range of countries
-
findAll
Returns an ordered range of all the countries.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.CountryModelImpl.- Parameters:
start- the lower bound of the range of countriesend- the upper bound of the range of countries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of countries
-
findAll
List<Country> findAll(int start, int end, OrderByComparator<Country> orderByComparator, boolean useFinderCache) Returns an ordered range of all the countries.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portal.model.impl.CountryModelImpl.- Parameters:
start- the lower bound of the range of countriesend- the upper bound of the range of countries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of countries
-
removeAll
void removeAll()Removes all the countries from the database. -
countAll
int countAll()Returns the number of countries.- Returns:
- the number of countries
-