public class RedirectEntryServiceUtil
extends java.lang.Object
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.RedirectEntryService
Constructor and Description |
---|
RedirectEntryServiceUtil() |
Modifier and Type | Method and Description |
---|---|
static RedirectEntry |
addRedirectEntry(long groupId,
java.lang.String destinationURL,
java.util.Date expirationDate,
boolean permanent,
java.lang.String sourceURL,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static RedirectEntry |
addRedirectEntry(long groupId,
java.lang.String destinationURL,
java.util.Date expirationDate,
java.lang.String groupBaseURL,
boolean permanent,
java.lang.String sourceURL,
boolean updateChainedRedirectEntries,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static RedirectEntry |
deleteRedirectEntry(long redirectEntryId) |
static RedirectEntry |
fetchRedirectEntry(long redirectEntryId) |
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static java.util.List<RedirectEntry> |
getRedirectEntries(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator) |
static int |
getRedirectEntriesCount(long groupId) |
static RedirectEntryService |
getService() |
static RedirectEntry |
updateRedirectEntry(long redirectEntryId,
java.lang.String destinationURL,
java.util.Date expirationDate,
boolean permanent,
java.lang.String sourceURL) |
static RedirectEntry |
updateRedirectEntry(long redirectEntryId,
java.lang.String destinationURL,
java.util.Date expirationDate,
java.lang.String groupBaseURL,
boolean permanent,
java.lang.String sourceURL,
boolean updateChainedRedirectEntries) |
public static RedirectEntry addRedirectEntry(long groupId, java.lang.String destinationURL, java.util.Date expirationDate, boolean permanent, java.lang.String sourceURL, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static RedirectEntry addRedirectEntry(long groupId, java.lang.String destinationURL, java.util.Date expirationDate, java.lang.String groupBaseURL, boolean permanent, java.lang.String sourceURL, boolean updateChainedRedirectEntries, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static RedirectEntry deleteRedirectEntry(long redirectEntryId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static RedirectEntry fetchRedirectEntry(long redirectEntryId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.lang.String getOSGiServiceIdentifier()
public static java.util.List<RedirectEntry> getRedirectEntries(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<RedirectEntry> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static int getRedirectEntriesCount(long groupId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static RedirectEntry updateRedirectEntry(long redirectEntryId, java.lang.String destinationURL, java.util.Date expirationDate, boolean permanent, java.lang.String sourceURL) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static RedirectEntry updateRedirectEntry(long redirectEntryId, java.lang.String destinationURL, java.util.Date expirationDate, java.lang.String groupBaseURL, boolean permanent, java.lang.String sourceURL, boolean updateChainedRedirectEntries) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static RedirectEntryService getService()