Class RedirectEntryServiceUtil

java.lang.Object
com.liferay.redirect.service.RedirectEntryServiceUtil

public class RedirectEntryServiceUtil extends Object
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 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

      public static String 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

      public static RedirectEntryService getService()