Class LayoutContentVersionServiceUtil
java.lang.Object
com.liferay.layout.content.service.LayoutContentVersionServiceUtil
Provides the remote service utility for LayoutContentVersion. This utility wraps
com.liferay.layout.content.service.impl.LayoutContentVersionServiceImpl 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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic LayoutContentVersionaddLayoutContentVersion(String externalReferenceCode, String data, Map<Locale, String> nameMap, long plid, int status) static LayoutContentVersionaddOrUpdateLayoutContentVersion(String externalReferenceCode, String data, Map<Locale, String> nameMap, long plid, int status) static LayoutContentVersiondeleteLayoutContentVersion(long layoutContentVersionId) static LayoutContentVersiongetLayoutContentVersion(long layoutContentVersionId) static LayoutContentVersiongetLayoutContentVersionByExternalReferenceCode(String externalReferenceCode, long groupId) static List<LayoutContentVersion> getLayoutContentVersions(long plid) static StringReturns the OSGi service identifier.static LayoutContentVersionServicestatic LayoutContentVersionupdateLayoutContentVersion(long layoutContentVersionId, Map<Locale, String> nameMap)
-
Constructor Details
-
LayoutContentVersionServiceUtil
public LayoutContentVersionServiceUtil()
-
-
Method Details
-
addLayoutContentVersion
public static LayoutContentVersion addLayoutContentVersion(String externalReferenceCode, String data, Map<Locale, String> nameMap, long plid, int status) throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addOrUpdateLayoutContentVersion
public static LayoutContentVersion addOrUpdateLayoutContentVersion(String externalReferenceCode, String data, Map<Locale, String> nameMap, long plid, int status) throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteLayoutContentVersion
public static LayoutContentVersion deleteLayoutContentVersion(long layoutContentVersionId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getLayoutContentVersion
public static LayoutContentVersion getLayoutContentVersion(long layoutContentVersionId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getLayoutContentVersionByExternalReferenceCode
public static LayoutContentVersion getLayoutContentVersionByExternalReferenceCode(String externalReferenceCode, long groupId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getLayoutContentVersions
public static List<LayoutContentVersion> getLayoutContentVersions(long plid) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
updateLayoutContentVersion
public static LayoutContentVersion updateLayoutContentVersion(long layoutContentVersionId, Map<Locale, String> nameMap) throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getService
-