All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.liferay.blogs.service.http.BlogsEntryServiceHttp Maven / Gradle / Ivy

There is a newer version: 5.0.96
Show newest version
/**
 * Copyright (c) 2000-present Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

package com.liferay.blogs.service.http;

import com.liferay.blogs.service.BlogsEntryServiceUtil;
import com.liferay.portal.kernel.log.Log;
import com.liferay.portal.kernel.log.LogFactoryUtil;
import com.liferay.portal.kernel.security.auth.HttpPrincipal;
import com.liferay.portal.kernel.service.http.TunnelUtil;
import com.liferay.portal.kernel.util.MethodHandler;
import com.liferay.portal.kernel.util.MethodKey;

import org.osgi.annotation.versioning.ProviderType;

/**
 * Provides the HTTP utility for the
 * BlogsEntryServiceUtil service
 * utility. The
 * static methods of this class calls the same methods of the service utility.
 * However, the signatures are different because it requires an additional
 * HttpPrincipal parameter.
 *
 * 

* The benefits of using the HTTP utility is that it is fast and allows for * tunneling without the cost of serializing to text. The drawback is that it * only works with Java. *

* *

* Set the property tunnel.servlet.hosts.allowed in portal.properties to * configure security. *

* *

* The HTTP utility is only generated for remote services. *

* * @author Brian Wing Shun Chan * @see BlogsEntryServiceSoap * @generated */ @ProviderType public class BlogsEntryServiceHttp { public static com.liferay.portal.kernel.repository.model.Folder addAttachmentsFolder(HttpPrincipal httpPrincipal, long groupId) throws com.liferay.portal.kernel.exception.PortalException { try { MethodKey methodKey = new MethodKey( BlogsEntryServiceUtil.class, "addAttachmentsFolder", _addAttachmentsFolderParameterTypes0); MethodHandler methodHandler = new MethodHandler(methodKey, groupId); Object returnObj = null; try { returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler); } catch (Exception e) { if (e instanceof com.liferay.portal.kernel.exception.PortalException) { throw (com.liferay.portal.kernel.exception.PortalException) e; } throw new com.liferay.portal.kernel.exception.SystemException( e); } return (com.liferay.portal.kernel.repository.model.Folder)returnObj; } catch (com.liferay.portal.kernel.exception.SystemException se) { _log.error(se, se); throw se; } } public static com.liferay.blogs.model.BlogsEntry addEntry( HttpPrincipal httpPrincipal, String title, String description, String content, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, boolean allowPingbacks, boolean allowTrackbacks, String[] trackbacks, boolean smallImage, String smallImageURL, String smallImageFileName, java.io.InputStream smallImageInputStream, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException { try { MethodKey methodKey = new MethodKey( BlogsEntryServiceUtil.class, "addEntry", _addEntryParameterTypes1); MethodHandler methodHandler = new MethodHandler( methodKey, title, description, content, displayDateMonth, displayDateDay, displayDateYear, displayDateHour, displayDateMinute, allowPingbacks, allowTrackbacks, trackbacks, smallImage, smallImageURL, smallImageFileName, smallImageInputStream, serviceContext); Object returnObj = null; try { returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler); } catch (Exception e) { if (e instanceof com.liferay.portal.kernel.exception.PortalException) { throw (com.liferay.portal.kernel.exception.PortalException) e; } throw new com.liferay.portal.kernel.exception.SystemException( e); } return (com.liferay.blogs.model.BlogsEntry)returnObj; } catch (com.liferay.portal.kernel.exception.SystemException se) { _log.error(se, se); throw se; } } public static com.liferay.blogs.model.BlogsEntry addEntry( HttpPrincipal httpPrincipal, String title, String subtitle, String description, String content, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, boolean allowPingbacks, boolean allowTrackbacks, String[] trackbacks, String coverImageCaption, com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector coverImageImageSelector, com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector smallImageImageSelector, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException { try { MethodKey methodKey = new MethodKey( BlogsEntryServiceUtil.class, "addEntry", _addEntryParameterTypes2); MethodHandler methodHandler = new MethodHandler( methodKey, title, subtitle, description, content, displayDateMonth, displayDateDay, displayDateYear, displayDateHour, displayDateMinute, allowPingbacks, allowTrackbacks, trackbacks, coverImageCaption, coverImageImageSelector, smallImageImageSelector, serviceContext); Object returnObj = null; try { returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler); } catch (Exception e) { if (e instanceof com.liferay.portal.kernel.exception.PortalException) { throw (com.liferay.portal.kernel.exception.PortalException) e; } throw new com.liferay.portal.kernel.exception.SystemException( e); } return (com.liferay.blogs.model.BlogsEntry)returnObj; } catch (com.liferay.portal.kernel.exception.SystemException se) { _log.error(se, se); throw se; } } public static com.liferay.blogs.model.BlogsEntry addEntry( HttpPrincipal httpPrincipal, String title, String subtitle, String urlTitle, String description, String content, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, boolean allowPingbacks, boolean allowTrackbacks, String[] trackbacks, String coverImageCaption, com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector coverImageImageSelector, com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector smallImageImageSelector, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException { try { MethodKey methodKey = new MethodKey( BlogsEntryServiceUtil.class, "addEntry", _addEntryParameterTypes3); MethodHandler methodHandler = new MethodHandler( methodKey, title, subtitle, urlTitle, description, content, displayDateMonth, displayDateDay, displayDateYear, displayDateHour, displayDateMinute, allowPingbacks, allowTrackbacks, trackbacks, coverImageCaption, coverImageImageSelector, smallImageImageSelector, serviceContext); Object returnObj = null; try { returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler); } catch (Exception e) { if (e instanceof com.liferay.portal.kernel.exception.PortalException) { throw (com.liferay.portal.kernel.exception.PortalException) e; } throw new com.liferay.portal.kernel.exception.SystemException( e); } return (com.liferay.blogs.model.BlogsEntry)returnObj; } catch (com.liferay.portal.kernel.exception.SystemException se) { _log.error(se, se); throw se; } } public static void deleteEntry(HttpPrincipal httpPrincipal, long entryId) throws com.liferay.portal.kernel.exception.PortalException { try { MethodKey methodKey = new MethodKey( BlogsEntryServiceUtil.class, "deleteEntry", _deleteEntryParameterTypes4); MethodHandler methodHandler = new MethodHandler(methodKey, entryId); try { TunnelUtil.invoke(httpPrincipal, methodHandler); } catch (Exception e) { if (e instanceof com.liferay.portal.kernel.exception.PortalException) { throw (com.liferay.portal.kernel.exception.PortalException) e; } throw new com.liferay.portal.kernel.exception.SystemException( e); } } catch (com.liferay.portal.kernel.exception.SystemException se) { _log.error(se, se); throw se; } } public static java.util.List getCompanyEntries( HttpPrincipal httpPrincipal, long companyId, java.util.Date displayDate, int status, int max) throws com.liferay.portal.kernel.exception.PortalException { try { MethodKey methodKey = new MethodKey( BlogsEntryServiceUtil.class, "getCompanyEntries", _getCompanyEntriesParameterTypes5); MethodHandler methodHandler = new MethodHandler( methodKey, companyId, displayDate, status, max); Object returnObj = null; try { returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler); } catch (Exception e) { if (e instanceof com.liferay.portal.kernel.exception.PortalException) { throw (com.liferay.portal.kernel.exception.PortalException) e; } throw new com.liferay.portal.kernel.exception.SystemException( e); } return (java.util.List) returnObj; } catch (com.liferay.portal.kernel.exception.SystemException se) { _log.error(se, se); throw se; } } public static String getCompanyEntriesRSS( HttpPrincipal httpPrincipal, long companyId, java.util.Date displayDate, int status, int max, String type, double version, String displayStyle, String feedURL, String entryURL, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) throws com.liferay.portal.kernel.exception.PortalException { try { MethodKey methodKey = new MethodKey( BlogsEntryServiceUtil.class, "getCompanyEntriesRSS", _getCompanyEntriesRSSParameterTypes6); MethodHandler methodHandler = new MethodHandler( methodKey, companyId, displayDate, status, max, type, version, displayStyle, feedURL, entryURL, themeDisplay); Object returnObj = null; try { returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler); } catch (Exception e) { if (e instanceof com.liferay.portal.kernel.exception.PortalException) { throw (com.liferay.portal.kernel.exception.PortalException) e; } throw new com.liferay.portal.kernel.exception.SystemException( e); } return (String)returnObj; } catch (com.liferay.portal.kernel.exception.SystemException se) { _log.error(se, se); throw se; } } public static com.liferay.blogs.model.BlogsEntry[] getEntriesPrevAndNext( HttpPrincipal httpPrincipal, long entryId) throws com.liferay.portal.kernel.exception.PortalException { try { MethodKey methodKey = new MethodKey( BlogsEntryServiceUtil.class, "getEntriesPrevAndNext", _getEntriesPrevAndNextParameterTypes7); MethodHandler methodHandler = new MethodHandler(methodKey, entryId); Object returnObj = null; try { returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler); } catch (Exception e) { if (e instanceof com.liferay.portal.kernel.exception.PortalException) { throw (com.liferay.portal.kernel.exception.PortalException) e; } throw new com.liferay.portal.kernel.exception.SystemException( e); } return (com.liferay.blogs.model.BlogsEntry[])returnObj; } catch (com.liferay.portal.kernel.exception.SystemException se) { _log.error(se, se); throw se; } } public static com.liferay.blogs.model.BlogsEntry getEntry( HttpPrincipal httpPrincipal, long entryId) throws com.liferay.portal.kernel.exception.PortalException { try { MethodKey methodKey = new MethodKey( BlogsEntryServiceUtil.class, "getEntry", _getEntryParameterTypes8); MethodHandler methodHandler = new MethodHandler(methodKey, entryId); Object returnObj = null; try { returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler); } catch (Exception e) { if (e instanceof com.liferay.portal.kernel.exception.PortalException) { throw (com.liferay.portal.kernel.exception.PortalException) e; } throw new com.liferay.portal.kernel.exception.SystemException( e); } return (com.liferay.blogs.model.BlogsEntry)returnObj; } catch (com.liferay.portal.kernel.exception.SystemException se) { _log.error(se, se); throw se; } } public static com.liferay.blogs.model.BlogsEntry getEntry( HttpPrincipal httpPrincipal, long groupId, String urlTitle) throws com.liferay.portal.kernel.exception.PortalException { try { MethodKey methodKey = new MethodKey( BlogsEntryServiceUtil.class, "getEntry", _getEntryParameterTypes9); MethodHandler methodHandler = new MethodHandler( methodKey, groupId, urlTitle); Object returnObj = null; try { returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler); } catch (Exception e) { if (e instanceof com.liferay.portal.kernel.exception.PortalException) { throw (com.liferay.portal.kernel.exception.PortalException) e; } throw new com.liferay.portal.kernel.exception.SystemException( e); } return (com.liferay.blogs.model.BlogsEntry)returnObj; } catch (com.liferay.portal.kernel.exception.SystemException se) { _log.error(se, se); throw se; } } public static java.util.List getGroupEntries( HttpPrincipal httpPrincipal, long groupId, java.util.Date displayDate, int status, int max) { try { MethodKey methodKey = new MethodKey( BlogsEntryServiceUtil.class, "getGroupEntries", _getGroupEntriesParameterTypes10); MethodHandler methodHandler = new MethodHandler( methodKey, groupId, displayDate, status, max); Object returnObj = null; try { returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler); } catch (Exception e) { throw new com.liferay.portal.kernel.exception.SystemException( e); } return (java.util.List) returnObj; } catch (com.liferay.portal.kernel.exception.SystemException se) { _log.error(se, se); throw se; } } public static java.util.List getGroupEntries( HttpPrincipal httpPrincipal, long groupId, java.util.Date displayDate, int status, int start, int end) { try { MethodKey methodKey = new MethodKey( BlogsEntryServiceUtil.class, "getGroupEntries", _getGroupEntriesParameterTypes11); MethodHandler methodHandler = new MethodHandler( methodKey, groupId, displayDate, status, start, end); Object returnObj = null; try { returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler); } catch (Exception e) { throw new com.liferay.portal.kernel.exception.SystemException( e); } return (java.util.List) returnObj; } catch (com.liferay.portal.kernel.exception.SystemException se) { _log.error(se, se); throw se; } } public static java.util.List getGroupEntries( HttpPrincipal httpPrincipal, long groupId, int status, int max) { try { MethodKey methodKey = new MethodKey( BlogsEntryServiceUtil.class, "getGroupEntries", _getGroupEntriesParameterTypes12); MethodHandler methodHandler = new MethodHandler( methodKey, groupId, status, max); Object returnObj = null; try { returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler); } catch (Exception e) { throw new com.liferay.portal.kernel.exception.SystemException( e); } return (java.util.List) returnObj; } catch (com.liferay.portal.kernel.exception.SystemException se) { _log.error(se, se); throw se; } } public static java.util.List getGroupEntries( HttpPrincipal httpPrincipal, long groupId, int status, int start, int end) { try { MethodKey methodKey = new MethodKey( BlogsEntryServiceUtil.class, "getGroupEntries", _getGroupEntriesParameterTypes13); MethodHandler methodHandler = new MethodHandler( methodKey, groupId, status, start, end); Object returnObj = null; try { returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler); } catch (Exception e) { throw new com.liferay.portal.kernel.exception.SystemException( e); } return (java.util.List) returnObj; } catch (com.liferay.portal.kernel.exception.SystemException se) { _log.error(se, se); throw se; } } public static java.util.List getGroupEntries( HttpPrincipal httpPrincipal, long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc) { try { MethodKey methodKey = new MethodKey( BlogsEntryServiceUtil.class, "getGroupEntries", _getGroupEntriesParameterTypes14); MethodHandler methodHandler = new MethodHandler( methodKey, groupId, status, start, end, obc); Object returnObj = null; try { returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler); } catch (Exception e) { throw new com.liferay.portal.kernel.exception.SystemException( e); } return (java.util.List) returnObj; } catch (com.liferay.portal.kernel.exception.SystemException se) { _log.error(se, se); throw se; } } public static int getGroupEntriesCount( HttpPrincipal httpPrincipal, long groupId, java.util.Date displayDate, int status) { try { MethodKey methodKey = new MethodKey( BlogsEntryServiceUtil.class, "getGroupEntriesCount", _getGroupEntriesCountParameterTypes15); MethodHandler methodHandler = new MethodHandler( methodKey, groupId, displayDate, status); Object returnObj = null; try { returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler); } catch (Exception e) { throw new com.liferay.portal.kernel.exception.SystemException( e); } return ((Integer)returnObj).intValue(); } catch (com.liferay.portal.kernel.exception.SystemException se) { _log.error(se, se); throw se; } } public static int getGroupEntriesCount( HttpPrincipal httpPrincipal, long groupId, int status) { try { MethodKey methodKey = new MethodKey( BlogsEntryServiceUtil.class, "getGroupEntriesCount", _getGroupEntriesCountParameterTypes16); MethodHandler methodHandler = new MethodHandler( methodKey, groupId, status); Object returnObj = null; try { returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler); } catch (Exception e) { throw new com.liferay.portal.kernel.exception.SystemException( e); } return ((Integer)returnObj).intValue(); } catch (com.liferay.portal.kernel.exception.SystemException se) { _log.error(se, se); throw se; } } public static String getGroupEntriesRSS( HttpPrincipal httpPrincipal, long groupId, java.util.Date displayDate, int status, int max, String type, double version, String displayStyle, String feedURL, String entryURL, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) throws com.liferay.portal.kernel.exception.PortalException { try { MethodKey methodKey = new MethodKey( BlogsEntryServiceUtil.class, "getGroupEntriesRSS", _getGroupEntriesRSSParameterTypes17); MethodHandler methodHandler = new MethodHandler( methodKey, groupId, displayDate, status, max, type, version, displayStyle, feedURL, entryURL, themeDisplay); Object returnObj = null; try { returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler); } catch (Exception e) { if (e instanceof com.liferay.portal.kernel.exception.PortalException) { throw (com.liferay.portal.kernel.exception.PortalException) e; } throw new com.liferay.portal.kernel.exception.SystemException( e); } return (String)returnObj; } catch (com.liferay.portal.kernel.exception.SystemException se) { _log.error(se, se); throw se; } } public static java.util.List getGroupsEntries( HttpPrincipal httpPrincipal, long companyId, long groupId, java.util.Date displayDate, int status, int max) throws com.liferay.portal.kernel.exception.PortalException { try { MethodKey methodKey = new MethodKey( BlogsEntryServiceUtil.class, "getGroupsEntries", _getGroupsEntriesParameterTypes18); MethodHandler methodHandler = new MethodHandler( methodKey, companyId, groupId, displayDate, status, max); Object returnObj = null; try { returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler); } catch (Exception e) { if (e instanceof com.liferay.portal.kernel.exception.PortalException) { throw (com.liferay.portal.kernel.exception.PortalException) e; } throw new com.liferay.portal.kernel.exception.SystemException( e); } return (java.util.List) returnObj; } catch (com.liferay.portal.kernel.exception.SystemException se) { _log.error(se, se); throw se; } } public static java.util.List getGroupUserEntries( HttpPrincipal httpPrincipal, long groupId, long userId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc) { try { MethodKey methodKey = new MethodKey( BlogsEntryServiceUtil.class, "getGroupUserEntries", _getGroupUserEntriesParameterTypes19); MethodHandler methodHandler = new MethodHandler( methodKey, groupId, userId, status, start, end, obc); Object returnObj = null; try { returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler); } catch (Exception e) { throw new com.liferay.portal.kernel.exception.SystemException( e); } return (java.util.List) returnObj; } catch (com.liferay.portal.kernel.exception.SystemException se) { _log.error(se, se); throw se; } } public static java.util.List getGroupUserEntries( HttpPrincipal httpPrincipal, long groupId, long userId, int[] statuses, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc) { try { MethodKey methodKey = new MethodKey( BlogsEntryServiceUtil.class, "getGroupUserEntries", _getGroupUserEntriesParameterTypes20); MethodHandler methodHandler = new MethodHandler( methodKey, groupId, userId, statuses, start, end, obc); Object returnObj = null; try { returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler); } catch (Exception e) { throw new com.liferay.portal.kernel.exception.SystemException( e); } return (java.util.List) returnObj; } catch (com.liferay.portal.kernel.exception.SystemException se) { _log.error(se, se); throw se; } } public static int getGroupUserEntriesCount( HttpPrincipal httpPrincipal, long groupId, long userId, int status) { try { MethodKey methodKey = new MethodKey( BlogsEntryServiceUtil.class, "getGroupUserEntriesCount", _getGroupUserEntriesCountParameterTypes21); MethodHandler methodHandler = new MethodHandler( methodKey, groupId, userId, status); Object returnObj = null; try { returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler); } catch (Exception e) { throw new com.liferay.portal.kernel.exception.SystemException( e); } return ((Integer)returnObj).intValue(); } catch (com.liferay.portal.kernel.exception.SystemException se) { _log.error(se, se); throw se; } } public static int getGroupUserEntriesCount( HttpPrincipal httpPrincipal, long groupId, long userId, int[] statuses) { try { MethodKey methodKey = new MethodKey( BlogsEntryServiceUtil.class, "getGroupUserEntriesCount", _getGroupUserEntriesCountParameterTypes22); MethodHandler methodHandler = new MethodHandler( methodKey, groupId, userId, statuses); Object returnObj = null; try { returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler); } catch (Exception e) { throw new com.liferay.portal.kernel.exception.SystemException( e); } return ((Integer)returnObj).intValue(); } catch (com.liferay.portal.kernel.exception.SystemException se) { _log.error(se, se); throw se; } } public static java.util.List getOrganizationEntries( HttpPrincipal httpPrincipal, long organizationId, java.util.Date displayDate, int status, int max) throws com.liferay.portal.kernel.exception.PortalException { try { MethodKey methodKey = new MethodKey( BlogsEntryServiceUtil.class, "getOrganizationEntries", _getOrganizationEntriesParameterTypes23); MethodHandler methodHandler = new MethodHandler( methodKey, organizationId, displayDate, status, max); Object returnObj = null; try { returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler); } catch (Exception e) { if (e instanceof com.liferay.portal.kernel.exception.PortalException) { throw (com.liferay.portal.kernel.exception.PortalException) e; } throw new com.liferay.portal.kernel.exception.SystemException( e); } return (java.util.List) returnObj; } catch (com.liferay.portal.kernel.exception.SystemException se) { _log.error(se, se); throw se; } } public static String getOrganizationEntriesRSS( HttpPrincipal httpPrincipal, long organizationId, java.util.Date displayDate, int status, int max, String type, double version, String displayStyle, String feedURL, String entryURL, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) throws com.liferay.portal.kernel.exception.PortalException { try { MethodKey methodKey = new MethodKey( BlogsEntryServiceUtil.class, "getOrganizationEntriesRSS", _getOrganizationEntriesRSSParameterTypes24); MethodHandler methodHandler = new MethodHandler( methodKey, organizationId, displayDate, status, max, type, version, displayStyle, feedURL, entryURL, themeDisplay); Object returnObj = null; try { returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler); } catch (Exception e) { if (e instanceof com.liferay.portal.kernel.exception.PortalException) { throw (com.liferay.portal.kernel.exception.PortalException) e; } throw new com.liferay.portal.kernel.exception.SystemException( e); } return (String)returnObj; } catch (com.liferay.portal.kernel.exception.SystemException se) { _log.error(se, se); throw se; } } public static com.liferay.blogs.model.BlogsEntry moveEntryToTrash( HttpPrincipal httpPrincipal, long entryId) throws com.liferay.portal.kernel.exception.PortalException { try { MethodKey methodKey = new MethodKey( BlogsEntryServiceUtil.class, "moveEntryToTrash", _moveEntryToTrashParameterTypes25); MethodHandler methodHandler = new MethodHandler(methodKey, entryId); Object returnObj = null; try { returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler); } catch (Exception e) { if (e instanceof com.liferay.portal.kernel.exception.PortalException) { throw (com.liferay.portal.kernel.exception.PortalException) e; } throw new com.liferay.portal.kernel.exception.SystemException( e); } return (com.liferay.blogs.model.BlogsEntry)returnObj; } catch (com.liferay.portal.kernel.exception.SystemException se) { _log.error(se, se); throw se; } } public static void restoreEntryFromTrash( HttpPrincipal httpPrincipal, long entryId) throws com.liferay.portal.kernel.exception.PortalException { try { MethodKey methodKey = new MethodKey( BlogsEntryServiceUtil.class, "restoreEntryFromTrash", _restoreEntryFromTrashParameterTypes26); MethodHandler methodHandler = new MethodHandler(methodKey, entryId); try { TunnelUtil.invoke(httpPrincipal, methodHandler); } catch (Exception e) { if (e instanceof com.liferay.portal.kernel.exception.PortalException) { throw (com.liferay.portal.kernel.exception.PortalException) e; } throw new com.liferay.portal.kernel.exception.SystemException( e); } } catch (com.liferay.portal.kernel.exception.SystemException se) { _log.error(se, se); throw se; } } public static void subscribe(HttpPrincipal httpPrincipal, long groupId) throws com.liferay.portal.kernel.exception.PortalException { try { MethodKey methodKey = new MethodKey( BlogsEntryServiceUtil.class, "subscribe", _subscribeParameterTypes27); MethodHandler methodHandler = new MethodHandler(methodKey, groupId); try { TunnelUtil.invoke(httpPrincipal, methodHandler); } catch (Exception e) { if (e instanceof com.liferay.portal.kernel.exception.PortalException) { throw (com.liferay.portal.kernel.exception.PortalException) e; } throw new com.liferay.portal.kernel.exception.SystemException( e); } } catch (com.liferay.portal.kernel.exception.SystemException se) { _log.error(se, se); throw se; } } public static void unsubscribe(HttpPrincipal httpPrincipal, long groupId) throws com.liferay.portal.kernel.exception.PortalException { try { MethodKey methodKey = new MethodKey( BlogsEntryServiceUtil.class, "unsubscribe", _unsubscribeParameterTypes28); MethodHandler methodHandler = new MethodHandler(methodKey, groupId); try { TunnelUtil.invoke(httpPrincipal, methodHandler); } catch (Exception e) { if (e instanceof com.liferay.portal.kernel.exception.PortalException) { throw (com.liferay.portal.kernel.exception.PortalException) e; } throw new com.liferay.portal.kernel.exception.SystemException( e); } } catch (com.liferay.portal.kernel.exception.SystemException se) { _log.error(se, se); throw se; } } public static com.liferay.blogs.model.BlogsEntry updateEntry( HttpPrincipal httpPrincipal, long entryId, String title, String description, String content, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, boolean allowPingbacks, boolean allowTrackbacks, String[] trackbacks, boolean smallImage, String smallImageURL, String smallImageFileName, java.io.InputStream smallImageInputStream, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException { try { MethodKey methodKey = new MethodKey( BlogsEntryServiceUtil.class, "updateEntry", _updateEntryParameterTypes29); MethodHandler methodHandler = new MethodHandler( methodKey, entryId, title, description, content, displayDateMonth, displayDateDay, displayDateYear, displayDateHour, displayDateMinute, allowPingbacks, allowTrackbacks, trackbacks, smallImage, smallImageURL, smallImageFileName, smallImageInputStream, serviceContext); Object returnObj = null; try { returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler); } catch (Exception e) { if (e instanceof com.liferay.portal.kernel.exception.PortalException) { throw (com.liferay.portal.kernel.exception.PortalException) e; } throw new com.liferay.portal.kernel.exception.SystemException( e); } return (com.liferay.blogs.model.BlogsEntry)returnObj; } catch (com.liferay.portal.kernel.exception.SystemException se) { _log.error(se, se); throw se; } } public static com.liferay.blogs.model.BlogsEntry updateEntry( HttpPrincipal httpPrincipal, long entryId, String title, String subtitle, String description, String content, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, boolean allowPingbacks, boolean allowTrackbacks, String[] trackbacks, String coverImageCaption, com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector coverImageImageSelector, com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector smallImageImageSelector, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException { try { MethodKey methodKey = new MethodKey( BlogsEntryServiceUtil.class, "updateEntry", _updateEntryParameterTypes30); MethodHandler methodHandler = new MethodHandler( methodKey, entryId, title, subtitle, description, content, displayDateMonth, displayDateDay, displayDateYear, displayDateHour, displayDateMinute, allowPingbacks, allowTrackbacks, trackbacks, coverImageCaption, coverImageImageSelector, smallImageImageSelector, serviceContext); Object returnObj = null; try { returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler); } catch (Exception e) { if (e instanceof com.liferay.portal.kernel.exception.PortalException) { throw (com.liferay.portal.kernel.exception.PortalException) e; } throw new com.liferay.portal.kernel.exception.SystemException( e); } return (com.liferay.blogs.model.BlogsEntry)returnObj; } catch (com.liferay.portal.kernel.exception.SystemException se) { _log.error(se, se); throw se; } } public static com.liferay.blogs.model.BlogsEntry updateEntry( HttpPrincipal httpPrincipal, long entryId, String title, String subtitle, String urlTitle, String description, String content, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, boolean allowPingbacks, boolean allowTrackbacks, String[] trackbacks, String coverImageCaption, com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector coverImageImageSelector, com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector smallImageImageSelector, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException { try { MethodKey methodKey = new MethodKey( BlogsEntryServiceUtil.class, "updateEntry", _updateEntryParameterTypes31); MethodHandler methodHandler = new MethodHandler( methodKey, entryId, title, subtitle, urlTitle, description, content, displayDateMonth, displayDateDay, displayDateYear, displayDateHour, displayDateMinute, allowPingbacks, allowTrackbacks, trackbacks, coverImageCaption, coverImageImageSelector, smallImageImageSelector, serviceContext); Object returnObj = null; try { returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler); } catch (Exception e) { if (e instanceof com.liferay.portal.kernel.exception.PortalException) { throw (com.liferay.portal.kernel.exception.PortalException) e; } throw new com.liferay.portal.kernel.exception.SystemException( e); } return (com.liferay.blogs.model.BlogsEntry)returnObj; } catch (com.liferay.portal.kernel.exception.SystemException se) { _log.error(se, se); throw se; } } private static Log _log = LogFactoryUtil.getLog( BlogsEntryServiceHttp.class); private static final Class[] _addAttachmentsFolderParameterTypes0 = new Class[] {long.class}; private static final Class[] _addEntryParameterTypes1 = new Class[] { String.class, String.class, String.class, int.class, int.class, int.class, int.class, int.class, boolean.class, boolean.class, String[].class, boolean.class, String.class, String.class, java.io.InputStream.class, com.liferay.portal.kernel.service.ServiceContext.class }; private static final Class[] _addEntryParameterTypes2 = new Class[] { String.class, String.class, String.class, String.class, int.class, int.class, int.class, int.class, int.class, boolean.class, boolean.class, String[].class, String.class, com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector.class, com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector.class, com.liferay.portal.kernel.service.ServiceContext.class }; private static final Class[] _addEntryParameterTypes3 = new Class[] { String.class, String.class, String.class, String.class, String.class, int.class, int.class, int.class, int.class, int.class, boolean.class, boolean.class, String[].class, String.class, com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector.class, com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector.class, com.liferay.portal.kernel.service.ServiceContext.class }; private static final Class[] _deleteEntryParameterTypes4 = new Class[] { long.class }; private static final Class[] _getCompanyEntriesParameterTypes5 = new Class[] {long.class, java.util.Date.class, int.class, int.class}; private static final Class[] _getCompanyEntriesRSSParameterTypes6 = new Class[] { long.class, java.util.Date.class, int.class, int.class, String.class, double.class, String.class, String.class, String.class, com.liferay.portal.kernel.theme.ThemeDisplay.class }; private static final Class[] _getEntriesPrevAndNextParameterTypes7 = new Class[] {long.class}; private static final Class[] _getEntryParameterTypes8 = new Class[] { long.class }; private static final Class[] _getEntryParameterTypes9 = new Class[] { long.class, String.class }; private static final Class[] _getGroupEntriesParameterTypes10 = new Class[] {long.class, java.util.Date.class, int.class, int.class}; private static final Class[] _getGroupEntriesParameterTypes11 = new Class[] { long.class, java.util.Date.class, int.class, int.class, int.class }; private static final Class[] _getGroupEntriesParameterTypes12 = new Class[] {long.class, int.class, int.class}; private static final Class[] _getGroupEntriesParameterTypes13 = new Class[] {long.class, int.class, int.class, int.class}; private static final Class[] _getGroupEntriesParameterTypes14 = new Class[] { long.class, int.class, int.class, int.class, com.liferay.portal.kernel.util.OrderByComparator.class }; private static final Class[] _getGroupEntriesCountParameterTypes15 = new Class[] {long.class, java.util.Date.class, int.class}; private static final Class[] _getGroupEntriesCountParameterTypes16 = new Class[] {long.class, int.class}; private static final Class[] _getGroupEntriesRSSParameterTypes17 = new Class[] { long.class, java.util.Date.class, int.class, int.class, String.class, double.class, String.class, String.class, String.class, com.liferay.portal.kernel.theme.ThemeDisplay.class }; private static final Class[] _getGroupsEntriesParameterTypes18 = new Class[] { long.class, long.class, java.util.Date.class, int.class, int.class }; private static final Class[] _getGroupUserEntriesParameterTypes19 = new Class[] { long.class, long.class, int.class, int.class, int.class, com.liferay.portal.kernel.util.OrderByComparator.class }; private static final Class[] _getGroupUserEntriesParameterTypes20 = new Class[] { long.class, long.class, int[].class, int.class, int.class, com.liferay.portal.kernel.util.OrderByComparator.class }; private static final Class[] _getGroupUserEntriesCountParameterTypes21 = new Class[] {long.class, long.class, int.class}; private static final Class[] _getGroupUserEntriesCountParameterTypes22 = new Class[] {long.class, long.class, int[].class}; private static final Class[] _getOrganizationEntriesParameterTypes23 = new Class[] {long.class, java.util.Date.class, int.class, int.class}; private static final Class[] _getOrganizationEntriesRSSParameterTypes24 = new Class[] { long.class, java.util.Date.class, int.class, int.class, String.class, double.class, String.class, String.class, String.class, com.liferay.portal.kernel.theme.ThemeDisplay.class }; private static final Class[] _moveEntryToTrashParameterTypes25 = new Class[] {long.class}; private static final Class[] _restoreEntryFromTrashParameterTypes26 = new Class[] {long.class}; private static final Class[] _subscribeParameterTypes27 = new Class[] { long.class }; private static final Class[] _unsubscribeParameterTypes28 = new Class[] { long.class }; private static final Class[] _updateEntryParameterTypes29 = new Class[] { long.class, String.class, String.class, String.class, int.class, int.class, int.class, int.class, int.class, boolean.class, boolean.class, String[].class, boolean.class, String.class, String.class, java.io.InputStream.class, com.liferay.portal.kernel.service.ServiceContext.class }; private static final Class[] _updateEntryParameterTypes30 = new Class[] { long.class, String.class, String.class, String.class, String.class, int.class, int.class, int.class, int.class, int.class, boolean.class, boolean.class, String[].class, String.class, com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector.class, com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector.class, com.liferay.portal.kernel.service.ServiceContext.class }; private static final Class[] _updateEntryParameterTypes31 = new Class[] { long.class, String.class, String.class, String.class, String.class, String.class, int.class, int.class, int.class, int.class, int.class, boolean.class, boolean.class, String[].class, String.class, com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector.class, com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector.class, com.liferay.portal.kernel.service.ServiceContext.class }; }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy