Interface CPOptionValueService

All Superinterfaces:
com.liferay.portal.kernel.service.BaseService
All Known Implementing Classes:
CPOptionValueServiceWrapper

@AccessControlled @CTAware @JSONWebService @ProviderType @Transactional(isolation=PORTAL, rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.SystemException.class}) public interface CPOptionValueService extends com.liferay.portal.kernel.service.BaseService
Provides the remote service interface for CPOptionValue. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.
See Also:
Generated:
  • Method Details

    • addCPOptionValue

      CPOptionValue addCPOptionValue(long cpOptionId, Map<Locale,String> nameMap, double priority, String key, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addOrUpdateCPOptionValue

      CPOptionValue addOrUpdateCPOptionValue(String externalReferenceCode, long cpOptionId, Map<Locale,String> nameMap, double priority, String key, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteCPOptionValue

      void deleteCPOptionValue(long cpOptionValueId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • fetchCPOptionValue

      @Transactional(propagation=SUPPORTS, readOnly=true) CPOptionValue fetchCPOptionValue(long cpOptionValueId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • fetchCPOptionValueByExternalReferenceCode

      @Transactional(propagation=SUPPORTS, readOnly=true) CPOptionValue fetchCPOptionValueByExternalReferenceCode(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCPOptionValue

      @Transactional(propagation=SUPPORTS, readOnly=true) CPOptionValue getCPOptionValue(long cpOptionValueId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCPOptionValues

      @Transactional(propagation=SUPPORTS, readOnly=true) List<CPOptionValue> getCPOptionValues(long cpOptionId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCPOptionValuesCount

      @Transactional(propagation=SUPPORTS, readOnly=true) int getCPOptionValuesCount(long cpOptionId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getOSGiServiceIdentifier

      String getOSGiServiceIdentifier()
      Returns the OSGi service identifier.
      Returns:
      the OSGi service identifier
    • searchCPOptionValues

      @Transactional(propagation=SUPPORTS, readOnly=true) com.liferay.portal.kernel.search.BaseModelSearchResult<CPOptionValue> searchCPOptionValues(long companyId, long cpOptionId, String keywords, int start, int end, com.liferay.portal.kernel.search.Sort[] sorts) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • searchCPOptionValuesCount

      @Transactional(propagation=SUPPORTS, readOnly=true) int searchCPOptionValuesCount(long companyId, long cpOptionId, String keywords) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateCPOptionValue

      CPOptionValue updateCPOptionValue(long cpOptionValueId, Map<Locale,String> nameMap, double priority, String key, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException