--- /dev/null
+/**\r
+ * Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.\r
+ *\r
+ * This library is free software; you can redistribute it and/or modify it under\r
+ * the terms of the GNU Lesser General Public License as published by the Free\r
+ * Software Foundation; either version 2.1 of the License, or (at your option)\r
+ * any later version.\r
+ *\r
+ * This library is distributed in the hope that it will be useful, but WITHOUT\r
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\r
+ * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more\r
+ * details.\r
+ */\r
+\r
+package com.liferay.portlet.blogs.util.service;\r
+\r
+import java.util.List;\r
+\r
+import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;\r
+import com.liferay.portal.kernel.util.ReferenceRegistry;\r
+import com.pentila.entSavoie.blogs.BlogsEntryHeader;\r
+\r
+/**\r
+ * The utility for the blogs entry local service. This utility wraps {@link com.liferay.portlet.blogs.service.impl.BlogsEntryLocalServiceImpl} and is the primary access point for service operations in application layer code running on the local server.\r
+ *\r
+ * <p>\r
+ * This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.\r
+ * </p>\r
+ *\r
+ * @author Brian Wing Shun Chan\r
+ * @see BlogsEntryLocalService\r
+ * @see com.liferay.portlet.blogs.service.base.BlogsEntryLocalServiceBaseImpl\r
+ * @see com.liferay.portlet.blogs.service.impl.BlogsEntryLocalServiceImpl\r
+ * @generated\r
+ */\r
+public class BlogsEntryLocalServiceUtil {\r
+ /*\r
+ * NOTE FOR DEVELOPERS:\r
+ *\r
+ * Never modify this class directly. Add custom service methods to {@link com.liferay.portlet.blogs.service.impl.BlogsEntryLocalServiceImpl} and rerun ServiceBuilder to regenerate this class.\r
+ */\r
+\r
+ /**\r
+ * Adds the blogs entry to the database. Also notifies the appropriate model listeners.\r
+ *\r
+ * @param blogsEntry the blogs entry\r
+ * @return the blogs entry that was added\r
+ * @throws SystemException if a system exception occurred\r
+ */\r
+ public static com.liferay.portlet.blogs.model.BlogsEntry addBlogsEntry(\r
+ com.liferay.portlet.blogs.model.BlogsEntry blogsEntry)\r
+ throws com.liferay.portal.kernel.exception.SystemException {\r
+ return getService().addBlogsEntry(blogsEntry);\r
+ }\r
+\r
+ /**\r
+ * Creates a new blogs entry with the primary key. Does not add the blogs entry to the database.\r
+ *\r
+ * @param entryId the primary key for the new blogs entry\r
+ * @return the new blogs entry\r
+ */\r
+ public static com.liferay.portlet.blogs.model.BlogsEntry createBlogsEntry(\r
+ long entryId) {\r
+ return getService().createBlogsEntry(entryId);\r
+ }\r
+\r
+ /**\r
+ * Deletes the blogs entry with the primary key from the database. Also notifies the appropriate model listeners.\r
+ *\r
+ * @param entryId the primary key of the blogs entry\r
+ * @return the blogs entry that was removed\r
+ * @throws PortalException if a blogs entry with the primary key could not be found\r
+ * @throws SystemException if a system exception occurred\r
+ */\r
+ public static com.liferay.portlet.blogs.model.BlogsEntry deleteBlogsEntry(\r
+ long entryId)\r
+ throws com.liferay.portal.kernel.exception.PortalException,\r
+ com.liferay.portal.kernel.exception.SystemException {\r
+ return getService().deleteBlogsEntry(entryId);\r
+ }\r
+\r
+ /**\r
+ * Deletes the blogs entry from the database. Also notifies the appropriate model listeners.\r
+ *\r
+ * @param blogsEntry the blogs entry\r
+ * @return the blogs entry that was removed\r
+ * @throws SystemException if a system exception occurred\r
+ */\r
+ public static com.liferay.portlet.blogs.model.BlogsEntry deleteBlogsEntry(\r
+ com.liferay.portlet.blogs.model.BlogsEntry blogsEntry)\r
+ throws com.liferay.portal.kernel.exception.SystemException {\r
+ return getService().deleteBlogsEntry(blogsEntry);\r
+ }\r
+\r
+ public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {\r
+ return getService().dynamicQuery();\r
+ }\r
+\r
+ /**\r
+ * Performs a dynamic query on the database and returns the matching rows.\r
+ *\r
+ * @param dynamicQuery the dynamic query\r
+ * @return the matching rows\r
+ * @throws SystemException if a system exception occurred\r
+ */\r
+ @SuppressWarnings("rawtypes")\r
+ public static java.util.List dynamicQuery(\r
+ com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)\r
+ throws com.liferay.portal.kernel.exception.SystemException {\r
+ return getService().dynamicQuery(dynamicQuery);\r
+ }\r
+\r
+ /**\r
+ * Performs a dynamic query on the database and returns a range of the matching rows.\r
+ *\r
+ * <p>\r
+ * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.\r
+ * </p>\r
+ *\r
+ * @param dynamicQuery the dynamic query\r
+ * @param start the lower bound of the range of model instances\r
+ * @param end the upper bound of the range of model instances (not inclusive)\r
+ * @return the range of matching rows\r
+ * @throws SystemException if a system exception occurred\r
+ */\r
+ @SuppressWarnings("rawtypes")\r
+ public static java.util.List dynamicQuery(\r
+ com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,\r
+ int end) throws com.liferay.portal.kernel.exception.SystemException {\r
+ return getService().dynamicQuery(dynamicQuery, start, end);\r
+ }\r
+\r
+ /**\r
+ * Performs a dynamic query on the database and returns an ordered range of the matching rows.\r
+ *\r
+ * <p>\r
+ * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.\r
+ * </p>\r
+ *\r
+ * @param dynamicQuery the dynamic query\r
+ * @param start the lower bound of the range of model instances\r
+ * @param end the upper bound of the range of model instances (not inclusive)\r
+ * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)\r
+ * @return the ordered range of matching rows\r
+ * @throws SystemException if a system exception occurred\r
+ */\r
+ @SuppressWarnings("rawtypes")\r
+ public static java.util.List dynamicQuery(\r
+ com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,\r
+ int end,\r
+ com.liferay.portal.kernel.util.OrderByComparator orderByComparator)\r
+ throws com.liferay.portal.kernel.exception.SystemException {\r
+ return getService()\r
+ .dynamicQuery(dynamicQuery, start, end, orderByComparator);\r
+ }\r
+\r
+ /**\r
+ * Returns the number of rows that match the dynamic query.\r
+ *\r
+ * @param dynamicQuery the dynamic query\r
+ * @return the number of rows that match the dynamic query\r
+ * @throws SystemException if a system exception occurred\r
+ */\r
+ public static long dynamicQueryCount(\r
+ com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)\r
+ throws com.liferay.portal.kernel.exception.SystemException {\r
+ return getService().dynamicQueryCount(dynamicQuery);\r
+ }\r
+\r
+ public static com.liferay.portlet.blogs.model.BlogsEntry fetchBlogsEntry(\r
+ long entryId)\r
+ throws com.liferay.portal.kernel.exception.SystemException {\r
+ return getService().fetchBlogsEntry(entryId);\r
+ }\r
+\r
+ /**\r
+ * Returns the blogs entry with the primary key.\r
+ *\r
+ * @param entryId the primary key of the blogs entry\r
+ * @return the blogs entry\r
+ * @throws PortalException if a blogs entry with the primary key could not be found\r
+ * @throws SystemException if a system exception occurred\r
+ */\r
+ public static com.liferay.portlet.blogs.model.BlogsEntry getBlogsEntry(\r
+ long entryId)\r
+ throws com.liferay.portal.kernel.exception.PortalException,\r
+ com.liferay.portal.kernel.exception.SystemException {\r
+ return getService().getBlogsEntry(entryId);\r
+ }\r
+\r
+ public static com.liferay.portal.model.PersistedModel getPersistedModel(\r
+ java.io.Serializable primaryKeyObj)\r
+ throws com.liferay.portal.kernel.exception.PortalException,\r
+ com.liferay.portal.kernel.exception.SystemException {\r
+ return getService().getPersistedModel(primaryKeyObj);\r
+ }\r
+\r
+ /**\r
+ * Returns the blogs entry with the UUID in the group.\r
+ *\r
+ * @param uuid the UUID of blogs entry\r
+ * @param groupId the group id of the blogs entry\r
+ * @return the blogs entry\r
+ * @throws PortalException if a blogs entry with the UUID in the group could not be found\r
+ * @throws SystemException if a system exception occurred\r
+ */\r
+ public static com.liferay.portlet.blogs.model.BlogsEntry getBlogsEntryByUuidAndGroupId(\r
+ java.lang.String uuid, long groupId)\r
+ throws com.liferay.portal.kernel.exception.PortalException,\r
+ com.liferay.portal.kernel.exception.SystemException {\r
+ return getService().getBlogsEntryByUuidAndGroupId(uuid, groupId);\r
+ }\r
+\r
+ /**\r
+ * Returns a range of all the blogs entries.\r
+ *\r
+ * <p>\r
+ * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.\r
+ * </p>\r
+ *\r
+ * @param start the lower bound of the range of blogs entries\r
+ * @param end the upper bound of the range of blogs entries (not inclusive)\r
+ * @return the range of blogs entries\r
+ * @throws SystemException if a system exception occurred\r
+ */\r
+ public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getBlogsEntries(\r
+ int start, int end)\r
+ throws com.liferay.portal.kernel.exception.SystemException {\r
+ return getService().getBlogsEntries(start, end);\r
+ }\r
+\r
+ /**\r
+ * Returns the number of blogs entries.\r
+ *\r
+ * @return the number of blogs entries\r
+ * @throws SystemException if a system exception occurred\r
+ */\r
+ public static int getBlogsEntriesCount()\r
+ throws com.liferay.portal.kernel.exception.SystemException {\r
+ return getService().getBlogsEntriesCount();\r
+ }\r
+\r
+ /**\r
+ * Updates the blogs entry in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.\r
+ *\r
+ * @param blogsEntry the blogs entry\r
+ * @return the blogs entry that was updated\r
+ * @throws SystemException if a system exception occurred\r
+ */\r
+ public static com.liferay.portlet.blogs.model.BlogsEntry updateBlogsEntry(\r
+ com.liferay.portlet.blogs.model.BlogsEntry blogsEntry)\r
+ throws com.liferay.portal.kernel.exception.SystemException {\r
+ return getService().updateBlogsEntry(blogsEntry);\r
+ }\r
+\r
+ /**\r
+ * Updates the blogs entry in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.\r
+ *\r
+ * @param blogsEntry the blogs entry\r
+ * @param merge whether to merge the blogs entry with the current session. See {@link com.liferay.portal.service.persistence.BatchSession#update(com.liferay.portal.kernel.dao.orm.Session, com.liferay.portal.model.BaseModel, boolean)} for an explanation.\r
+ * @return the blogs entry that was updated\r
+ * @throws SystemException if a system exception occurred\r
+ */\r
+ public static com.liferay.portlet.blogs.model.BlogsEntry updateBlogsEntry(\r
+ com.liferay.portlet.blogs.model.BlogsEntry blogsEntry, boolean merge)\r
+ throws com.liferay.portal.kernel.exception.SystemException {\r
+ return getService().updateBlogsEntry(blogsEntry, merge);\r
+ }\r
+\r
+ /**\r
+ * Returns the Spring bean ID for this bean.\r
+ *\r
+ * @return the Spring bean ID for this bean\r
+ */\r
+ public static java.lang.String getBeanIdentifier() {\r
+ return getService().getBeanIdentifier();\r
+ }\r
+\r
+ /**\r
+ * Sets the Spring bean ID for this bean.\r
+ *\r
+ * @param beanIdentifier the Spring bean ID for this bean\r
+ */\r
+ public static void setBeanIdentifier(java.lang.String beanIdentifier) {\r
+ getService().setBeanIdentifier(beanIdentifier);\r
+ }\r
+ \r
+ public static com.liferay.portlet.blogs.model.BlogsEntry addEntry(\r
+ long userId, java.lang.String title, java.lang.String description,\r
+ java.lang.String content, int displayDateMonth, int displayDateDay,\r
+ int displayDateYear, int displayDateHour, int displayDateMinute,\r
+ boolean allowPingbacks, boolean allowTrackbacks,\r
+ java.lang.String[] trackbacks, boolean smallImage,\r
+ java.lang.String smallImageURL, java.lang.String smallImageFileName,\r
+ java.io.InputStream smallImageInputStream,\r
+ com.liferay.portal.service.ServiceContext serviceContext)\r
+ throws com.liferay.portal.kernel.exception.PortalException,\r
+ com.liferay.portal.kernel.exception.SystemException {\r
+ return getService()\r
+ .addEntry(userId, title, description, content,\r
+ displayDateMonth, displayDateDay, displayDateYear, displayDateHour,\r
+ displayDateMinute, allowPingbacks, allowTrackbacks, trackbacks,\r
+ smallImage, smallImageURL, smallImageFileName,\r
+ smallImageInputStream, serviceContext);\r
+ }\r
+\r
+ public static com.liferay.portlet.blogs.model.BlogsEntry addEntry(\r
+ long userId, long groupId, java.lang.String title, java.lang.String description,\r
+ java.lang.String content, int displayDateMonth, int displayDateDay,\r
+ int displayDateYear, int displayDateHour, int displayDateMinute,\r
+ boolean allowPingbacks, boolean allowTrackbacks,\r
+ java.lang.String[] trackbacks, boolean smallImage,\r
+ java.lang.String smallImageURL, java.lang.String smallImageFileName,\r
+ java.io.InputStream smallImageInputStream,\r
+ com.liferay.portal.service.ServiceContext serviceContext)\r
+ throws com.liferay.portal.kernel.exception.PortalException,\r
+ com.liferay.portal.kernel.exception.SystemException {\r
+ return getService()\r
+ .addEntry(userId, groupId, title, description, content,\r
+ displayDateMonth, displayDateDay, displayDateYear, displayDateHour,\r
+ displayDateMinute, allowPingbacks, allowTrackbacks, trackbacks,\r
+ smallImage, smallImageURL, smallImageFileName,\r
+ smallImageInputStream, serviceContext);\r
+ }\r
+\r
+ public static void addEntryResources(\r
+ com.liferay.portlet.blogs.model.BlogsEntry entry,\r
+ boolean addGroupPermissions, boolean addGuestPermissions)\r
+ throws com.liferay.portal.kernel.exception.PortalException,\r
+ com.liferay.portal.kernel.exception.SystemException {\r
+ getService()\r
+ .addEntryResources(entry, addGroupPermissions, addGuestPermissions);\r
+ }\r
+\r
+ public static void addEntryResources(\r
+ com.liferay.portlet.blogs.model.BlogsEntry entry,\r
+ java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)\r
+ throws com.liferay.portal.kernel.exception.PortalException,\r
+ com.liferay.portal.kernel.exception.SystemException {\r
+ getService().addEntryResources(entry, groupPermissions, guestPermissions);\r
+ }\r
+\r
+ public static void addEntryResources(long entryId,\r
+ boolean addGroupPermissions, boolean addGuestPermissions)\r
+ throws com.liferay.portal.kernel.exception.PortalException,\r
+ com.liferay.portal.kernel.exception.SystemException {\r
+ getService()\r
+ .addEntryResources(entryId, addGroupPermissions, addGuestPermissions);\r
+ }\r
+\r
+ public static void addEntryResources(long entryId,\r
+ java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)\r
+ throws com.liferay.portal.kernel.exception.PortalException,\r
+ com.liferay.portal.kernel.exception.SystemException {\r
+ getService()\r
+ .addEntryResources(entryId, groupPermissions, guestPermissions);\r
+ }\r
+\r
+ public static void checkEntries()\r
+ throws com.liferay.portal.kernel.exception.PortalException,\r
+ com.liferay.portal.kernel.exception.SystemException {\r
+ getService().checkEntries();\r
+ }\r
+\r
+ public static void deleteEntries(long groupId)\r
+ throws com.liferay.portal.kernel.exception.PortalException,\r
+ com.liferay.portal.kernel.exception.SystemException {\r
+ getService().deleteEntries(groupId);\r
+ }\r
+\r
+ public static void deleteEntry(\r
+ com.liferay.portlet.blogs.model.BlogsEntry entry)\r
+ throws com.liferay.portal.kernel.exception.PortalException,\r
+ com.liferay.portal.kernel.exception.SystemException {\r
+ getService().deleteEntry(entry);\r
+ }\r
+\r
+ public static void deleteEntry(long entryId)\r
+ throws com.liferay.portal.kernel.exception.PortalException,\r
+ com.liferay.portal.kernel.exception.SystemException {\r
+ getService().deleteEntry(entryId);\r
+ }\r
+\r
+ public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getCompanyEntries(\r
+ long companyId, java.util.Date displayDate, int status, int start,\r
+ int end) throws com.liferay.portal.kernel.exception.SystemException {\r
+ return getService()\r
+ .getCompanyEntries(companyId, displayDate, status, start, end);\r
+ }\r
+\r
+ public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getCompanyEntries(\r
+ long companyId, java.util.Date displayDate, int status, int start,\r
+ int end, com.liferay.portal.kernel.util.OrderByComparator obc)\r
+ throws com.liferay.portal.kernel.exception.SystemException {\r
+ return getService()\r
+ .getCompanyEntries(companyId, displayDate, status, start,\r
+ end, obc);\r
+ }\r
+\r
+ public static int getCompanyEntriesCount(long companyId,\r
+ java.util.Date displayDate, int status)\r
+ throws com.liferay.portal.kernel.exception.SystemException {\r
+ return getService()\r
+ .getCompanyEntriesCount(companyId, displayDate, status);\r
+ }\r
+\r
+ public static com.liferay.portlet.blogs.model.BlogsEntry[] getEntriesPrevAndNext(\r
+ long entryId)\r
+ throws com.liferay.portal.kernel.exception.PortalException,\r
+ com.liferay.portal.kernel.exception.SystemException {\r
+ return getService().getEntriesPrevAndNext(entryId);\r
+ }\r
+\r
+ public static com.liferay.portlet.blogs.model.BlogsEntry getEntry(\r
+ long entryId)\r
+ throws com.liferay.portal.kernel.exception.PortalException,\r
+ com.liferay.portal.kernel.exception.SystemException {\r
+ return getService().getEntry(entryId);\r
+ }\r
+\r
+ public static com.liferay.portlet.blogs.model.BlogsEntry getEntry(\r
+ long groupId, java.lang.String urlTitle)\r
+ throws com.liferay.portal.kernel.exception.PortalException,\r
+ com.liferay.portal.kernel.exception.SystemException {\r
+ return getService().getEntry(groupId, urlTitle);\r
+ }\r
+\r
+ public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(\r
+ long groupId, java.util.Date displayDate, int status, int start, int end)\r
+ throws com.liferay.portal.kernel.exception.SystemException {\r
+ return getService()\r
+ .getGroupEntries(groupId, displayDate, status, start, end);\r
+ }\r
+\r
+ public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(\r
+ long groupId, java.util.Date displayDate, int status, int start,\r
+ int end, com.liferay.portal.kernel.util.OrderByComparator obc)\r
+ throws com.liferay.portal.kernel.exception.SystemException {\r
+ return getService()\r
+ .getGroupEntries(groupId, displayDate, status, start, end,\r
+ obc);\r
+ }\r
+\r
+ public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(\r
+ long groupId, int status, int start, int end)\r
+ throws com.liferay.portal.kernel.exception.SystemException {\r
+ return getService().getGroupEntries(groupId, status, start, end);\r
+ }\r
+\r
+ public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(\r
+ long groupId, int status, int start, int end,\r
+ com.liferay.portal.kernel.util.OrderByComparator obc)\r
+ throws com.liferay.portal.kernel.exception.SystemException {\r
+ return getService().getGroupEntries(groupId, status, start, end, obc);\r
+ }\r
+\r
+ public static int getGroupEntriesCount(long groupId,\r
+ java.util.Date displayDate, int status)\r
+ throws com.liferay.portal.kernel.exception.SystemException {\r
+ return getService().getGroupEntriesCount(groupId, displayDate, status);\r
+ }\r
+\r
+ public static int getGroupEntriesCount(long groupId, int status)\r
+ throws com.liferay.portal.kernel.exception.SystemException {\r
+ return getService().getGroupEntriesCount(groupId, status);\r
+ }\r
+\r
+ public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupsEntries(\r
+ long companyId, long groupId, java.util.Date displayDate, int status,\r
+ int start, int end)\r
+ throws com.liferay.portal.kernel.exception.SystemException {\r
+ return getService()\r
+ .getGroupsEntries(companyId, groupId, displayDate, status,\r
+ start, end);\r
+ }\r
+\r
+ public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupUserEntries(\r
+ long groupId, long userId, java.util.Date displayDate, int status,\r
+ int start, int end)\r
+ throws com.liferay.portal.kernel.exception.SystemException {\r
+ return getService()\r
+ .getGroupUserEntries(groupId, userId, displayDate, status,\r
+ start, end);\r
+ }\r
+\r
+ public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupUserEntries(\r
+ long groupId, long userId, java.util.Date displayDate, int status,\r
+ int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)\r
+ throws com.liferay.portal.kernel.exception.SystemException {\r
+ return getService()\r
+ .getGroupUserEntries(groupId, userId, displayDate, status,\r
+ start, end, obc);\r
+ }\r
+\r
+ public static int getGroupUserEntriesCount(long groupId, long userId,\r
+ java.util.Date displayDate, int status)\r
+ throws com.liferay.portal.kernel.exception.SystemException {\r
+ return getService()\r
+ .getGroupUserEntriesCount(groupId, userId, displayDate,\r
+ status);\r
+ }\r
+\r
+ public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getNoAssetEntries()\r
+ throws com.liferay.portal.kernel.exception.SystemException {\r
+ return getService().getNoAssetEntries();\r
+ }\r
+\r
+ public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getOrganizationEntries(\r
+ long organizationId, java.util.Date displayDate, int status, int start,\r
+ int end) throws com.liferay.portal.kernel.exception.SystemException {\r
+ return getService()\r
+ .getOrganizationEntries(organizationId, displayDate, status,\r
+ start, end);\r
+ }\r
+\r
+ public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getOrganizationEntries(\r
+ long organizationId, java.util.Date displayDate, int status, int start,\r
+ int end, com.liferay.portal.kernel.util.OrderByComparator obc)\r
+ throws com.liferay.portal.kernel.exception.SystemException {\r
+ return getService()\r
+ .getOrganizationEntries(organizationId, displayDate, status,\r
+ start, end, obc);\r
+ }\r
+\r
+ public static int getOrganizationEntriesCount(long organizationId,\r
+ java.util.Date displayDate, int status)\r
+ throws com.liferay.portal.kernel.exception.SystemException {\r
+ return getService()\r
+ .getOrganizationEntriesCount(organizationId, displayDate,\r
+ status);\r
+ }\r
+\r
+ public static void subscribe(long userId, long groupId)\r
+ throws com.liferay.portal.kernel.exception.PortalException,\r
+ com.liferay.portal.kernel.exception.SystemException {\r
+ getService().subscribe(userId, groupId);\r
+ }\r
+\r
+ public static void unsubscribe(long userId, long groupId)\r
+ throws com.liferay.portal.kernel.exception.PortalException,\r
+ com.liferay.portal.kernel.exception.SystemException {\r
+ getService().unsubscribe(userId, groupId);\r
+ }\r
+\r
+ public static void updateAsset(long userId,\r
+ com.liferay.portlet.blogs.model.BlogsEntry entry,\r
+ long[] assetCategoryIds, java.lang.String[] assetTagNames,\r
+ long[] assetLinkEntryIds)\r
+ throws com.liferay.portal.kernel.exception.PortalException,\r
+ com.liferay.portal.kernel.exception.SystemException {\r
+ getService()\r
+ .updateAsset(userId, entry, assetCategoryIds, assetTagNames,\r
+ assetLinkEntryIds);\r
+ }\r
+\r
+ public static com.liferay.portlet.blogs.model.BlogsEntry updateEntry(\r
+ long userId, long entryId, java.lang.String title,\r
+ java.lang.String description, java.lang.String content,\r
+ int displayDateMonth, int displayDateDay, int displayDateYear,\r
+ int displayDateHour, int displayDateMinute, boolean allowPingbacks,\r
+ boolean allowTrackbacks, java.lang.String[] trackbacks,\r
+ boolean smallImage, java.lang.String smallImageURL,\r
+ java.lang.String smallImageFileName,\r
+ java.io.InputStream smallImageInputStream,\r
+ com.liferay.portal.service.ServiceContext serviceContext)\r
+ throws com.liferay.portal.kernel.exception.PortalException,\r
+ com.liferay.portal.kernel.exception.SystemException {\r
+ return getService()\r
+ .updateEntry(userId, entryId, title, description, content,\r
+ displayDateMonth, displayDateDay, displayDateYear, displayDateHour,\r
+ displayDateMinute, allowPingbacks, allowTrackbacks, trackbacks,\r
+ smallImage, smallImageURL, smallImageFileName,\r
+ smallImageInputStream, serviceContext);\r
+ }\r
+\r
+ public static void updateEntryResources(\r
+ com.liferay.portlet.blogs.model.BlogsEntry entry,\r
+ java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)\r
+ throws com.liferay.portal.kernel.exception.PortalException,\r
+ com.liferay.portal.kernel.exception.SystemException {\r
+ getService()\r
+ .updateEntryResources(entry, groupPermissions, guestPermissions);\r
+ }\r
+\r
+ public static com.liferay.portlet.blogs.model.BlogsEntry updateStatus(\r
+ long userId, long entryId, int status,\r
+ com.liferay.portal.service.ServiceContext serviceContext)\r
+ throws com.liferay.portal.kernel.exception.PortalException,\r
+ com.liferay.portal.kernel.exception.SystemException {\r
+ return getService().updateStatus(userId, entryId, status, serviceContext);\r
+ }\r
+ \r
+ public static com.liferay.portal.kernel.search.Hits search(long companyId,\r
+ long groupId, long userId, long ownerUserId, java.lang.String keywords,\r
+ int start, int end) throws com.liferay.portal.kernel.exception.SystemException {\r
+ return getService()\r
+ .search(companyId, groupId, userId, ownerUserId, keywords,\r
+ start, end);\r
+ }\r
+\r
+ public static com.liferay.portal.kernel.search.Hits searchByDate(long companyId,\r
+ long groupId, long userId, long ownerUserId, java.lang.String keywords,\r
+ int start, int end) throws com.liferay.portal.kernel.exception.SystemException {\r
+ return getService()\r
+ .searchByDate(companyId, groupId, userId, ownerUserId, keywords,\r
+ start, end);\r
+ }\r
+\r
+ public static List<BlogsEntryHeader> getBlogsEntryHeadersByGroupIdList(List<Long> groupIdList)\r
+ throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portal.kernel.exception.PortalException {\r
+ return getService().getBlogsEntryHeadersByGroupIdList(groupIdList);\r
+ }\r
+\r
+ public static BlogsEntryLocalService getService() {\r
+ if (_service == null) {\r
+ _service = (BlogsEntryLocalService)PortalBeanLocatorUtil.locate(BlogsEntryLocalService.class.getName());\r
+\r
+ ReferenceRegistry.registerReference(BlogsEntryLocalServiceUtil.class,\r
+ "_service");\r
+ }\r
+\r
+ return _service;\r
+ }\r
+\r
+ /**\r
+ * @deprecated\r
+ */\r
+ public void setService(BlogsEntryLocalService service) {\r
+ }\r
+\r
+ private static BlogsEntryLocalService _service;\r
+}
\ No newline at end of file