Package com.liferay.style.book.service
Class StyleBookEntryServiceUtil
java.lang.Object
com.liferay.style.book.service.StyleBookEntryServiceUtil
Provides the remote service utility for StyleBookEntry. This utility wraps
com.liferay.style.book.service.impl.StyleBookEntryServiceImpl
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 StyleBookEntry
addStyleBookEntry
(String externalReferenceCode, long groupId, String name, String styleBookEntryKey, String themeId, com.liferay.portal.kernel.service.ServiceContext serviceContext) static StyleBookEntry
addStyleBookEntry
(String externalReferenceCode, long groupId, String frontendTokensValues, String name, String styleBookEntryKey, String themeId, com.liferay.portal.kernel.service.ServiceContext serviceContext) static StyleBookEntry
copyStyleBookEntry
(long groupId, long sourceStyleBookEntryId, com.liferay.portal.kernel.service.ServiceContext serviceContext) static StyleBookEntry
deleteStyleBookEntry
(long styleBookEntryId) static StyleBookEntry
deleteStyleBookEntry
(StyleBookEntry styleBookEntry) static StyleBookEntry
deleteStyleBookEntry
(String externalReferenceCode, long groupId) static StyleBookEntry
discardDraftStyleBookEntry
(long styleBookEntryId) static String
Returns the OSGi service identifier.static StyleBookEntryService
static StyleBookEntry
getStyleBookEntryByExternalReferenceCode
(String externalReferenceCode, long groupId) static StyleBookEntry
publishDraft
(long styleBookEntryId) static StyleBookEntry
updateDefaultStyleBookEntry
(long styleBookEntryId, boolean defaultStyleBookEntry) static StyleBookEntry
updateFrontendTokensValues
(long styleBookEntryId, String frontendTokensValues) static StyleBookEntry
updateName
(long styleBookEntryId, String name) static StyleBookEntry
updatePreviewFileEntryId
(long styleBookEntryId, long previewFileEntryId) static StyleBookEntry
updateStyleBookEntry
(long styleBookEntryId, String frontendTokensValues, String name)
-
Constructor Details
-
StyleBookEntryServiceUtil
public StyleBookEntryServiceUtil()
-
-
Method Details
-
addStyleBookEntry
public static StyleBookEntry addStyleBookEntry(String externalReferenceCode, long groupId, String name, String styleBookEntryKey, String themeId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
addStyleBookEntry
public static StyleBookEntry addStyleBookEntry(String externalReferenceCode, long groupId, String frontendTokensValues, String name, String styleBookEntryKey, String themeId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
copyStyleBookEntry
public static StyleBookEntry copyStyleBookEntry(long groupId, long sourceStyleBookEntryId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteStyleBookEntry
public static StyleBookEntry deleteStyleBookEntry(long styleBookEntryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteStyleBookEntry
public static StyleBookEntry deleteStyleBookEntry(String externalReferenceCode, long groupId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteStyleBookEntry
public static StyleBookEntry deleteStyleBookEntry(StyleBookEntry styleBookEntry) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
discardDraftStyleBookEntry
public static StyleBookEntry discardDraftStyleBookEntry(long styleBookEntryId) 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
-
getStyleBookEntryByExternalReferenceCode
public static StyleBookEntry getStyleBookEntryByExternalReferenceCode(String externalReferenceCode, long groupId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
publishDraft
public static StyleBookEntry publishDraft(long styleBookEntryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateDefaultStyleBookEntry
public static StyleBookEntry updateDefaultStyleBookEntry(long styleBookEntryId, boolean defaultStyleBookEntry) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateFrontendTokensValues
public static StyleBookEntry updateFrontendTokensValues(long styleBookEntryId, String frontendTokensValues) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateName
public static StyleBookEntry updateName(long styleBookEntryId, String name) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updatePreviewFileEntryId
public static StyleBookEntry updatePreviewFileEntryId(long styleBookEntryId, long previewFileEntryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateStyleBookEntry
public static StyleBookEntry updateStyleBookEntry(long styleBookEntryId, String frontendTokensValues, String name) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getService
-