Class CountryLocalServiceBaseImpl
- All Implemented Interfaces:
com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService,com.liferay.portal.kernel.service.BaseLocalService,com.liferay.portal.kernel.service.change.tracking.CTService<com.liferay.portal.kernel.model.Country>,com.liferay.portal.kernel.service.CountryLocalService,com.liferay.portal.kernel.service.PersistedModelLocalService
- Direct Known Subclasses:
CountryLocalServiceImpl
This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in CountryLocalServiceImpl.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected com.liferay.counter.kernel.service.CounterLocalServiceprotected com.liferay.portal.kernel.service.persistence.CountryLocalizationPersistenceprotected com.liferay.portal.kernel.service.CountryLocalServiceprotected com.liferay.portal.kernel.service.persistence.CountryPersistence -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.liferay.portal.kernel.model.CountryaddCountry(com.liferay.portal.kernel.model.Country country) Adds the country to the database.voidcom.liferay.portal.kernel.model.CountrycreateCountry(long countryId) Creates a new country with the primary key.com.liferay.portal.kernel.model.PersistedModelcreatePersistedModel(Serializable primaryKeyObj) com.liferay.portal.kernel.model.CountrydeleteCountry(long countryId) Deletes the country with the primary key from the database.com.liferay.portal.kernel.model.CountrydeleteCountry(com.liferay.portal.kernel.model.Country country) Deletes the country from the database.com.liferay.portal.kernel.model.PersistedModeldeletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) voiddestroy()<T> TdslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) intdslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) com.liferay.portal.kernel.dao.orm.DynamicQuery<T> List<T>dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Performs a dynamic query on the database and returns the matching rows.<T> List<T>dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) Performs a dynamic query on the database and returns a range of the matching rows.<T> List<T>dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator) Performs a dynamic query on the database and returns an ordered range of the matching rows.longdynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.longdynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection) Returns the number of rows matching the dynamic query.com.liferay.portal.kernel.model.CountryfetchCountry(long countryId) com.liferay.portal.kernel.model.CountryfetchCountryByUuidAndCompanyId(String uuid, long companyId) Returns the country with the matching UUID and company.com.liferay.portal.kernel.model.CountryLocalizationfetchCountryLocalization(long countryId, String languageId) com.liferay.portal.kernel.dao.orm.ActionableDynamicQuerycom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Country>com.liferay.counter.kernel.service.CounterLocalServiceReturns the counter local service.List<com.liferay.portal.kernel.model.Country>getCountries(int start, int end) Returns a range of all the countries.intReturns the number of countries.com.liferay.portal.kernel.model.CountrygetCountry(long countryId) Returns the country with the primary key.com.liferay.portal.kernel.model.CountrygetCountryByUuidAndCompanyId(String uuid, long companyId) Returns the country with the matching UUID and company.com.liferay.portal.kernel.model.CountryLocalizationgetCountryLocalization(long countryId, String languageId) com.liferay.portal.kernel.service.persistence.CountryLocalizationPersistenceReturns the country localization persistence.List<com.liferay.portal.kernel.model.CountryLocalization>getCountryLocalizations(long countryId) com.liferay.portal.kernel.service.CountryLocalServiceReturns the country local service.com.liferay.portal.kernel.service.persistence.CountryPersistenceReturns the country persistence.com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.Country>com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuerygetExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQueryClass<com.liferay.portal.kernel.model.Country>protected StringReturns the OSGi service identifier.com.liferay.portal.kernel.model.PersistedModelgetPersistedModel(Serializable primaryKeyObj) protected voidinitActionableDynamicQuery(com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery actionableDynamicQuery) protected voidPerforms a SQL query.voidsetCounterLocalService(com.liferay.counter.kernel.service.CounterLocalService counterLocalService) Sets the counter local service.voidsetCountryLocalizationPersistence(com.liferay.portal.kernel.service.persistence.CountryLocalizationPersistence countryLocalizationPersistence) Sets the country localization persistence.voidsetCountryLocalService(com.liferay.portal.kernel.service.CountryLocalService countryLocalService) Sets the country local service.voidsetCountryPersistence(com.liferay.portal.kernel.service.persistence.CountryPersistence countryPersistence) Sets the country persistence.com.liferay.portal.kernel.model.CountryupdateCountry(com.liferay.portal.kernel.model.Country country) Updates the country in the database or adds it if it does not yet exist.com.liferay.portal.kernel.model.CountryLocalizationupdateCountryLocalization(com.liferay.portal.kernel.model.Country country, String languageId, String title) List<com.liferay.portal.kernel.model.CountryLocalization>updateCountryLocalizations(com.liferay.portal.kernel.model.Country country, Map<String, String> titleMap) <R,E extends Throwable>
RupdateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.Country>, R, E> updateUnsafeFunction) Methods inherited from class com.liferay.portal.kernel.service.BaseLocalServiceImpl
getClassLoader, getLocalizationMapMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.liferay.portal.kernel.service.CountryLocalService
addCountry, deleteCompanyCountries, fetchCountryByA2, fetchCountryByA3, fetchCountryByName, fetchCountryByNumber, getCompanyCountries, getCompanyCountries, getCompanyCountries, getCompanyCountries, getCompanyCountriesCount, getCompanyCountriesCount, getCountryByA2, getCountryByA3, getCountryByName, getCountryByNumber, searchCountries, updateActive, updateCountry, updateGroupFilterEnabledMethods inherited from interface com.liferay.portal.kernel.service.PersistedModelLocalService
fetchPersistedModel
-
Field Details
-
countryLocalService
@BeanReference(type=com.liferay.portal.kernel.service.CountryLocalService.class) protected com.liferay.portal.kernel.service.CountryLocalService countryLocalService -
countryPersistence
@BeanReference(type=com.liferay.portal.kernel.service.persistence.CountryPersistence.class) protected com.liferay.portal.kernel.service.persistence.CountryPersistence countryPersistence -
counterLocalService
@BeanReference(type=com.liferay.counter.kernel.service.CounterLocalService.class) protected com.liferay.counter.kernel.service.CounterLocalService counterLocalService -
countryLocalizationPersistence
@BeanReference(type=com.liferay.portal.kernel.service.persistence.CountryLocalizationPersistence.class) protected com.liferay.portal.kernel.service.persistence.CountryLocalizationPersistence countryLocalizationPersistence
-
-
Constructor Details
-
CountryLocalServiceBaseImpl
public CountryLocalServiceBaseImpl()
-
-
Method Details
-
addCountry
@Indexable(type=REINDEX) public com.liferay.portal.kernel.model.Country addCountry(com.liferay.portal.kernel.model.Country country) Adds the country to the database. Also notifies the appropriate model listeners.Important: Inspect CountryLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Specified by:
addCountryin interfacecom.liferay.portal.kernel.service.CountryLocalService- Parameters:
country- the country- Returns:
- the country that was added
-
createCountry
@Transactional(enabled=false) public com.liferay.portal.kernel.model.Country createCountry(long countryId) Creates a new country with the primary key. Does not add the country to the database.- Specified by:
createCountryin interfacecom.liferay.portal.kernel.service.CountryLocalService- Parameters:
countryId- the primary key for the new country- Returns:
- the new country
-
deleteCountry
@Indexable(type=DELETE) public com.liferay.portal.kernel.model.Country deleteCountry(long countryId) throws com.liferay.portal.kernel.exception.PortalException Deletes the country with the primary key from the database. Also notifies the appropriate model listeners.Important: Inspect CountryLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Specified by:
deleteCountryin interfacecom.liferay.portal.kernel.service.CountryLocalService- Parameters:
countryId- the primary key of the country- Returns:
- the country that was removed
- Throws:
com.liferay.portal.kernel.exception.PortalException- if a country with the primary key could not be found
-
deleteCountry
@Indexable(type=DELETE) public com.liferay.portal.kernel.model.Country deleteCountry(com.liferay.portal.kernel.model.Country country) throws com.liferay.portal.kernel.exception.PortalException Deletes the country from the database. Also notifies the appropriate model listeners.Important: Inspect CountryLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Specified by:
deleteCountryin interfacecom.liferay.portal.kernel.service.CountryLocalService- Parameters:
country- the country- Returns:
- the country that was removed
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
dslQuery
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryin interfacecom.liferay.portal.kernel.service.CountryLocalService- Specified by:
dslQueryin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dslQueryCount
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCountin interfacecom.liferay.portal.kernel.service.CountryLocalService- Specified by:
dslQueryCountin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dynamicQuery
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()- Specified by:
dynamicQueryin interfacecom.liferay.portal.kernel.service.CountryLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQueryin interfacecom.liferay.portal.kernel.service.CountryLocalService- Parameters:
dynamicQuery- the dynamic query- Returns:
- the matching rows
-
dynamicQuery
public <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) Performs a dynamic query on the database and returns a range of the matching rows.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.- Specified by:
dynamicQueryin interfacecom.liferay.portal.kernel.service.CountryLocalService- Parameters:
dynamicQuery- the dynamic querystart- the lower bound of the range of model instancesend- the upper bound of the range of model instances (not inclusive)- Returns:
- the range of matching rows
-
dynamicQuery
public <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator) Performs a dynamic query on the database and returns an ordered range of the matching rows.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.- Specified by:
dynamicQueryin interfacecom.liferay.portal.kernel.service.CountryLocalService- Parameters:
dynamicQuery- the dynamic querystart- the lower bound of the range of model instancesend- the upper bound of the range of model instances (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching rows
-
dynamicQueryCount
public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.- Specified by:
dynamicQueryCountin interfacecom.liferay.portal.kernel.service.CountryLocalService- Parameters:
dynamicQuery- the dynamic query- Returns:
- the number of rows matching the dynamic query
-
dynamicQueryCount
public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection) Returns the number of rows matching the dynamic query.- Specified by:
dynamicQueryCountin interfacecom.liferay.portal.kernel.service.CountryLocalService- Parameters:
dynamicQuery- the dynamic queryprojection- the projection to apply to the query- Returns:
- the number of rows matching the dynamic query
-
fetchCountry
public com.liferay.portal.kernel.model.Country fetchCountry(long countryId) - Specified by:
fetchCountryin interfacecom.liferay.portal.kernel.service.CountryLocalService
-
fetchCountryByUuidAndCompanyId
public com.liferay.portal.kernel.model.Country fetchCountryByUuidAndCompanyId(String uuid, long companyId) Returns the country with the matching UUID and company.- Specified by:
fetchCountryByUuidAndCompanyIdin interfacecom.liferay.portal.kernel.service.CountryLocalService- Parameters:
uuid- the country's UUIDcompanyId- the primary key of the company- Returns:
- the matching country, or
nullif a matching country could not be found
-
getCountry
public com.liferay.portal.kernel.model.Country getCountry(long countryId) throws com.liferay.portal.kernel.exception.PortalException Returns the country with the primary key.- Specified by:
getCountryin interfacecom.liferay.portal.kernel.service.CountryLocalService- Parameters:
countryId- the primary key of the country- Returns:
- the country
- Throws:
com.liferay.portal.kernel.exception.PortalException- if a country with the primary key could not be found
-
getActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()- Specified by:
getActionableDynamicQueryin interfacecom.liferay.portal.kernel.service.CountryLocalService
-
getIndexableActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()- Specified by:
getIndexableActionableDynamicQueryin interfacecom.liferay.portal.kernel.service.CountryLocalService
-
initActionableDynamicQuery
protected void initActionableDynamicQuery(com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery actionableDynamicQuery) -
getExportActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) - Specified by:
getExportActionableDynamicQueryin interfacecom.liferay.portal.kernel.service.CountryLocalService
-
createPersistedModel
public com.liferay.portal.kernel.model.PersistedModel createPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
createPersistedModelin interfacecom.liferay.portal.kernel.service.CountryLocalService- Specified by:
createPersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deletePersistedModel
public com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deletePersistedModelin interfacecom.liferay.portal.kernel.service.CountryLocalService- Specified by:
deletePersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getBasePersistence
public com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Country> getBasePersistence()- Specified by:
getBasePersistencein interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
getPersistedModel
public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getPersistedModelin interfacecom.liferay.portal.kernel.service.CountryLocalService- Specified by:
getPersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCountryByUuidAndCompanyId
public com.liferay.portal.kernel.model.Country getCountryByUuidAndCompanyId(String uuid, long companyId) throws com.liferay.portal.kernel.exception.PortalException Returns the country with the matching UUID and company.- Specified by:
getCountryByUuidAndCompanyIdin interfacecom.liferay.portal.kernel.service.CountryLocalService- Parameters:
uuid- the country's UUIDcompanyId- the primary key of the company- Returns:
- the matching country
- Throws:
com.liferay.portal.kernel.exception.PortalException- if a matching country could not be found
-
getCountries
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.- Specified by:
getCountriesin interfacecom.liferay.portal.kernel.service.CountryLocalService- 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
-
getCountriesCount
public int getCountriesCount()Returns the number of countries.- Specified by:
getCountriesCountin interfacecom.liferay.portal.kernel.service.CountryLocalService- Returns:
- the number of countries
-
updateCountry
@Indexable(type=REINDEX) public com.liferay.portal.kernel.model.Country updateCountry(com.liferay.portal.kernel.model.Country country) Updates the country in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.Important: Inspect CountryLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Specified by:
updateCountryin interfacecom.liferay.portal.kernel.service.CountryLocalService- Parameters:
country- the country- Returns:
- the country that was updated
-
fetchCountryLocalization
public com.liferay.portal.kernel.model.CountryLocalization fetchCountryLocalization(long countryId, String languageId) - Specified by:
fetchCountryLocalizationin interfacecom.liferay.portal.kernel.service.CountryLocalService
-
getCountryLocalization
public com.liferay.portal.kernel.model.CountryLocalization getCountryLocalization(long countryId, String languageId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getCountryLocalizationin interfacecom.liferay.portal.kernel.service.CountryLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCountryLocalizations
public List<com.liferay.portal.kernel.model.CountryLocalization> getCountryLocalizations(long countryId) - Specified by:
getCountryLocalizationsin interfacecom.liferay.portal.kernel.service.CountryLocalService
-
updateCountryLocalization
public com.liferay.portal.kernel.model.CountryLocalization updateCountryLocalization(com.liferay.portal.kernel.model.Country country, String languageId, String title) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateCountryLocalizationin interfacecom.liferay.portal.kernel.service.CountryLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCountryLocalizations
public List<com.liferay.portal.kernel.model.CountryLocalization> updateCountryLocalizations(com.liferay.portal.kernel.model.Country country, Map<String, String> titleMap) throws com.liferay.portal.kernel.exception.PortalException- Specified by:
updateCountryLocalizationsin interfacecom.liferay.portal.kernel.service.CountryLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCountryLocalService
public com.liferay.portal.kernel.service.CountryLocalService getCountryLocalService()Returns the country local service.- Returns:
- the country local service
-
setCountryLocalService
public void setCountryLocalService(com.liferay.portal.kernel.service.CountryLocalService countryLocalService) Sets the country local service.- Parameters:
countryLocalService- the country local service
-
getCountryPersistence
public com.liferay.portal.kernel.service.persistence.CountryPersistence getCountryPersistence()Returns the country persistence.- Returns:
- the country persistence
-
setCountryPersistence
public void setCountryPersistence(com.liferay.portal.kernel.service.persistence.CountryPersistence countryPersistence) Sets the country persistence.- Parameters:
countryPersistence- the country persistence
-
getCounterLocalService
public com.liferay.counter.kernel.service.CounterLocalService getCounterLocalService()Returns the counter local service.- Returns:
- the counter local service
-
setCounterLocalService
public void setCounterLocalService(com.liferay.counter.kernel.service.CounterLocalService counterLocalService) Sets the counter local service.- Parameters:
counterLocalService- the counter local service
-
getCountryLocalizationPersistence
public com.liferay.portal.kernel.service.persistence.CountryLocalizationPersistence getCountryLocalizationPersistence()Returns the country localization persistence.- Returns:
- the country localization persistence
-
setCountryLocalizationPersistence
public void setCountryLocalizationPersistence(com.liferay.portal.kernel.service.persistence.CountryLocalizationPersistence countryLocalizationPersistence) Sets the country localization persistence.- Parameters:
countryLocalizationPersistence- the country localization persistence
-
afterPropertiesSet
public void afterPropertiesSet() -
destroy
public void destroy() -
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifierin interfacecom.liferay.portal.kernel.service.CountryLocalService- Specified by:
getOSGiServiceIdentifierin interfacecom.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService- Returns:
- the OSGi service identifier
-
getCTPersistence
public com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.Country> getCTPersistence()- Specified by:
getCTPersistencein interfacecom.liferay.portal.kernel.service.CountryLocalService- Specified by:
getCTPersistencein interfacecom.liferay.portal.kernel.service.change.tracking.CTService<com.liferay.portal.kernel.model.Country>
-
getModelClass
- Specified by:
getModelClassin interfacecom.liferay.portal.kernel.service.CountryLocalService- Specified by:
getModelClassin interfacecom.liferay.portal.kernel.service.change.tracking.CTService<com.liferay.portal.kernel.model.Country>
-
updateWithUnsafeFunction
public <R,E extends Throwable> R updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.Country>, R, throws EE> updateUnsafeFunction) - Specified by:
updateWithUnsafeFunctionin interfacecom.liferay.portal.kernel.service.CountryLocalService- Specified by:
updateWithUnsafeFunctionin interfacecom.liferay.portal.kernel.service.change.tracking.CTService<com.liferay.portal.kernel.model.Country>- Throws:
E extends Throwable
-
getModelClassName
-
runSQL
Performs a SQL query.- Parameters:
sql- the sql query
-