Package com.liferay.redirect.service
Interface RedirectEntryService
- All Superinterfaces:
com.liferay.portal.kernel.service.BaseService
- All Known Implementing Classes:
RedirectEntryServiceWrapper
@AccessControlled
@JSONWebService
@ProviderType
@Transactional(isolation=PORTAL,
rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.SystemException.class})
public interface RedirectEntryService
extends com.liferay.portal.kernel.service.BaseService
Provides the remote service interface for RedirectEntry. 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 TypeMethodDescriptionaddRedirectEntry
(long groupId, String destinationURL, Date expirationDate, boolean permanent, String sourceURL, com.liferay.portal.kernel.service.ServiceContext serviceContext) addRedirectEntry
(long groupId, String destinationURL, Date expirationDate, String groupBaseURL, boolean permanent, String sourceURL, boolean updateChainedRedirectEntries, com.liferay.portal.kernel.service.ServiceContext serviceContext) deleteRedirectEntry
(long redirectEntryId) fetchRedirectEntry
(long redirectEntryId) Returns the OSGi service identifier.getRedirectEntries
(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator) int
getRedirectEntriesCount
(long groupId) updateRedirectEntry
(long redirectEntryId, String destinationURL, Date expirationDate, boolean permanent, String sourceURL) updateRedirectEntry
(long redirectEntryId, String destinationURL, Date expirationDate, String groupBaseURL, boolean permanent, String sourceURL, boolean updateChainedRedirectEntries)
-
Method Details
-
addRedirectEntry
RedirectEntry addRedirectEntry(long groupId, String destinationURL, Date expirationDate, boolean permanent, String sourceURL, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
addRedirectEntry
RedirectEntry addRedirectEntry(long groupId, String destinationURL, Date expirationDate, String groupBaseURL, boolean permanent, String sourceURL, boolean updateChainedRedirectEntries, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteRedirectEntry
RedirectEntry deleteRedirectEntry(long redirectEntryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchRedirectEntry
@Transactional(propagation=SUPPORTS, readOnly=true) RedirectEntry fetchRedirectEntry(long redirectEntryId) 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
-
getRedirectEntries
@Transactional(propagation=SUPPORTS, readOnly=true) List<RedirectEntry> getRedirectEntries(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getRedirectEntriesCount
@Transactional(propagation=SUPPORTS, readOnly=true) int getRedirectEntriesCount(long groupId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateRedirectEntry
RedirectEntry updateRedirectEntry(long redirectEntryId, String destinationURL, Date expirationDate, boolean permanent, String sourceURL) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateRedirectEntry
RedirectEntry updateRedirectEntry(long redirectEntryId, String destinationURL, Date expirationDate, String groupBaseURL, boolean permanent, String sourceURL, boolean updateChainedRedirectEntries) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-