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 StyleBookEntryaddStyleBookEntry(String externalReferenceCode, long groupId, boolean defaultStyleBookEntry, String frontendTokensValues, String name, String styleBookEntryKey, String themeId, com.liferay.portal.kernel.service.ServiceContext serviceContext) static StyleBookEntryaddStyleBookEntry(String externalReferenceCode, long groupId, String name, String styleBookEntryKey, String themeId, com.liferay.portal.kernel.service.ServiceContext serviceContext) static StyleBookEntryaddStyleBookEntry(String externalReferenceCode, long groupId, String frontendTokensValues, String name, String styleBookEntryKey, String themeId, com.liferay.portal.kernel.service.ServiceContext serviceContext) static StyleBookEntrycopyStyleBookEntry(long groupId, long sourceStyleBookEntryId, com.liferay.portal.kernel.service.ServiceContext serviceContext) static StyleBookEntrydeleteStyleBookEntry(long styleBookEntryId) static StyleBookEntrydeleteStyleBookEntry(StyleBookEntry styleBookEntry) static StyleBookEntrydeleteStyleBookEntry(String externalReferenceCode, long groupId) static StyleBookEntrydiscardDraftStyleBookEntry(long styleBookEntryId) static StyleBookEntryfetchStyleBookEntryByExternalReferenceCode(String externalReferenceCode, long groupId) static StringReturns the OSGi service identifier.static StyleBookEntryServicestatic List<StyleBookEntry> getStyleBookEntries(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<StyleBookEntry> orderByComparator) static List<StyleBookEntry> getStyleBookEntries(long groupId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<StyleBookEntry> orderByComparator) static intgetStyleBookEntriesCount(long groupId) static intgetStyleBookEntriesCount(long groupId, String name) static StyleBookEntrygetStyleBookEntry(long styleBookEntryId) static StyleBookEntrygetStyleBookEntryByExternalReferenceCode(String externalReferenceCode, long groupId) static StyleBookEntrypublishDraft(long styleBookEntryId) static StyleBookEntryupdateDefaultStyleBookEntry(long styleBookEntryId, boolean defaultStyleBookEntry) static StyleBookEntryupdateFrontendTokensValues(long styleBookEntryId, String frontendTokensValues) static StyleBookEntryupdateName(long styleBookEntryId, String name) static StyleBookEntryupdatePreviewFileEntryId(long styleBookEntryId, long previewFileEntryId, com.liferay.portal.kernel.service.ServiceContext serviceContext) static StyleBookEntryupdateStyleBookEntry(long styleBookEntryId, boolean defaultStylebookEntry, String frontendTokensValues, String name, String styleBookEntryKey, long previewFileEntryId, com.liferay.portal.kernel.service.ServiceContext serviceContext) static StyleBookEntryupdateStyleBookEntry(long styleBookEntryId, String frontendTokensValues, String name, com.liferay.portal.kernel.service.ServiceContext serviceContext)
-
Constructor Details
-
StyleBookEntryServiceUtil
public StyleBookEntryServiceUtil()
-
-
Method Details
-
addStyleBookEntry
public static StyleBookEntry addStyleBookEntry(String externalReferenceCode, long groupId, boolean defaultStyleBookEntry, 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
-
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
-
fetchStyleBookEntryByExternalReferenceCode
public static StyleBookEntry fetchStyleBookEntryByExternalReferenceCode(String externalReferenceCode, long groupId) 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
-
getStyleBookEntries
public static List<StyleBookEntry> getStyleBookEntries(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<StyleBookEntry> orderByComparator) throws com.liferay.portal.kernel.security.auth.PrincipalException - Throws:
com.liferay.portal.kernel.security.auth.PrincipalException
-
getStyleBookEntries
public static List<StyleBookEntry> getStyleBookEntries(long groupId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<StyleBookEntry> orderByComparator) throws com.liferay.portal.kernel.security.auth.PrincipalException - Throws:
com.liferay.portal.kernel.security.auth.PrincipalException
-
getStyleBookEntriesCount
public static int getStyleBookEntriesCount(long groupId) throws com.liferay.portal.kernel.security.auth.PrincipalException - Throws:
com.liferay.portal.kernel.security.auth.PrincipalException
-
getStyleBookEntriesCount
public static int getStyleBookEntriesCount(long groupId, String name) throws com.liferay.portal.kernel.security.auth.PrincipalException - Throws:
com.liferay.portal.kernel.security.auth.PrincipalException
-
getStyleBookEntry
public static StyleBookEntry getStyleBookEntry(long styleBookEntryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
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, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateStyleBookEntry
public static StyleBookEntry updateStyleBookEntry(long styleBookEntryId, boolean defaultStylebookEntry, String frontendTokensValues, String name, String styleBookEntryKey, long previewFileEntryId, com.liferay.portal.kernel.service.ServiceContext serviceContext) 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, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getService
-