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,
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,
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,
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, ServiceContext serviceContext) throws PortalException
PortalExceptionpublic 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, ServiceContext serviceContext) throws PortalException
PortalExceptionpublic static RedirectEntry deleteRedirectEntry(long redirectEntryId) throws PortalException
PortalExceptionpublic static RedirectEntry fetchRedirectEntry(long redirectEntryId) throws PortalException
PortalExceptionpublic static java.lang.String getOSGiServiceIdentifier()
public static java.util.List<RedirectEntry> getRedirectEntries(long groupId, int start, int end, OrderByComparator<RedirectEntry> orderByComparator) throws PortalException
PortalExceptionpublic static int getRedirectEntriesCount(long groupId)
throws PortalException
PortalExceptionpublic static RedirectEntry updateRedirectEntry(long redirectEntryId, java.lang.String destinationURL, java.util.Date expirationDate, boolean permanent, java.lang.String sourceURL) throws PortalException
PortalExceptionpublic 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 PortalException
PortalExceptionpublic static RedirectEntryService getService()