Package com.liferay.redirect.service
Class RedirectEntryServiceUtil
java.lang.Object
com.liferay.redirect.service.RedirectEntryServiceUtil
Provides the remote service utility for RedirectEntry. This utility wraps
com.liferay.redirect.service.impl.RedirectEntryServiceImpl
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 RedirectEntry
addRedirectEntry
(long groupId, String destinationURL, Date expirationDate, boolean permanent, String sourceURL, com.liferay.portal.kernel.service.ServiceContext serviceContext) static RedirectEntry
addRedirectEntry
(long groupId, String destinationURL, Date expirationDate, String groupBaseURL, boolean permanent, String sourceURL, boolean updateChainedRedirectEntries, com.liferay.portal.kernel.service.ServiceContext serviceContext) static RedirectEntry
deleteRedirectEntry
(long redirectEntryId) static RedirectEntry
fetchRedirectEntry
(long redirectEntryId) static String
Returns the OSGi service identifier.static List<RedirectEntry>
getRedirectEntries
(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator) static int
getRedirectEntriesCount
(long groupId) static RedirectEntryService
static RedirectEntry
updateRedirectEntry
(long redirectEntryId, String destinationURL, Date expirationDate, boolean permanent, String sourceURL) static RedirectEntry
updateRedirectEntry
(long redirectEntryId, String destinationURL, Date expirationDate, String groupBaseURL, boolean permanent, String sourceURL, boolean updateChainedRedirectEntries)
-
Constructor Details
-
RedirectEntryServiceUtil
public RedirectEntryServiceUtil()
-
-
Method Details
-
addRedirectEntry
public static 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
public static 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
public static RedirectEntry deleteRedirectEntry(long redirectEntryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchRedirectEntry
public static RedirectEntry fetchRedirectEntry(long redirectEntryId) 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
-
getRedirectEntries
public static 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
public static int getRedirectEntriesCount(long groupId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateRedirectEntry
public static 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
public static 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
-
getService
-