public class StyleBookEntryServiceUtil
extends java.lang.Object
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.StyleBookEntryService
Constructor and Description |
---|
StyleBookEntryServiceUtil() |
Modifier and Type | Method and Description |
---|---|
static StyleBookEntry |
addStyleBookEntry(long groupId,
java.lang.String name,
java.lang.String styleBookEntryKey,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static StyleBookEntry |
addStyleBookEntry(long groupId,
java.lang.String frontendTokensValues,
java.lang.String name,
java.lang.String styleBookEntryKey,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static StyleBookEntry |
copyStyleBookEntry(long groupId,
long styleBookEntryId,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static StyleBookEntry |
deleteStyleBookEntry(long styleBookEntryId) |
static StyleBookEntry |
deleteStyleBookEntry(StyleBookEntry styleBookEntry) |
static StyleBookEntry |
discardDraftStyleBookEntry(long styleBookEntryId) |
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static StyleBookEntryService |
getService() |
static StyleBookEntry |
publishDraft(long styleBookEntryId) |
static StyleBookEntry |
updateDefaultStyleBookEntry(long styleBookEntryId,
boolean defaultStyleBookEntry) |
static StyleBookEntry |
updateFrontendTokensValues(long styleBookEntryId,
java.lang.String frontendTokensValues) |
static StyleBookEntry |
updateName(long styleBookEntryId,
java.lang.String name) |
static StyleBookEntry |
updatePreviewFileEntryId(long styleBookEntryId,
long previewFileEntryId) |
static StyleBookEntry |
updateStyleBookEntry(long styleBookEntryId,
java.lang.String frontendTokensValues,
java.lang.String name) |
public static StyleBookEntry addStyleBookEntry(long groupId, java.lang.String name, java.lang.String styleBookEntryKey, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static StyleBookEntry addStyleBookEntry(long groupId, java.lang.String frontendTokensValues, java.lang.String name, java.lang.String styleBookEntryKey, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static StyleBookEntry copyStyleBookEntry(long groupId, long styleBookEntryId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static StyleBookEntry deleteStyleBookEntry(long styleBookEntryId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static StyleBookEntry deleteStyleBookEntry(StyleBookEntry styleBookEntry) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static StyleBookEntry discardDraftStyleBookEntry(long styleBookEntryId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.lang.String getOSGiServiceIdentifier()
public static StyleBookEntry publishDraft(long styleBookEntryId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static StyleBookEntry updateDefaultStyleBookEntry(long styleBookEntryId, boolean defaultStyleBookEntry) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static StyleBookEntry updateFrontendTokensValues(long styleBookEntryId, java.lang.String frontendTokensValues) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static StyleBookEntry updateName(long styleBookEntryId, java.lang.String name) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static StyleBookEntry updatePreviewFileEntryId(long styleBookEntryId, long previewFileEntryId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static StyleBookEntry updateStyleBookEntry(long styleBookEntryId, java.lang.String frontendTokensValues, java.lang.String name) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static StyleBookEntryService getService()