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 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) 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) 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
(String externalReferenceCode, long groupId) static FragmentEntry
fetchDraft
(long primaryKey) static FragmentEntry
fetchFragmentEntry
(long fragmentEntryId) static FragmentEntry
getDraft
(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 int
getFragmentCompositionsAndFragmentEntriesCount
(long groupId, long fragmentCollectionId, int status) static int
getFragmentCompositionsAndFragmentEntriesCount
(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 int
getFragmentEntriesCount
(long groupId, long fragmentCollectionId) static int
getFragmentEntriesCountByName
(long groupId, long fragmentCollectionId, String name) static int
getFragmentEntriesCountByNameAndStatus
(long groupId, long fragmentCollectionId, 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
(String externalReferenceCode, long groupId) static String
Returns the OSGi service identifier.static FragmentEntryService
static String[]
getTempFileNames
(long groupId, String folderName) static FragmentEntry
moveFragmentEntry
(long fragmentEntryId, long fragmentCollectionId) static FragmentEntry
publishDraft
(FragmentEntry draftFragmentEntry) static FragmentEntry
updateDraft
(FragmentEntry draftFragmentEntry) static FragmentEntry
updateFragmentEntry
(long fragmentEntryId, boolean cacheable) static FragmentEntry
updateFragmentEntry
(long fragmentEntryId, long previewFileEntryId) 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) static FragmentEntry
updateFragmentEntry
(long fragmentEntryId, String name) static FragmentEntry
updateFragmentEntry
(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
-