Package com.liferay.fragment.service
Class FragmentEntryServiceUtil
java.lang.Object
com.liferay.fragment.service.FragmentEntryServiceUtil
Provides the remote service utility for FragmentEntry. This utility wraps
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.- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic FragmentEntryaddFragmentEntry(long groupId, long fragmentCollectionId, String fragmentEntryKey, String name, String css, String html, String js, String configuration, long previewFileEntryId, int type, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) static FragmentEntryaddFragmentEntry(String externalReferenceCode, long groupId, long fragmentCollectionId, String fragmentEntryKey, String name, String css, String html, String js, boolean cacheable, String configuration, String icon, long previewFileEntryId, boolean readOnly, int type, String typeOptions, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) static FragmentEntrycopyFragmentEntry(long groupId, long sourceFragmentEntryId, long fragmentCollectionId, com.liferay.portal.kernel.service.ServiceContext serviceContext) static voiddeleteFragmentEntries(long[] fragmentEntriesIds) static FragmentEntrydeleteFragmentEntry(long fragmentEntryId) static FragmentEntrydeleteFragmentEntry(String externalReferenceCode, long groupId) static FragmentEntryfetchDraft(long primaryKey) static FragmentEntryfetchFragmentEntry(long fragmentEntryId) static FragmentEntrygetDraft(long primaryKey) getFragmentCompositionsAndFragmentEntries(long groupId, long fragmentCollectionId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<?> orderByComparator) getFragmentCompositionsAndFragmentEntries(long groupId, long fragmentCollectionId, String name, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<?> orderByComparator) static intgetFragmentCompositionsAndFragmentEntriesCount(long groupId, long fragmentCollectionId, int status) static intgetFragmentCompositionsAndFragmentEntriesCount(long groupId, long fragmentCollectionId, String name, int status) static List<FragmentEntry>getFragmentEntries(long fragmentCollectionId) static List<FragmentEntry>getFragmentEntries(long groupId, long fragmentCollectionId, int start, int end) static List<FragmentEntry>getFragmentEntries(long groupId, long fragmentCollectionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentEntry> orderByComparator) static List<FragmentEntry>getFragmentEntriesByName(long groupId, long fragmentCollectionId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentEntry> orderByComparator) static List<FragmentEntry>getFragmentEntriesByNameAndStatus(long groupId, long fragmentCollectionId, String name, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentEntry> orderByComparator) static List<FragmentEntry>getFragmentEntriesByStatus(long groupId, long fragmentCollectionId, int status) static List<FragmentEntry>getFragmentEntriesByStatus(long groupId, long fragmentCollectionId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentEntry> orderByComparator) static List<FragmentEntry>getFragmentEntriesByType(long groupId, long fragmentCollectionId, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentEntry> orderByComparator) static List<FragmentEntry>getFragmentEntriesByTypeAndStatus(long groupId, long fragmentCollectionId, int type, int status) static List<FragmentEntry>getFragmentEntriesByTypeAndStatus(long groupId, long fragmentCollectionId, int type, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentEntry> orderByComparator) static intgetFragmentEntriesCount(long groupId, long fragmentCollectionId) static intgetFragmentEntriesCountByName(long groupId, long fragmentCollectionId, String name) static intgetFragmentEntriesCountByNameAndStatus(long groupId, long fragmentCollectionId, String name, int status) static intgetFragmentEntriesCountByStatus(long groupId, long fragmentCollectionId, int status) static intgetFragmentEntriesCountByType(long groupId, long fragmentCollectionId, int type) static intgetFragmentEntriesCountByTypeAndStatus(long groupId, long fragmentCollectionId, int type, int status) static FragmentEntrygetFragmentEntryByExternalReferenceCode(String externalReferenceCode, long groupId) static StringReturns the OSGi service identifier.static FragmentEntryServicestatic String[]getTempFileNames(long groupId, String folderName) static FragmentEntrymoveFragmentEntry(long fragmentEntryId, long fragmentCollectionId) static FragmentEntrypublishDraft(FragmentEntry draftFragmentEntry) static FragmentEntryupdateDraft(FragmentEntry draftFragmentEntry) static FragmentEntryupdateFragmentEntry(long fragmentEntryId, boolean cacheable) static FragmentEntryupdateFragmentEntry(long fragmentEntryId, long previewFileEntryId) static FragmentEntryupdateFragmentEntry(long fragmentEntryId, long fragmentCollectionId, String name, String css, String html, String js, boolean cacheable, String configuration, String icon, long previewFileEntryId, boolean readOnly, String typeOptions, int status) static FragmentEntryupdateFragmentEntry(long fragmentEntryId, String name) static FragmentEntryupdateFragmentEntry(FragmentEntry fragmentEntry)
-
Constructor Details
-
FragmentEntryServiceUtil
public FragmentEntryServiceUtil()
-
-
Method Details
-
addFragmentEntry
public static FragmentEntry addFragmentEntry(long groupId, long fragmentCollectionId, String fragmentEntryKey, String name, String css, String html, String js, String configuration, long previewFileEntryId, int type, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
addFragmentEntry
public static FragmentEntry addFragmentEntry(String externalReferenceCode, long groupId, long fragmentCollectionId, String fragmentEntryKey, String name, String css, String html, String js, boolean cacheable, String configuration, String icon, long previewFileEntryId, boolean readOnly, int type, String typeOptions, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
copyFragmentEntry
public static FragmentEntry copyFragmentEntry(long groupId, long sourceFragmentEntryId, long fragmentCollectionId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteFragmentEntries
public static void deleteFragmentEntries(long[] fragmentEntriesIds) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteFragmentEntry
public static FragmentEntry deleteFragmentEntry(long fragmentEntryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteFragmentEntry
public static FragmentEntry deleteFragmentEntry(String externalReferenceCode, long groupId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchDraft
-
fetchFragmentEntry
public static FragmentEntry fetchFragmentEntry(long fragmentEntryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getDraft
public static FragmentEntry getDraft(long primaryKey) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getFragmentCompositionsAndFragmentEntries
-
getFragmentCompositionsAndFragmentEntries
-
getFragmentCompositionsAndFragmentEntriesCount
public static int getFragmentCompositionsAndFragmentEntriesCount(long groupId, long fragmentCollectionId, int status) -
getFragmentCompositionsAndFragmentEntriesCount
public static int getFragmentCompositionsAndFragmentEntriesCount(long groupId, long fragmentCollectionId, String name, int status) -
getFragmentEntries
-
getFragmentEntries
public static List<FragmentEntry> getFragmentEntries(long groupId, long fragmentCollectionId, int start, int end) -
getFragmentEntries
public static List<FragmentEntry> getFragmentEntries(long groupId, long fragmentCollectionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentEntry> orderByComparator) -
getFragmentEntriesByName
public static List<FragmentEntry> getFragmentEntriesByName(long groupId, long fragmentCollectionId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentEntry> orderByComparator) -
getFragmentEntriesByNameAndStatus
public static List<FragmentEntry> getFragmentEntriesByNameAndStatus(long groupId, long fragmentCollectionId, String name, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentEntry> orderByComparator) -
getFragmentEntriesByStatus
public static List<FragmentEntry> getFragmentEntriesByStatus(long groupId, long fragmentCollectionId, int status) -
getFragmentEntriesByStatus
public static List<FragmentEntry> getFragmentEntriesByStatus(long groupId, long fragmentCollectionId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentEntry> orderByComparator) -
getFragmentEntriesByType
public static List<FragmentEntry> getFragmentEntriesByType(long groupId, long fragmentCollectionId, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentEntry> orderByComparator) -
getFragmentEntriesByTypeAndStatus
public static List<FragmentEntry> getFragmentEntriesByTypeAndStatus(long groupId, long fragmentCollectionId, int type, int status) -
getFragmentEntriesByTypeAndStatus
public static List<FragmentEntry> getFragmentEntriesByTypeAndStatus(long groupId, long fragmentCollectionId, int type, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentEntry> orderByComparator) -
getFragmentEntriesCount
public static int getFragmentEntriesCount(long groupId, long fragmentCollectionId) -
getFragmentEntriesCountByName
public static int getFragmentEntriesCountByName(long groupId, long fragmentCollectionId, String name) -
getFragmentEntriesCountByNameAndStatus
public static int getFragmentEntriesCountByNameAndStatus(long groupId, long fragmentCollectionId, String name, int status) -
getFragmentEntriesCountByStatus
public static int getFragmentEntriesCountByStatus(long groupId, long fragmentCollectionId, int status) -
getFragmentEntriesCountByType
public static int getFragmentEntriesCountByType(long groupId, long fragmentCollectionId, int type) -
getFragmentEntriesCountByTypeAndStatus
public static int getFragmentEntriesCountByTypeAndStatus(long groupId, long fragmentCollectionId, int type, int status) -
getFragmentEntryByExternalReferenceCode
public static FragmentEntry getFragmentEntryByExternalReferenceCode(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
-
getTempFileNames
public static String[] getTempFileNames(long groupId, String folderName) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
moveFragmentEntry
public static FragmentEntry moveFragmentEntry(long fragmentEntryId, long fragmentCollectionId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
publishDraft
public static FragmentEntry publishDraft(FragmentEntry draftFragmentEntry) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateDraft
public static FragmentEntry updateDraft(FragmentEntry draftFragmentEntry) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateFragmentEntry
public static FragmentEntry updateFragmentEntry(FragmentEntry fragmentEntry) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateFragmentEntry
public static FragmentEntry updateFragmentEntry(long fragmentEntryId, boolean cacheable) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateFragmentEntry
public static FragmentEntry updateFragmentEntry(long fragmentEntryId, long previewFileEntryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateFragmentEntry
public static FragmentEntry updateFragmentEntry(long fragmentEntryId, long fragmentCollectionId, String name, String css, String html, String js, boolean cacheable, String configuration, String icon, long previewFileEntryId, boolean readOnly, String typeOptions, int status) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateFragmentEntry
public static FragmentEntry updateFragmentEntry(long fragmentEntryId, String name) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getService
-