Package com.liferay.fragment.service
Interface FragmentEntryService
- All Superinterfaces:
com.liferay.portal.kernel.service.BaseService
- All Known Implementing Classes:
FragmentEntryServiceWrapper
@AccessControlled
@CTAware
@JSONWebService
@ProviderType
@Transactional(isolation=PORTAL,
rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.SystemException.class})
public interface FragmentEntryService
extends com.liferay.portal.kernel.service.BaseService
Provides the remote service interface for FragmentEntry. 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:
-
Method Summary
Modifier and TypeMethodDescriptionaddFragmentEntry
(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) 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) copyFragmentEntry
(long groupId, long sourceFragmentEntryId, long fragmentCollectionId, com.liferay.portal.kernel.service.ServiceContext serviceContext) void
deleteFragmentEntries
(long[] fragmentEntriesIds) deleteFragmentEntry
(long fragmentEntryId) deleteFragmentEntry
(String externalReferenceCode, long groupId) fetchDraft
(long primaryKey) fetchFragmentEntry
(long fragmentEntryId) 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) int
getFragmentCompositionsAndFragmentEntriesCount
(long groupId, long fragmentCollectionId, int status) int
getFragmentCompositionsAndFragmentEntriesCount
(long groupId, long fragmentCollectionId, String name, int status) getFragmentEntries
(long fragmentCollectionId) getFragmentEntries
(long groupId, long fragmentCollectionId, int start, int end) getFragmentEntries
(long groupId, long fragmentCollectionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentEntry> orderByComparator) getFragmentEntriesByName
(long groupId, long fragmentCollectionId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentEntry> orderByComparator) getFragmentEntriesByNameAndStatus
(long groupId, long fragmentCollectionId, String name, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentEntry> orderByComparator) getFragmentEntriesByStatus
(long groupId, long fragmentCollectionId, int status) getFragmentEntriesByStatus
(long groupId, long fragmentCollectionId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentEntry> orderByComparator) getFragmentEntriesByType
(long groupId, long fragmentCollectionId, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentEntry> orderByComparator) getFragmentEntriesByTypeAndStatus
(long groupId, long fragmentCollectionId, int type, int status) getFragmentEntriesByTypeAndStatus
(long groupId, long fragmentCollectionId, int type, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentEntry> orderByComparator) int
getFragmentEntriesCount
(long groupId, long fragmentCollectionId) int
getFragmentEntriesCountByName
(long groupId, long fragmentCollectionId, String name) int
getFragmentEntriesCountByNameAndStatus
(long groupId, long fragmentCollectionId, String name, int status) int
getFragmentEntriesCountByStatus
(long groupId, long fragmentCollectionId, int status) int
getFragmentEntriesCountByType
(long groupId, long fragmentCollectionId, int type) int
getFragmentEntriesCountByTypeAndStatus
(long groupId, long fragmentCollectionId, int type, int status) getFragmentEntryByExternalReferenceCode
(String externalReferenceCode, long groupId) Returns the OSGi service identifier.String[]
getTempFileNames
(long groupId, String folderName) moveFragmentEntry
(long fragmentEntryId, long fragmentCollectionId) publishDraft
(FragmentEntry draftFragmentEntry) updateDraft
(FragmentEntry draftFragmentEntry) updateFragmentEntry
(long fragmentEntryId, boolean cacheable) updateFragmentEntry
(long fragmentEntryId, long previewFileEntryId) 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) updateFragmentEntry
(long fragmentEntryId, String name) updateFragmentEntry
(FragmentEntry fragmentEntry)
-
Method Details
-
addFragmentEntry
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
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
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
void deleteFragmentEntries(long[] fragmentEntriesIds) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteFragmentEntry
FragmentEntry deleteFragmentEntry(long fragmentEntryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteFragmentEntry
FragmentEntry deleteFragmentEntry(String externalReferenceCode, long groupId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchDraft
-
fetchFragmentEntry
@Transactional(propagation=SUPPORTS, readOnly=true) FragmentEntry fetchFragmentEntry(long fragmentEntryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getDraft
@Transactional(propagation=SUPPORTS, readOnly=true) FragmentEntry getDraft(long primaryKey) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getFragmentCompositionsAndFragmentEntries
-
getFragmentCompositionsAndFragmentEntries
-
getFragmentCompositionsAndFragmentEntriesCount
@Transactional(propagation=SUPPORTS, readOnly=true) int getFragmentCompositionsAndFragmentEntriesCount(long groupId, long fragmentCollectionId, int status) -
getFragmentCompositionsAndFragmentEntriesCount
@Transactional(propagation=SUPPORTS, readOnly=true) int getFragmentCompositionsAndFragmentEntriesCount(long groupId, long fragmentCollectionId, String name, int status) -
getFragmentEntries
@Transactional(propagation=SUPPORTS, readOnly=true) List<FragmentEntry> getFragmentEntries(long fragmentCollectionId) -
getFragmentEntries
@Transactional(propagation=SUPPORTS, readOnly=true) List<FragmentEntry> getFragmentEntries(long groupId, long fragmentCollectionId, int start, int end) -
getFragmentEntries
@Transactional(propagation=SUPPORTS, readOnly=true) List<FragmentEntry> getFragmentEntries(long groupId, long fragmentCollectionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentEntry> orderByComparator) -
getFragmentEntriesByName
@Transactional(propagation=SUPPORTS, readOnly=true) List<FragmentEntry> getFragmentEntriesByName(long groupId, long fragmentCollectionId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentEntry> orderByComparator) -
getFragmentEntriesByNameAndStatus
@Transactional(propagation=SUPPORTS, readOnly=true) List<FragmentEntry> getFragmentEntriesByNameAndStatus(long groupId, long fragmentCollectionId, String name, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentEntry> orderByComparator) -
getFragmentEntriesByStatus
@Transactional(propagation=SUPPORTS, readOnly=true) List<FragmentEntry> getFragmentEntriesByStatus(long groupId, long fragmentCollectionId, int status) -
getFragmentEntriesByStatus
@Transactional(propagation=SUPPORTS, readOnly=true) List<FragmentEntry> getFragmentEntriesByStatus(long groupId, long fragmentCollectionId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentEntry> orderByComparator) -
getFragmentEntriesByType
@Transactional(propagation=SUPPORTS, readOnly=true) List<FragmentEntry> getFragmentEntriesByType(long groupId, long fragmentCollectionId, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentEntry> orderByComparator) -
getFragmentEntriesByTypeAndStatus
@Transactional(propagation=SUPPORTS, readOnly=true) List<FragmentEntry> getFragmentEntriesByTypeAndStatus(long groupId, long fragmentCollectionId, int type, int status) -
getFragmentEntriesByTypeAndStatus
@Transactional(propagation=SUPPORTS, readOnly=true) List<FragmentEntry> getFragmentEntriesByTypeAndStatus(long groupId, long fragmentCollectionId, int type, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FragmentEntry> orderByComparator) -
getFragmentEntriesCount
@Transactional(propagation=SUPPORTS, readOnly=true) int getFragmentEntriesCount(long groupId, long fragmentCollectionId) -
getFragmentEntriesCountByName
@Transactional(propagation=SUPPORTS, readOnly=true) int getFragmentEntriesCountByName(long groupId, long fragmentCollectionId, String name) -
getFragmentEntriesCountByNameAndStatus
@Transactional(propagation=SUPPORTS, readOnly=true) int getFragmentEntriesCountByNameAndStatus(long groupId, long fragmentCollectionId, String name, int status) -
getFragmentEntriesCountByStatus
@Transactional(propagation=SUPPORTS, readOnly=true) int getFragmentEntriesCountByStatus(long groupId, long fragmentCollectionId, int status) -
getFragmentEntriesCountByType
@Transactional(propagation=SUPPORTS, readOnly=true) int getFragmentEntriesCountByType(long groupId, long fragmentCollectionId, int type) -
getFragmentEntriesCountByTypeAndStatus
@Transactional(propagation=SUPPORTS, readOnly=true) int getFragmentEntriesCountByTypeAndStatus(long groupId, long fragmentCollectionId, int type, int status) -
getFragmentEntryByExternalReferenceCode
@Transactional(propagation=SUPPORTS, readOnly=true) FragmentEntry getFragmentEntryByExternalReferenceCode(String externalReferenceCode, long groupId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOSGiServiceIdentifier
String getOSGiServiceIdentifier()Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
getTempFileNames
@Transactional(propagation=SUPPORTS, readOnly=true) String[] getTempFileNames(long groupId, String folderName) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
moveFragmentEntry
FragmentEntry moveFragmentEntry(long fragmentEntryId, long fragmentCollectionId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
publishDraft
FragmentEntry publishDraft(FragmentEntry draftFragmentEntry) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateDraft
FragmentEntry updateDraft(FragmentEntry draftFragmentEntry) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateFragmentEntry
FragmentEntry updateFragmentEntry(FragmentEntry fragmentEntry) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateFragmentEntry
FragmentEntry updateFragmentEntry(long fragmentEntryId, boolean cacheable) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateFragmentEntry
FragmentEntry updateFragmentEntry(long fragmentEntryId, long previewFileEntryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateFragmentEntry
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
FragmentEntry updateFragmentEntry(long fragmentEntryId, String name) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-