public class FragmentEntryServiceUtil
extends java.lang.Object
com.liferay.fragment.service.impl.FragmentEntryServiceImpl
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.FragmentEntryService
Constructor and Description |
---|
FragmentEntryServiceUtil() |
Modifier and Type | Method and Description |
---|---|
static FragmentEntry |
addFragmentEntry(long groupId,
long fragmentCollectionId,
java.lang.String fragmentEntryKey,
java.lang.String name,
java.lang.String css,
java.lang.String html,
java.lang.String js,
java.lang.String configuration,
long previewFileEntryId,
int type,
int status,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static FragmentEntry |
addFragmentEntry(java.lang.String externalReferenceCode,
long groupId,
long fragmentCollectionId,
java.lang.String fragmentEntryKey,
java.lang.String name,
java.lang.String css,
java.lang.String html,
java.lang.String js,
boolean cacheable,
java.lang.String configuration,
java.lang.String icon,
long previewFileEntryId,
boolean readOnly,
int type,
java.lang.String typeOptions,
int status,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static FragmentEntry |
copyFragmentEntry(long groupId,
long sourceFragmentEntryId,
long fragmentCollectionId,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static void |
deleteFragmentEntries(long[] fragmentEntriesIds) |
static FragmentEntry |
deleteFragmentEntry(long fragmentEntryId) |
static FragmentEntry |
deleteFragmentEntry(java.lang.String externalReferenceCode,
long groupId) |
static FragmentEntry |
fetchDraft(long primaryKey) |
static FragmentEntry |
fetchFragmentEntry(long fragmentEntryId) |
static FragmentEntry |
getDraft(long primaryKey) |
static java.util.List<java.lang.Object> |
getFragmentCompositionsAndFragmentEntries(long groupId,
long fragmentCollectionId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<?> orderByComparator) |
static java.util.List<java.lang.Object> |
getFragmentCompositionsAndFragmentEntries(long groupId,
long fragmentCollectionId,
java.lang.String name,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<?> orderByComparator) |
static int |
getFragmentCompositionsAndFragmentEntriesCount(long groupId,
long fragmentCollectionId,
int status) |
static int |
getFragmentCompositionsAndFragmentEntriesCount(long groupId,
long fragmentCollectionId,
java.lang.String name,
int status) |
static java.util.List<FragmentEntry> |
getFragmentEntries(long fragmentCollectionId) |
static java.util.List<FragmentEntry> |
getFragmentEntries(long groupId,
long fragmentCollectionId,
int start,
int end) |
static java.util.List<FragmentEntry> |
getFragmentEntries(long groupId,
long fragmentCollectionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<FragmentEntry> orderByComparator) |
static java.util.List<FragmentEntry> |
getFragmentEntriesByName(long groupId,
long fragmentCollectionId,
java.lang.String name,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<FragmentEntry> orderByComparator) |
static java.util.List<FragmentEntry> |
getFragmentEntriesByNameAndStatus(long groupId,
long fragmentCollectionId,
java.lang.String name,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<FragmentEntry> orderByComparator) |
static java.util.List<FragmentEntry> |
getFragmentEntriesByStatus(long groupId,
long fragmentCollectionId,
int status) |
static java.util.List<FragmentEntry> |
getFragmentEntriesByStatus(long groupId,
long fragmentCollectionId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<FragmentEntry> orderByComparator) |
static java.util.List<FragmentEntry> |
getFragmentEntriesByType(long groupId,
long fragmentCollectionId,
int type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<FragmentEntry> orderByComparator) |
static java.util.List<FragmentEntry> |
getFragmentEntriesByTypeAndStatus(long groupId,
long fragmentCollectionId,
int type,
int status) |
static java.util.List<FragmentEntry> |
getFragmentEntriesByTypeAndStatus(long groupId,
long fragmentCollectionId,
int type,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<FragmentEntry> orderByComparator) |
static int |
getFragmentEntriesCount(long groupId,
long fragmentCollectionId) |
static int |
getFragmentEntriesCountByName(long groupId,
long fragmentCollectionId,
java.lang.String name) |
static int |
getFragmentEntriesCountByNameAndStatus(long groupId,
long fragmentCollectionId,
java.lang.String name,
int status) |
static int |
getFragmentEntriesCountByStatus(long groupId,
long fragmentCollectionId,
int status) |
static int |
getFragmentEntriesCountByType(long groupId,
long fragmentCollectionId,
int type) |
static int |
getFragmentEntriesCountByTypeAndStatus(long groupId,
long fragmentCollectionId,
int type,
int status) |
static FragmentEntry |
getFragmentEntryByExternalReferenceCode(java.lang.String externalReferenceCode,
long groupId) |
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static FragmentEntryService |
getService() |
static java.lang.String[] |
getTempFileNames(long groupId,
java.lang.String folderName) |
static FragmentEntry |
moveFragmentEntry(long fragmentEntryId,
long fragmentCollectionId) |
static FragmentEntry |
publishDraft(FragmentEntry draftFragmentEntry) |
static FragmentEntry |
updateDraft(FragmentEntry draftFragmentEntry) |
static FragmentEntry |
updateFragmentEntry(FragmentEntry fragmentEntry) |
static FragmentEntry |
updateFragmentEntry(long fragmentEntryId,
boolean cacheable) |
static FragmentEntry |
updateFragmentEntry(long fragmentEntryId,
long previewFileEntryId) |
static FragmentEntry |
updateFragmentEntry(long fragmentEntryId,
long fragmentCollectionId,
java.lang.String name,
java.lang.String css,
java.lang.String html,
java.lang.String js,
boolean cacheable,
java.lang.String configuration,
java.lang.String icon,
long previewFileEntryId,
boolean readOnly,
java.lang.String typeOptions,
int status) |
static FragmentEntry |
updateFragmentEntry(long fragmentEntryId,
java.lang.String name) |
public static FragmentEntry addFragmentEntry(long groupId, long fragmentCollectionId, java.lang.String fragmentEntryKey, java.lang.String name, java.lang.String css, java.lang.String html, java.lang.String js, java.lang.String configuration, long previewFileEntryId, int type, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static FragmentEntry addFragmentEntry(java.lang.String externalReferenceCode, long groupId, long fragmentCollectionId, java.lang.String fragmentEntryKey, java.lang.String name, java.lang.String css, java.lang.String html, java.lang.String js, boolean cacheable, java.lang.String configuration, java.lang.String icon, long previewFileEntryId, boolean readOnly, int type, java.lang.String typeOptions, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static FragmentEntry copyFragmentEntry(long groupId, long sourceFragmentEntryId, long fragmentCollectionId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void deleteFragmentEntries(long[] fragmentEntriesIds) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static FragmentEntry deleteFragmentEntry(long fragmentEntryId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static FragmentEntry deleteFragmentEntry(java.lang.String externalReferenceCode, long groupId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static FragmentEntry fetchDraft(long primaryKey)
public static FragmentEntry fetchFragmentEntry(long fragmentEntryId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static FragmentEntry getDraft(long primaryKey) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.util.List<java.lang.Object> getFragmentCompositionsAndFragmentEntries(long groupId, long fragmentCollectionId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<?> orderByComparator)
public static java.util.List<java.lang.Object> getFragmentCompositionsAndFragmentEntries(long groupId, long fragmentCollectionId, java.lang.String name, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<?> orderByComparator)
public static int getFragmentCompositionsAndFragmentEntriesCount(long groupId, long fragmentCollectionId, int status)
public static int getFragmentCompositionsAndFragmentEntriesCount(long groupId, long fragmentCollectionId, java.lang.String name, int status)
public static java.util.List<FragmentEntry> getFragmentEntries(long fragmentCollectionId)
public static java.util.List<FragmentEntry> getFragmentEntries(long groupId, long fragmentCollectionId, int start, int end)
public static java.util.List<FragmentEntry> getFragmentEntries(long groupId, long fragmentCollectionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentEntry> orderByComparator)
public static java.util.List<FragmentEntry> getFragmentEntriesByName(long groupId, long fragmentCollectionId, java.lang.String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentEntry> orderByComparator)
public static java.util.List<FragmentEntry> getFragmentEntriesByNameAndStatus(long groupId, long fragmentCollectionId, java.lang.String name, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentEntry> orderByComparator)
public static java.util.List<FragmentEntry> getFragmentEntriesByStatus(long groupId, long fragmentCollectionId, int status)
public static java.util.List<FragmentEntry> getFragmentEntriesByStatus(long groupId, long fragmentCollectionId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentEntry> orderByComparator)
public static java.util.List<FragmentEntry> getFragmentEntriesByType(long groupId, long fragmentCollectionId, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentEntry> orderByComparator)
public static java.util.List<FragmentEntry> getFragmentEntriesByTypeAndStatus(long groupId, long fragmentCollectionId, int type, int status)
public static java.util.List<FragmentEntry> getFragmentEntriesByTypeAndStatus(long groupId, long fragmentCollectionId, int type, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentEntry> orderByComparator)
public static int getFragmentEntriesCount(long groupId, long fragmentCollectionId)
public static int getFragmentEntriesCountByName(long groupId, long fragmentCollectionId, java.lang.String name)
public static int getFragmentEntriesCountByNameAndStatus(long groupId, long fragmentCollectionId, java.lang.String name, int status)
public static int getFragmentEntriesCountByStatus(long groupId, long fragmentCollectionId, int status)
public static int getFragmentEntriesCountByType(long groupId, long fragmentCollectionId, int type)
public static int getFragmentEntriesCountByTypeAndStatus(long groupId, long fragmentCollectionId, int type, int status)
public static FragmentEntry getFragmentEntryByExternalReferenceCode(java.lang.String externalReferenceCode, long groupId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.lang.String getOSGiServiceIdentifier()
public static java.lang.String[] getTempFileNames(long groupId, java.lang.String folderName) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static FragmentEntry moveFragmentEntry(long fragmentEntryId, long fragmentCollectionId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static FragmentEntry publishDraft(FragmentEntry draftFragmentEntry) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static FragmentEntry updateDraft(FragmentEntry draftFragmentEntry) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static FragmentEntry updateFragmentEntry(FragmentEntry fragmentEntry) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static FragmentEntry updateFragmentEntry(long fragmentEntryId, boolean cacheable) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static FragmentEntry updateFragmentEntry(long fragmentEntryId, long previewFileEntryId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static FragmentEntry updateFragmentEntry(long fragmentEntryId, long fragmentCollectionId, java.lang.String name, java.lang.String css, java.lang.String html, java.lang.String js, boolean cacheable, java.lang.String configuration, java.lang.String icon, long previewFileEntryId, boolean readOnly, java.lang.String typeOptions, int status) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static FragmentEntry updateFragmentEntry(long fragmentEntryId, java.lang.String name) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static FragmentEntryService getService()