Class TranslationEntryServiceUtil

java.lang.Object
com.liferay.translation.service.TranslationEntryServiceUtil

public class TranslationEntryServiceUtil extends Object
Provides the remote service utility for TranslationEntry. This utility wraps com.liferay.translation.service.impl.TranslationEntryServiceImpl and is an access point for service operations in application layer code running on a remote server. 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:
  • Constructor Details

    • TranslationEntryServiceUtil

      public TranslationEntryServiceUtil()
  • Method Details

    • addOrUpdateTranslationEntry

      public static TranslationEntry addOrUpdateTranslationEntry(long groupId, com.liferay.info.item.InfoItemReference infoItemReference, String content, String contentType, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addOrUpdateTranslationEntry

      public static TranslationEntry addOrUpdateTranslationEntry(long groupId, String sourceLanguageId, String targetLanguageId, com.liferay.info.item.InfoItemReference infoItemReference, com.liferay.info.item.InfoItemFieldValues infoItemFieldValues, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteTranslationEntry

      public static TranslationEntry deleteTranslationEntry(long translationEntryId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getOSGiServiceIdentifier

      public static String getOSGiServiceIdentifier()
      Returns the OSGi service identifier.
      Returns:
      the OSGi service identifier
    • getService

      public static TranslationEntryService getService()