Package com.liferay.portal.service.impl
Class CountryServiceImpl
Object
com.liferay.portal.kernel.service.BaseServiceImpl
com.liferay.portal.service.base.CountryServiceBaseImpl
com.liferay.portal.service.impl.CountryServiceImpl
- All Implemented Interfaces:
com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService,com.liferay.portal.kernel.service.BaseService,com.liferay.portal.kernel.service.CountryService
- Author:
- Brian Wing Shun Chan
-
Field Summary
Fields inherited from class com.liferay.portal.service.base.CountryServiceBaseImpl
counterLocalService, countryLocalizationPersistence, countryLocalService, countryPersistence, countryServiceFields inherited from class com.liferay.portal.kernel.service.BaseServiceImpl
ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.liferay.portal.kernel.model.CountryaddCountry(String externalReferenceCode, String a2, String a3, boolean active, boolean billingAllowed, String idd, String name, String number, double position, boolean shippingAllowed, boolean subjectToVAT, boolean zipRequired, com.liferay.portal.kernel.service.ServiceContext serviceContext) com.liferay.portal.kernel.model.CountryDeprecated.As of Cavanaugh (7.4.x)voiddeleteCountry(long countryId) com.liferay.portal.kernel.model.CountryfetchCountry(long countryId) com.liferay.portal.kernel.model.CountryfetchCountryByA2(long companyId, String a2) com.liferay.portal.kernel.model.CountryDeprecated.As of Cavanaugh (7.4.x)com.liferay.portal.kernel.model.CountryfetchCountryByA3(long companyId, String a3) com.liferay.portal.kernel.model.CountryDeprecated.As of Cavanaugh (7.4.x)com.liferay.portal.kernel.model.CountryfetchCountryByExternalReferenceCode(String externalReferenceCode, long companyId) List<com.liferay.portal.kernel.model.Country>getCompanyCountries(long companyId) List<com.liferay.portal.kernel.model.Country>getCompanyCountries(long companyId, boolean active) List<com.liferay.portal.kernel.model.Country>getCompanyCountries(long companyId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator) List<com.liferay.portal.kernel.model.Country>getCompanyCountries(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator) intgetCompanyCountriesCount(long companyId) intgetCompanyCountriesCount(long companyId, boolean active) List<com.liferay.portal.kernel.model.Country>Deprecated.As of Cavanaugh (7.4.x)List<com.liferay.portal.kernel.model.Country>getCountries(boolean active) Deprecated.As of Cavanaugh (7.4.x)com.liferay.portal.kernel.model.CountrygetCountry(long countryId) com.liferay.portal.kernel.model.CountrygetCountryByA2(long companyId, String a2) com.liferay.portal.kernel.model.CountrygetCountryByA2(String a2) Deprecated.As of Cavanaugh (7.4.x)com.liferay.portal.kernel.model.CountrygetCountryByA3(long companyId, String a3) com.liferay.portal.kernel.model.CountrygetCountryByA3(String a3) Deprecated.As of Cavanaugh (7.4.x)com.liferay.portal.kernel.model.CountrygetCountryByExternalReferenceCode(String externalReferenceCode, long companyId) com.liferay.portal.kernel.model.CountrygetCountryByName(long companyId, String name) com.liferay.portal.kernel.model.CountrygetCountryByName(String name) Deprecated.As of Cavanaugh (7.4.x)com.liferay.portal.kernel.model.CountrygetCountryByNumber(long companyId, String number) com.liferay.portal.kernel.search.BaseModelSearchResult<com.liferay.portal.kernel.model.Country>searchCountries(long companyId, Boolean active, String keywords, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator) com.liferay.portal.kernel.model.CountryupdateActive(long countryId, boolean active) com.liferay.portal.kernel.model.CountryupdateCountry(String externalReferenceCode, long countryId, String a2, String a3, boolean active, boolean billingAllowed, String idd, String name, String number, double position, boolean shippingAllowed, boolean subjectToVAT) com.liferay.portal.kernel.model.CountryupdateGroupFilterEnabled(long countryId, boolean groupFilterEnabled) Methods inherited from class com.liferay.portal.service.base.CountryServiceBaseImpl
afterPropertiesSet, destroy, getCounterLocalService, getCountryLocalizationPersistence, getCountryLocalService, getCountryPersistence, getCountryService, getModelClass, getModelClassName, getOSGiServiceIdentifier, runSQL, setCounterLocalService, setCountryLocalizationPersistence, setCountryLocalService, setCountryPersistence, setCountryServiceMethods inherited from class com.liferay.portal.kernel.service.BaseServiceImpl
getClassLoader, getGuestOrUser, getGuestOrUserId, getPermissionChecker, getUser, getUserId
-
Constructor Details
-
CountryServiceImpl
public CountryServiceImpl()
-
-
Method Details
-
addCountry
public com.liferay.portal.kernel.model.Country addCountry(String externalReferenceCode, String a2, String a3, boolean active, boolean billingAllowed, String idd, String name, String number, double position, boolean shippingAllowed, boolean subjectToVAT, boolean zipRequired, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
addCountry
@Deprecated public com.liferay.portal.kernel.model.Country addCountry(String name, String a2, String a3, String number, String idd, boolean active) throws com.liferay.portal.kernel.exception.PortalException Deprecated.As of Cavanaugh (7.4.x)- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCountry
public void deleteCountry(long countryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchCountry
public com.liferay.portal.kernel.model.Country fetchCountry(long countryId) -
fetchCountryByA2
-
fetchCountryByA2
Deprecated.As of Cavanaugh (7.4.x) -
fetchCountryByA3
-
fetchCountryByA3
Deprecated.As of Cavanaugh (7.4.x) -
fetchCountryByExternalReferenceCode
public com.liferay.portal.kernel.model.Country fetchCountryByExternalReferenceCode(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCompanyCountries
-
getCompanyCountries
@AccessControlled(guestAccessEnabled=true) public List<com.liferay.portal.kernel.model.Country> getCompanyCountries(long companyId, boolean active) -
getCompanyCountries
public List<com.liferay.portal.kernel.model.Country> getCompanyCountries(long companyId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator) -
getCompanyCountries
public List<com.liferay.portal.kernel.model.Country> getCompanyCountries(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator) -
getCompanyCountriesCount
public int getCompanyCountriesCount(long companyId) -
getCompanyCountriesCount
public int getCompanyCountriesCount(long companyId, boolean active) -
getCountries
Deprecated.As of Cavanaugh (7.4.x) -
getCountries
@AccessControlled(guestAccessEnabled=true) @Deprecated public List<com.liferay.portal.kernel.model.Country> getCountries(boolean active) Deprecated.As of Cavanaugh (7.4.x) -
getCountry
public com.liferay.portal.kernel.model.Country getCountry(long countryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCountryByA2
public com.liferay.portal.kernel.model.Country getCountryByA2(long companyId, String a2) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCountryByA2
@Deprecated public com.liferay.portal.kernel.model.Country getCountryByA2(String a2) throws com.liferay.portal.kernel.exception.PortalException Deprecated.As of Cavanaugh (7.4.x)- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCountryByA3
public com.liferay.portal.kernel.model.Country getCountryByA3(long companyId, String a3) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCountryByA3
@Deprecated public com.liferay.portal.kernel.model.Country getCountryByA3(String a3) throws com.liferay.portal.kernel.exception.PortalException Deprecated.As of Cavanaugh (7.4.x)- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCountryByExternalReferenceCode
public com.liferay.portal.kernel.model.Country getCountryByExternalReferenceCode(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCountryByName
public com.liferay.portal.kernel.model.Country getCountryByName(long companyId, String name) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCountryByName
@Deprecated public com.liferay.portal.kernel.model.Country getCountryByName(String name) throws com.liferay.portal.kernel.exception.PortalException Deprecated.As of Cavanaugh (7.4.x)- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCountryByNumber
public com.liferay.portal.kernel.model.Country getCountryByNumber(long companyId, String number) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
searchCountries
@JSONWebService(mode=IGNORE) public com.liferay.portal.kernel.search.BaseModelSearchResult<com.liferay.portal.kernel.model.Country> searchCountries(long companyId, Boolean active, String keywords, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Country> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateActive
public com.liferay.portal.kernel.model.Country updateActive(long countryId, boolean active) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateCountry
public com.liferay.portal.kernel.model.Country updateCountry(String externalReferenceCode, long countryId, String a2, String a3, boolean active, boolean billingAllowed, String idd, String name, String number, double position, boolean shippingAllowed, boolean subjectToVAT) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateGroupFilterEnabled
public com.liferay.portal.kernel.model.Country updateGroupFilterEnabled(long countryId, boolean groupFilterEnabled) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-